• 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
Re: Xcode 2.1: problem using C++-framework [SOLVED]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Xcode 2.1: problem using C++-framework (From: Felix Franz <email@hidden>)
 >Re: Xcode 2.1: problem using C++-framework [SOLVED] (From: Felix Franz <email@hidden>)

  • Prev by Date: Re: Xcode 2.1: problem using C++-framework [SOLVED]
  • Next by Date: Re: Xcode debugging UI question
  • Previous by thread: Re: Xcode 2.1: problem using C++-framework [SOLVED]
  • Next by thread: Re: No launchable executable
  • Index(es):
    • Date
    • Thread