Open samson-wang opened 8 years ago
I added this to beginning of CMakeLists.txt
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_FORCE_INLINES")
One simple question. I faced with the same problem, added string to CMakeLists.txt. How to install? If just type "luarocks install inn-1.0-0.rockspec" it will clone from git.
luarocks make inn-1.0-0.rockspec
When makefile after cmake preprocessing, get this error message
From this issue, BVLC/caffe/issues/4046 , it seems to be an incompatibility between g++-5.0 and CUDA 7.5.
I'm not familiar with the cmake tool chain. I just add
-D_FORCE_INLINES
to CUDA_NVCC_FLAGS in CMakeCache.txt to solve the compile problem. The diffs as follow.