isl-org / StableViewSynthesis

MIT License
211 stars 34 forks source link

The error when python setup.py build_ext --inplace #19

Open Kingtin opened 2 years ago

Kingtin commented 2 years ago

g++ -pthread -shared -B /home/lab206/anaconda3/envs/pxy/compiler_compat -L/home/lab206/anaconda3/envs/pxy/lib -Wl,-rpath=/home/lab206/anaconda3/envs/pxy/lib -Wl,--no-as-needed -Wl,--sysroot=/ /home/lab206/lab206/king/Code/StableViewSynthesis/ext/mytorch/build/temp.linux-x86_64-3.8/ext_cuda.o /home/lab206/lab206/king/Code/StableViewSynthesis/ext/mytorch/build/temp.linux-x86_64-3.8/ext_kernel.o -L/home/lab206/anaconda3/envs/pxy/lib/python3.8/site-packages/torch/lib -L/usr/local/cuda/lib64 -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda -o build/lib.linux-x86_64-3.8/ext_cuda.cpython-38-x86_64-linux-gnu.so g++: error: /home/lab206/lab206/king/Code/StableViewSynthesis/ext/mytorch/build/temp.linux-x86_64-3.8/ext_kernel.o: no such file or directory error: command 'g++' failed with exit status 1

Asherchi commented 2 years ago

you can install a higher version of gcc