2011/8/22 Patrick Gampp <hr...@gmx.de>: > Hi all, > I did some cmake projects on MacOSX with the Xcode-generator and everything > works fine. > > But when I use the unix makefiles cmake generator, my projects cannot > correctly be built. > I tried to build a minimal example from the cmake Tutorial, where step1 works > but step 2 does not. > > I get the following error (which is the same, when I try to build my projects > with make) for Tutorial/step2: > > --- > mac151:mac32 gmp$ make > Scanning dependencies of target MathFunctions > [ 50%] Building CXX object > MathFunctions/CMakeFiles/MathFunctions.dir/mysqrt.cxx.o > Linking CXX static library libMathFunctions.a > Error running link command: Bus error
Looks like a linker error not a cmake one. You could run make VERBOSE=1 in order to see the command which is failing. Does the same project work on a another platform like some linux box? (using the makefile generator). -- Erk Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org _______________________________________________ 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