Undefined symbols for architecture x86_64:
"_luaL_checknumber", referenced from:
matting_laplacian(lua_State*) in tmpxft_000037a4_00000000-16_cuda_utils.o
smooth_local_affine(lua_State*) in tmpxft_000037a4_00000000-16_cuda_utils.o
"_luaL_error", referenced from:
checkCudaError(lua_State*) in tmpxft_000037a4_00000000-16_cuda_utils.o
matting_laplacian(lua_State*) in tmpxft_000037a4_00000000-16_cuda_utils.o
smooth_local_affine(lua_State*) in tmpxft_000037a4_00000000-16_cuda_utils.o
"_luaL_openlib", referenced from:
_luaopen_libcuda_utils in tmpxft_000037a4_00000000-16_cuda_utils.o
"_lua_call", referenced from:
getCutorchState(lua_State*) in tmpxft_000037a4_00000000-16_cuda_utils.o
matting_laplacian(lua_State*) in tmpxft_000037a4_00000000-16_cuda_utils.o
smooth_local_affine(lua_State*) in tmpxft_000037a4_00000000-16_cuda_utils.o
"_lua_getfield", referenced from:
getCutorchState(lua_State*) in tmpxft_000037a4_00000000-16_cuda_utils.o
matting_laplacian(lua_State*) in tmpxft_000037a4_00000000-16_cuda_utils.o
smooth_local_affine(lua_State*) in tmpxft_000037a4_00000000-16_cuda_utils.o
"_lua_settop", referenced from:
getCutorchState(lua_State*) in tmpxft_000037a4_00000000-16_cuda_utils.o
matting_laplacian(lua_State*) in tmpxft_000037a4_00000000-16_cuda_utils.o
smooth_local_affine(lua_State*) in tmpxft_000037a4_00000000-16_cuda_utils.o
"_lua_touserdata", referenced from:
getCutorchState(lua_State*) in tmpxft_000037a4_00000000-16_cuda_utils.o
matting_laplacian(lua_State*) in tmpxft_000037a4_00000000-16_cuda_utils.o
smooth_local_affine(lua_State*) in tmpxft_000037a4_00000000-16_cuda_utils.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: *** [libcuda_utils.so] Error 1
someone help me!