JIC-CSB / kilombo

Kilobot simulator in C
Other
44 stars 16 forks source link

Installation fails on OSX Sierra #39

Closed PtotheP closed 8 years ago

PtotheP commented 8 years ago

I'm trying to install kilombo on my Mac. But during make install the following error occurs:

[ 96%] Building C object src/tests/CMakeFiles/check_skilobot.dir/__/neighbors.c.o
[100%] Linking C executable check_skilobot
Undefined symbols for architecture x86_64:
  "_bot_sq_dist", referenced from:
      _update_interactions in skilobot.c.o
      _update_interactions_grid in neighbors.c.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
src/tests/CMakeFiles/check_skilobot.dir/build.make:172: recipe for target 'src/tests/check_skilobot' failed
make[2]: *** [src/tests/check_skilobot] Error 1
CMakeFiles/Makefile2:181: recipe for target 'src/tests/CMakeFiles/check_skilobot.dir/all' failed
make[1]: *** [src/tests/CMakeFiles/check_skilobot.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
mrmh2 commented 8 years ago

This should be fixed in the latest commit.