Hi Richard,
I have set it to i386.
I have Xcode 3.1 installed year ago to bootstrap macports.
I never use it!
This problems for example are caused that my gcc47 compiler is used to
compile objectc++, but it is not build to do this!
All this errors are have the this kind of reason, none of them is
caused from ninja.
And without ninja, I have more trouble as I want.
see http://open.cdash.org/viewTest.php?onlyfailed&buildid=2312582
// Regards
Claus
Run Build Command:/opt/local/bin/ninja
[1/2] Building CXX object CMakeFiles/ObjC++.dir/objc++.mm.o
FAILED: /opt/local/bin/c++ -MMD -MT CMakeFiles/ObjC++.dir/objc+
+.mm.o -MF CMakeFiles/ObjC++.dir/objc++.mm.o.d -o CMakeFiles/ObjC+
+.dir/objc++.mm.o -c /Users/clausklein/Downloads/cmake/Tests/ObjC++/
objc++.mm
/Users/clausklein/Downloads/cmake/Tests/ObjC++/objc++.mm:1:21: fatal
error: iostream.h: No such file or directory
compilation terminated.
ninja: build stopped: subcommand failed.
#############################################
Run Build Command:/opt/local/bin/ninja
[1/4] Building C object CMakeFiles/foo.dir/foo.c.o
[2/4] Linking C static library libfoo.a
[3/4] Building C object CMakeFiles/bar.dir/bar.c.o
FAILED: /opt/local/bin/gcc -arch ppc -isysroot /Developer/SDKs/
MacOSX10.5.sdk -MMD -MT CMakeFiles/bar.dir/bar.c.o -MF CMakeFiles/
bar.dir/bar.c.o.d -o CMakeFiles/bar.dir/bar.c.o -c /Users/clausklein/
Downloads/cmake/Tests/Architecture/bar.c
gcc: error: unrecognized option '-arch'
ninja: build stopped: subcommand failed.
########################################
On 27.05.2012, at 15:06, Richard Wackerbarth wrote:
The first thing that I notice is that you do not seem to have Xcode
4 installed.
Since your compiler does not handle ppc code, you need to set
CMAKE_OSX_ARCHITECTURES to keep your compiler happy.
Also, I readily cannot tell from the dashboard if you are using
ninja. Please use Unix makefiles first so that we can sort out
problems related to your compiler installation. Then, once you have
those issues addressed, we can take a look at ninja.
Richard
On May 27, 2012, at 7:21 AM, Claus Klein wrote:
I have uploaded my test result:
http://open.cdash.org/viewTest.php?onlyfailed&buildid=2312336
Claus
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake