yun-liu / RCF

Richer Convolutional Features for Edge Detection
Other
753 stars 259 forks source link

Error while building caffe #69

Open aditipanda opened 5 years ago

aditipanda commented 5 years ago

sudo make gives:

NVCC src/caffe/layers/prelu_layer.cu /usr/lib/gcc/x86_64-linux-gnu/4.9/include/avx512fintrin.h(3628): error: identifier "__builtin_ia32_pbroadcastq512_mem_mask" is undefined

/usr/lib/gcc/x86_64-linux-gnu/4.9/include/avx512fintrin.h(3643): error: identifier "__builtin_ia32_pbroadcastq512_mem_mask" is undefined

/usr/lib/gcc/x86_64-linux-gnu/4.9/include/avx512fintrin.h(3659): error: identifier "__builtin_ia32_pbroadcastq512_mem_mask" is undefined

3 errors detected in the compilation of "/tmp/tmpxft_000071d0_00000000-8_prelu_layer.compute_50.cpp1.ii". Makefile:576: recipe for target '.build_release/cuda/src/caffe/layers/prelu_layer.o' failed make: *** [.build_release/cuda/src/caffe/layers/prelu_layer.o] Error 1

I have tried everything. Please help.

yun-liu commented 5 years ago

Sorry, but I have not encountered this problem. Have you installed cuda on your computer? Before you build RCF, please make sure you can build the standard Caffe. Maybe you can follow these tips to install Caffe: http://caffe.berkeleyvision.org/install_apt.html, http://caffe.berkeleyvision.org/installation.html and https://blog.csdn.net/xuzhongxiong/article/details/52717285.