Problems building Powerplant lib
Problems building Powerplant lib
- Subject: Problems building Powerplant lib
- From: Kurt Spaker <email@hidden>
- Date: Thu, 23 Mar 2006 10:58:35 -0500
- Organization: Asar Corporation
Hello,
I've just begun the conversion from CodeWarrior to XCode. I have two projects
to convert, a PowerPlant app, and a newer HIView-based app.
To start I'm trying to build a static PowerPlant library. I've both created a
new project from scratch, and attempted to import a CodeWarrior project for
this. Despite following Apple's instructions on how to build Powerplant in
XCode, neither works.
My first question has to do with header search paths. The imported project
didn't have any. As a result no system headers could be found, even though
they are located within the designated SDK, MacOSX10.4u.sdk. In order for
headers to be found, and NOT in some wacky location like the wx-2.5 folder, I
had to use the following header search paths:
/Developer/Headers/FlatCarbon/**
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/**
/Developer/SDKs/MacOSX10.4u.sdk/usr/include
$(HEADER_SEARCH_PATHS)
Does this look reasonable? Necessary? What exactly does
$(HEADER_SEARCH_PATHS) mean and why is it there?
Secondly, now that I no longer get all those "file not found" errors
precompiling the prefix file, I get an error precompiling <exception>,
included from LException.h. Specifically:
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/exception:42: error:
parse error before string constant
Which refers to the line: extern "C++" {
Any ideas why this won't compile?
Kurt
_______________________________________________
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