• 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: Using Boost C++ library in Xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using Boost C++ library in Xcode


  • Subject: Re: Using Boost C++ library in Xcode
  • From: apparao <email@hidden>
  • Date: Mon, 17 Sep 2007 18:49:29 +0530

I too facing the same problem with POCO library. Here is my problem:

I am trying to build my application in Release mode. I have specified correct header search paths and library search paths.

When i include any Poco file in my C++ file like #include "Poco/ DateTime.h". Compiler throws error like "error: Poco/DateTime.h: No such file or directory"

Why compiler throws this error, if i provide valid user header search paths?.


Thanks & Regards, - Apparao.





On 16-Sep-07, at 7:45 PM, Ivan C Myrvold wrote:

I built Boost on both an Intel Mac and an older PPC Mac, and used lipo to make universal binary of the Boost Library. Now it works and compiles properly.
Thank you guys in this forum which helped me along!


Ivan

Den 14. sep. 2007 kl. 10:55 skrev Paul Walmsley:


Ok, I am changing "Cross-Develop Using Target SDK" to "Current Mac OS". But it still fails.
This isn't the problem -- you can only produce a universal binary of your program if all the libraries that you link against are also universal binaries. So you need to somehow produce a UB version of your boost library. You can produce separate i386 and ppc versions using boost's 'make' script and glue them together, or create a new library project in xcode for boost that will do all this for you. Changing the SDK is necessary, but not sufficient!

Paul


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40effigent.net


This email sent to email@hidden


_______________________________________________ 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
  • Follow-Ups:
    • Re: Using Boost C++ library in Xcode
      • From: Thomas Engelmeier <email@hidden>
    • Re: Using Boost C++ library in Xcode
      • From: David Dunham <email@hidden>
References: 
 >Using Boost C++ library in Xcode (From: Ivan C Myrvold <email@hidden>)
 >Re: Using Boost C++ library in Xcode (From: apparao <email@hidden>)
 >Re: Using Boost C++ library in Xcode (From: Ivan C Myrvold <email@hidden>)
 >Re: Using Boost C++ library in Xcode (From: Paul Walmsley <email@hidden>)
 >Re: Using Boost C++ library in Xcode (From: Paul Walmsley <email@hidden>)
 >Re: Using Boost C++ library in Xcode (From: Ivan C Myrvold <email@hidden>)

  • Prev by Date: Re: display of variables
  • Next by Date: Re: Using Boost C++ library in Xcode
  • Previous by thread: Re: Using Boost C++ library in Xcode
  • Next by thread: Re: Using Boost C++ library in Xcode
  • Index(es):
    • Date
    • Thread