|
Boost Users : |
From: Jaime Rios (jrios_at_[hidden])
Date: 2006-09-12 16:25:47
Hi folks,
I didn't see my post appear on the list, so I will post it again...
This might be a silly question, or one that has already been
addressed in the past, but here goes anyway. I have Xcode 2.4 and
recently, I had to compile a static library for Universal code. I had
to install the 10.2.8 Mac OS X sdk and when I went to compile my
library, I got 66 errors :( Here is the first error I saw:
from /Users/me/Documents/development/CPP/FMPlugIns/
FM85/FMPlugInSDK/plugin_u/Source/FMPlugInExample.cpp:41:
from ../Libraries/FMWrapper.framework/Headers/
FMXTypes.h:15,
from ../Libraries/FMWrapper.framework/Headers/
FMXClient.h:15,
from /Developer/SDKs/MacOSX10.2.8.sdk/usr/include/
gcc/darwin/3.3/c++/stdexcept:45,
from /Developer/SDKs/MacOSX10.2.8.sdk/usr/
include/gcc/darwin/3.3/c++/string:47,
from /Developer/SDKs/MacOSX10.2.8.sdk/usr/
include/gcc/darwin/3.3/c++/bits/char_traits.h:46,
from /Developer/SDKs/MacOSX10.2.8.sdk/usr/
include/gcc/darwin/3.3/c++/bits/fpos.h:45,
from /Users/jaimerios/Documents/development/
cpp/Tools/boost_1_33_1/boost/compatibility/cpp_c_headers/cwchar:8,
from /usr/include/wchar.h:71,
from /usr/include/_types.h:27,
from /usr/include/sys/_types.h:27,
In file included from /usr/include/machine/_types.h:26,
/usr/include/ppc/_types.h:73: error: conflicting types
for `typedef union __mbstate_t __mbstate_t'
The last error is the interesting one. I am assuming that the Boost
sdk is forcing my compiler to look in the /usr/include path for the
string header file instead of the Mac OS X 10.2.8 sdk path. Is this
assumption correct? If so, how do I correct this problem?
-Jaime
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net