Thank you. After some more looking, my headers
not found problem is caused by a subtle incorrectly spelled path: On OSX, while running CMake-GUI CMAKE_OSX_SYSROOT is always /Develeper/SDKs/MacOSX10.4u.sdk Notice the incorrect spelling ‘Develeper’ instead of
Developer. Nor does this erroneous directory exist. I correct the spelling but after pressing ‘Configure’, it
switches back. Moreover, this directory, misspelled or not, does not exist
when I type ‘set’ or ‘env’ in a command line. I also uninstalled, restarted,
and reinstalled Xcode. Where in OSX or CMake can I correct this behavior? Thanks No response from the CMake or xCode
mailing list yet. From: Abe Stephens
[mailto:
This problem was reported on the mailing list earlier in the summer. I
believe the user partially installed the OSX development tools from a web
download, instead of installing from the original media, then reinstalled from
several different sources causing some type of configuration problem. Many people around here use Manta on OSX on a daily basis so we're
pretty sure it builds ;-) Abe On Sep 9, 2008, at 3:19 PM, J. Davison de St. Germain wrote:
Your compiler 'must' know where its own
include (basic/default) files are. If the compiler can't find 'string',
then there is an error in the way it was configured/installed. 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
-- ----------------------------------------------------------------------- - J. Davison de St. Germain
">
(801) 581-4078 - - Chief Software Engineer http://www.cs.utah.edu/~dav - - SCI Institute, SE C-SAFE ----------------------------------------------------------------------- |
Archive powered by MHonArc 2.6.16.