Re: Xcode 2.1: problem using C++-framework [SOLVED]
Re: Xcode 2.1: problem using C++-framework [SOLVED]
- Subject: Re: Xcode 2.1: problem using C++-framework [SOLVED]
- From: Chris Espinosa <email@hidden>
- Date: Tue, 2 Aug 2005 10:39:52 -0700
On Aug 2, 2005, at 7:59 AM, Felix Franz wrote: if I create a new C++-Tool in Xcode with the file above referencing our Boost-framework the resulting program crashes with a SIGBUS in boost's signal code.
Building the program on the command-line using the following g++ invocation:
g++ main.cpp -F/Users/felix/Documents/Subversion/GuiDance/trunk/Frameworks/Deployment -framework Boost
results in a working program! Do I have to change the Build-settings in the Xcode project? If so, how?
Unchecking "Symbols hidden by default" (-fvisibility=hidden) in the C++ Tool build-settings solved the problem. Shouldn't the linker emit a warning or an error?
If you are building with the Debug (or Development) build configuration provided by the C++ project template, you are probabbly using the ZeroLink feature of Xcode that is useful for rapid turnaround while debugging a working application, but less useful for bringing up your project the first time. Always try a Release (or Deployment) build to explicitly see link errors.
Chris |
_______________________________________________
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