2010/11/5 Andreas Höschler <[email protected]>: > 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 protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
