Open Menu
Close Menu
Apple
Shopping Bag
Apple
Mac
iPad
iPhone
Watch
TV
Music
Support
Search apple.com
Shopping Bag
Lists
Open Menu
Close Menu
Terms and Conditions
Lists hosted on this site
Email the Postmaster
Tips for posting to public mailing lists
cmake vs Xcode linking
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
cmake vs Xcode linking
Subject
:
cmake vs Xcode linking
From: Tony Sheh <
email@hidden
>
Date: Tue, 6 Nov 2007 10:18:55 -0500
Hello,
I'm using Xcode 2.4.1 to built several projects each of which builds a static library. Some of these projects have inter-dependencies (i.e. one project requires creates objects using definitions in a static library formed from another project). When i use Xcode to generate these libraries, upon building an application with my library/libraries, everything compiles fine and the app runs as expected.
In order to run on our computing cluster, we have to use UNIX-style compilation, so we have started to use CMake. Locally, CMake successfully compiles all my static libraries, and also successfully compiles my application, which runs as expected.
The issue i'm running up against is that when i link against the libraries that CMake has compiled in Xcode to compile my application, it is as though the libraries don't contain anything (the specific error is "Undefined symbols" in basically every object that i create). Furthermore, when i use cmake -G Xcode to generate the same libraries, the same observations hold true. I'm really confused as to how this could be occuring - is there something special in the way that Xcode generates static libraries in some cases?
Any insight into this issue is appreciated! I can supply more information about the problem if needed.
Tony
_______________________________________________
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
Prev by Date:
'Introspection dylib not loaded' message?
Next by Date:
NSString bindings are one-way in Xcode 3.0
Previous by thread:
Re: 'Introspection dylib not loaded' message?
Next by thread:
NSString bindings are one-way in Xcode 3.0
Index(es):
Date
Thread