Open jamiltron opened 8 years ago
Thanks! Do you know what compiler and version this is?
Sorry, I have no idea what happened there - it didn't work for me either! Should be fixed now!
make
Undefined symbols for architecture x86_64: "_luaL_register", referenced from: _openclskmMat3 in lkazmath.c.o _opencls__kmRay2 in lkazmath.c.o _openclskmRay3 in lkazmath.c.o _openclskmQuaternion in lkazmath.c.o _opencls__kmMat4 in lkazmath.c.o _openclskmAABB2 in lkazmath.c.o _openclskmPlane in lkazmath.c.o ... "_lua_objlen", referenced from: _lua__kmMat3NewWithArray in lkazmath.c.o _luakmMat4NewWithArray in lkazmath.c.o _luakmMat3Fill in lkazmath.c.o _lua__kmMat4Fill in lkazmath.c.o _luacis_array in lkazmath.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) make[2]: * [lua/liblkazmath.dylib] Error 1 make[1]: * [lua/CMakeFiles/lkazmath.dir/all] Error 2 make: *\ [all] Error 2
Hmm, that's odd... I've just acquired a (broken) Macbook so I'll see if I can get it running and figure this out. For now you can disable building the lua bindings with:
cmake -DKAZMATH_BUILD_LUA_WRAPPER=off ..
And that should make things compile for now.
Thanks. Let me know if there's anyway I can help out. Unfortunately I am not very knowledgable with CMake, which it seems like may be the issue here.
Steps to reproduce:
produces: