luanfujun / deep-photo-styletransfer

Code and data for paper "Deep Photo Style Transfer": https://arxiv.org/abs/1703.07511
9.99k stars 1.41k forks source link

Problem with libcuda_utils.so #57

Open aoitechs opened 7 years ago

aoitechs commented 7 years ago

someone help me!

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