BVLC / caffe

Caffe: a fast open framework for deep learning.
http://caffe.berkeleyvision.org/
Other
34.01k stars 18.71k forks source link

Build Error with caffe / cuda when trying to build openpose. #6896

Open nagol3 opened 4 years ago

nagol3 commented 4 years ago

I keep getting the following error when trying to build after running configure and generate on CMake. Running the build command in the terminal yields this error:

make[5]: *** [src/caffe/CMakeFiles/cuda_compile.dir/util/cuda_compile_generated_math_functions.cu.o] Error 1 CMakeFiles/Makefile2:235: recipe for target 'src/caffe/CMakeFiles/caffe.dir/all' failed make[4]: *** [src/caffe/CMakeFiles/caffe.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make[3]: *** [all] Error 2 CMakeFiles/openpose_lib.dir/build.make:110: recipe for target 'caffe/src/openpose_lib-stamp/openpose_lib-build' failed make[2]: *** [caffe/src/openpose_lib-stamp/openpose_lib-build] Error 2 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/openpose_lib.dir/all' failed make[1]: *** [CMakeFiles/openpose_lib.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2

HongChow commented 3 years ago

I keep getting the following error when trying to build after running configure and generate on CMake. Running the build command in the terminal yields this error:

make[5]: *** [src/caffe/CMakeFiles/cuda_compile.dir/util/cuda_compile_generated_math_functions.cu.o] Error 1 CMakeFiles/Makefile2:235: recipe for target 'src/caffe/CMakeFiles/caffe.dir/all' failed make[4]: *** [src/caffe/CMakeFiles/caffe.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make[3]: *** [all] Error 2 CMakeFiles/openpose_lib.dir/build.make:110: recipe for target 'caffe/src/openpose_lib-stamp/openpose_lib-build' failed make[2]: *** [caffe/src/openpose_lib-stamp/openpose_lib-build] Error 2 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/openpose_lib.dir/all' failed make[1]: *** [CMakeFiles/openpose_lib.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2

the same as yours, how to slove?