commontk/CTK — Issue #137: Configure fails for Mac using gcc 4.6
Author: AndreasFetzer
Created: 2012-02-08 15:49:04+00:00
State: open

Hi,

I tried to build CTK on Mac OS X Lion using gcc 4.6. I get the following configure error:

CMake Error at CMakeLists.txt:631 (message):
Failed to compile DGraph application.

Change Dir: /Users/Andi/Desktop/Arbeit/ctk_bin/Utilities/DGraph

Run Build Command:/usr/bin/make

[ 50%] Building CXX object CMakeFiles/DGraph.dir/DGraph.cpp.o

g++-mp-4.6: error: x86_64: No such file or directory

g++-mp-4.6: error: unrecognized option '-arch'

make[2]: *** [CMakeFiles/DGraph.dir/DGraph.cpp.o] Error 1

make[1]: *** [CMakeFiles/DGraph.dir/all] Error 2

make: *** [all] Error 2

Any ideas?

Thanks
Andreas