Linker problems
Linker problems
- Subject: Linker problems
- From: Daimen Duncan <email@hidden>
- Date: Sun, 12 Nov 2006 23:02:18 -0500
I have been trying to port some code from Windows to Mac. The code
is mostly cross platform, but of course there are differences between
the Visual Studio projects and compiler and Xcode/gcc. I've managed
to get the code to compile, but I'm having problems linking.
Basically I'm confused about how the xcode projects are supposed to
be set up. I have a project with several dependencies. I have a
target which is a dynamic library. I have added the projects of the
dependencies as dependencies of the target. However, in order to get
it to link correctly, it seems I have to actually add the paths to
the lib files manually to the target as well. Shouldn't the compiler
be able to figure this out? And, because I'm trying to build
universal binaries, the lib files end up in separate directories
corresponding to architecture. Do I have to create a separate target
for each architecture so I can add the lib paths? Do I really have
to manually set all these paths, or is there some automation I'm
missing out on because my projects aren't properly set up?
Thanks,
~Duncan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden