Open SiyuWang15 opened 6 years ago
@Ykimy I solved the problem with a temporary solution. Comment last three lines in make.sh temporarily. Run the command which returns the error by replacing the "-R" with "-Wl,-rpath=". Then, you can run comment lines manually, which are just additional operations for cleaning temporary files.
I failed when running
and the error is: g++ -pthread -shared -B /home/siyu/anaconda3/compiler_compat -L/home/siyu/anaconda3/lib -Wl,-rpath=/home/siyu/anaconda3/lib,--no-as-needed build/temp.linux-x86_64-3.6/nms_kernel.o build/temp.linux-x86_64-3.6/gpu_nms.o -L/usr/local/cuda/lib64 -L/home/siyu/anaconda3/lib -R/usr/local/cuda/lib64 -lcudart -lpython3.6m -o /home/siyu/text-detection-ctpn/lib/utils/utils/gpu_nms.cpython-36m-x86_64-linux-gnu.so g++: error: unrecognized command line option ‘-R’ error: command 'g++' failed with exit status 1
I wonder whether anyone have similar problems?