caffe icon indicating copy to clipboard operation
caffe copied to clipboard

recipe for target 'src/caffe/CMakeFiles/caffe.dir/all' failed

Open b03201003 opened this issue 9 years ago • 3 comments

Operating system:ubuntu workstation Compiler:gcc (Ubuntu 5.4.1-2ubuntu1~16.04) 5.4.1

Hi~ I've done the 'cmake' after I installed BLAS. However, I got some error message when doing 'make' : "3 errors detected in the compilation of "/tmp/tmpxft_0000258d_00000000-4_tile_layer.cpp4.ii". CMake Error at cuda_compile_generated_tile_layer.cu.o.cmake:266 (message): Error generating file /home/..(my path).../src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_tile_layer.cu.o

src/caffe/CMakeFiles/caffe.dir/build.make:552: recipe for target 'src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_tile_layer.cu.o' failed make[2]: *** [src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_tile_layer.cu.o] Error 1 CMakeFiles/Makefile2:272: recipe for target 'src/caffe/CMakeFiles/caffe.dir/all' failed make[1]: *** [src/caffe/CMakeFiles/caffe.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2"

I'm a beginner for computer programming , and any help will be appreciated. Thanks!

b03201003 avatar Nov 11 '17 08:11 b03201003

Hallo! I met the same issue just now, so have you already solved it? If yes, how should I do ? Thx!

AilvenLIU avatar Dec 17 '17 15:12 AilvenLIU

Hello, have you solved the problem?I also encountered it, I would appreciate it if you tell me how to do,thanks a lot

Lynnee123 avatar Feb 07 '18 03:02 Lynnee123

@Lynnee123 I have solved this problem with installing caffe-gpu in a new method. If you have learn Chinese, this blog may help you, which I following.

AilvenLIU avatar Feb 09 '18 14:02 AilvenLIU