smealum / SPACECRAFT

SPACECRAFT
53 stars 2 forks source link

Compilation error #2

Closed ColasV closed 10 years ago

ColasV commented 10 years ago

I got the following error when I'm trying to compile on OS X, any idea ?

[ 97%] Building CXX object CMakeFiles/caves.dir/tests/caves.cpp.o Linking CXX executable ../bin/caves Undefined symbols for architecture x86_64: "CaveGenerator::generate()", referenced from: _main in caves.cpp.o "CaveGenerator::CaveGenerator()", referenced from: _main in caves.cpp.o "CaveGenerator::~CaveGenerator()", referenced from: _main in caves.cpp.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: * [../bin/caves] Error 1 make[1]: * [CMakeFiles/caves.dir/all] Error 2 make: *\ [all] Error 2

posva commented 10 years ago

It's a test!. spacecraft compiled just before If you want to compile the test do a cmake .. again and then make It's on the readme