Re: Using Boost C++ library in Xcode
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