You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When makefile after cmake preprocessing, get this error message
/usr/include/string.h: In function ‘void* __mempcpy_inline(void*, const void*, size_t)’:
/usr/include/string.h:652:42: error: ‘memcpy’ was not declared in this scope
return (char *) memcpy (__dest, __src, __n) + __n;
^
CMake Error at inn_generated_SpatialStochasticPooling.cu.o.cmake:267 (message):
Error generating file
/home/samson/Repo/imagine-nn/build/CMakeFiles/inn.dir//./inn_generated_SpatialStochasticPooling.cu.o
CMakeFiles/inn.dir/build.make:70: recipe for target 'CMakeFiles/inn.dir/inn_generated_SpatialStochasticPooling.cu.o' failed
make[2]: *** [CMakeFiles/inn.dir/inn_generated_SpatialStochasticPooling.cu.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/inn.dir/all' failed
make[1]: *** [CMakeFiles/inn.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
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.
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.
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.The text was updated successfully, but these errors were encountered: