On OS X, I successfully used Cmake to generate command line
make file. When I build the project via ‘make’, the build system
doesn’t know where is #include <string> in About.h This is illustrated by this error: In file included from
/Users/Bo/SVN/Manta/build/src/About.cc:29: /Users/Bo/SVN/Manta/Core/Util/About.h:33:18: error: string:
No such file or directory I have located the header ‘string’ to be in
/usr/include/c++/4.0.0 on my machine. How and where can I insert this include
path into the CMake build process? I have set those flags (all used to be blank) in the CMake gui
to be /usr/include/c++/4.0.0: COMPILER_LIBRARY_PATH THIRD_PARTY_INCLUDE_PATH THIRD_PARTY_LIBRARY_PATH But it doesn’t help. My command line compilation is
still: /usr/bin/c++ isysroot /Developer/SDKs/MacOSX10.4u.sdk –Wall
–Wno-strict-aliasing –fPIC –march=Nocona –mtune=Nocona –msse
–msse2 –msse3 –mfpmath=sse -03 –DNDEBUG –g3 –fgcse-sm
–funroll-loops –fstrict-aliasing –fsched-interblock –freorder-blocks
–I/Users/Bo/SVN/MantaRay_remote –I/Users/Bo/SVN/MantaRay_remote/build/include
–I/usr/X11R6/include –fPIC –o CMakeFiles/About.dir/src/About.o
–c /Users/Bo/SVN/Manta/build/src/About.cc Please let me know if I should ask OSX groups or CMake
groups. Thanks |
Archive powered by MHonArc 2.6.16.