JialianW/TraDeS

make.sh error

Opened this issue · 6 comments

error: command 'g++' failed with exit status 1

I am also face the problem,can anyone solve it?

E:\ProgramData\Anaconda3\envs\ganggang\pythonProject\test\TraDeS-master\src\lib\model\networks\DCNv2\src\cpu\dcn_v2_im2col_cpu.cpp : fatal error C1083: Cannot open compiler generated file: '': Invalid argument error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 1

sudo apt-get install build-essential

Please make sure the gcc version is compatible, as described in installation instrctions.

I am working with gcc 8.4.0 as mentioned in the documentation
but the make give me this error

fatal error: cublas_v2.h: No such file or directory
#include <cublas_v2.h>
compilation terminated.
error: command '/usr/local/cuda/bin/nvcc' failed with exit status 1

For the DCN compilation issue, you may refer to #2, if it still doesn't work after you ensure the GCC version is all set.