Re: Frameworks not found
Re: Frameworks not found
- Subject: Re: Frameworks not found
- From: Kyle Sluder <email@hidden>
- Date: Fri, 5 Nov 2010 11:55:03 -0700
2010/11/5 Andreas Höschler <email@hidden>:
> Hi all,
> I have simplified the problem and am putting -framework XXX in quotation
> marks now. This helped a bit. But I am now getting:
>
>
> gcc -fnext-runtime -o /Build/SmartLightExec/obj/SmartLightExec \
> /Build/SmartLightExec/obj/SmartLightExec.obj/TCPHandler.m.o
> /Build/SmartLightExec/obj/SmartLightExec.obj/main.m.o
> /Build/SmartLightExec/obj/SmartLightExec.obj/Controller.m.o \
> -F/Library/Frameworks/ -framework AppKit "-framework
> SmartLightFoundation" "-framework SRFoundation" -lSRFoundation
> -lSmartLightFoundation -framework Foundation -lm
> /usr/bin/ld: can't locate file for: -lSRFoundation
>
> Any idea?
>
> ls /Library/Frameworks/SRFoundation.framework/
> Headers Resources SRFoundation Versions
>From my understanding of the ld man page, you shouldn't use -l to
reference framework dylibs. When given -framework Foo, ld
automatically interprets that to mean "link against
Foo.framework/Foo".
Also, this is off-topic for cooca-dev. Tools questions should be asked
on the xcode-users list.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden