wxmac 2.8.7 on OSX10.5 error: 'URefCon' has not been declared
ashishiworx at gmail.com
ashishiworx at gmail.com
Tue Dec 4 10:48:54 PST 2007
Hello,
If I take the xcode project and the code I had with OSX 10.4 and
Xcode 2.x ( which was working fine). and use it with OSX 10.5 and
Xcode 3.0
I get a link error saying :
powerpc-apple-darwin9-g++-4.0.1: /usr/X11R6/lib/libfreetype.a: No such
file or directory
powerpc-apple-darwin9-g++-4.0.1: /usr/X11R6/lib/libGL.a: No such file
or directory
I checked that the file does exist at :
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libfreetype.a
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libGL.a
In my project my base SDK path is: SDKROOT = $(DEVELOPER_SDK_DIR)/
MacOSX10.4u.sdk
if I hardcode the library to:/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/
lib/libGL.a
I get :
ld: cycle in dylib re-exports with /Developer/SDKs/MacOSX10.4u.sdk/usr/
X11R6/lib/libGL.dylib
Any suggestions?.
-ashish
On Dec 1, 12:31 am, cso... at advancedconcepts.ch (Stefan Csomor) wrote:
> Hi
>
> it should be at several places, eg a find gives me :
>
> ./MacOSX10.3.9.sdk/Developer/Headers/CFMCarbon/CarbonCore/MacTypes.h
> ./MacOSX10.3.9.sdk/Developer/Headers/CFMCarbon/MacTypes.h
> ./MacOSX10.3.9.sdk/Developer/Headers/FlatCarbon/MacTypes.h
> ./MacOSX10.3.9.sdk/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers/MacTypes.h
> ./MacOSX10.4u.sdk/Developer/Headers/CFMCarbon/CarbonCore/MacTypes.h
> ./MacOSX10.4u.sdk/Developer/Headers/CFMCarbon/MacTypes.h
> ./MacOSX10.4u.sdk/Developer/Headers/FlatCarbon/MacTypes.h
> ./MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers/MacTypes.h
> ./MacOSX10.5.sdk/Developer/Headers/FlatCarbon/MacTypes.h
> ./MacOSX10.5.sdk/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers/MacTypes.h
>
> Best,
>
> Stefan
>
>
>
>
>
>
>
> ashishiw... at gmail.com wrote:
> > Spotlight did not find it but I can manually find MacTypes.h in
> > Developer/headers/FlatCarbon
>
> > -ashish
>
> > On Nov 30, 3:53 pm, ashishiw... at gmail.com wrote:
>
> >> Hi Stefan,
> >> I just searched on my computer and could not find MacTypes.h
> >> anywhere.
> >> what did I forget to install?.
>
> >> -ashish
>
> >> On Nov 30, 2:44 pm, ashishiw... at gmail.com wrote:
>
> >>> I am using xcode 3.0
>
> >>> is there anything you want me to check/try out?.
>
> >>> Thanks
> >>> -ashish
>
> >>> On Nov 30, 2:15 pm, cso... at advancedconcepts.ch (Stefan Csomor) wrote:
>
> >>>> Hi
>
> >>>> very strange as under 10.5 it is defined in MacTypes.h, did you
> >>>> install XCode 3.0 or are you using XCode 2.5 ?
>
> >>>> Best,
>
> >>>> Stefan
>
> >>>> On 30.11.2007, at 19:40, ashishiw... at gmail.com wrote:
>
> >>>>> Hello,
> >>>>> I just updated my mac to OSX10.5, and now I am getting a compilation
> >>>>> error for: treelistctrl.cpp which include private.h
>
> >>>>> /Users/Shared/Documents/wxMac/include/wx/mac/carbon/private.h:553:
> >>>>> error: 'URefCon' has not been declared
>
> >>>>> The same source code was workingfine with OSX10.4, so it has to be
> >>>>> some setting I forgot to set, unfortunately I have no idea what.
>
> >>>>> Any suggestions?.
>
> >>>>> Thanks
> >>>>> -ashish
>
> >>>>> ---------------------------------------------------------------------
> >>>>> To unsubscribe, e-mail: wx-users-unsubscr... at lists.wxwidgets.org
> >>>>> For additional commands, e-mail: wx-users-h... at lists.wxwidgets.org
>
> >>>> ---------------------------------------------------------------------
> >>>> To unsubscribe, e-mail: wx-users-unsubscr... at lists.wxwidgets.org
> >>>> For additional commands, e-mail: wx-users-h... at lists.wxwidgets.org
>
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: wx-users-unsubscr... at lists.wxwidgets.org
> > For additional commands, e-mail: wx-users-h... at lists.wxwidgets.org
>
> --
>
> Advanced Concepts AG
> Software-Engineering
> Heldweg 10
> CH-8475 Ossingen
> Switzerland
>
> phone:+41 52 245 0 245
> fax:+41 52 245 0 246 http://www.advanced.ch
> mailto:cso... at advanced.ch
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscr... at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-h... at lists.wxwidgets.org
More information about the wx-users
mailing list