Pointnet2_PyTorch icon indicating copy to clipboard operation
Pointnet2_PyTorch copied to clipboard

python setup.py build_ext --inplace

Open ytj-dasd opened this issue 2 years ago • 3 comments

unning build_ext building 'utils._ext' extension Emitting ninja build file /home/ytj/文档/Deep_Learning/RSCNN_Pytorch1.0/build/temp.linux-x86_64-3.6/build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) 1.10.2 g++ -pthread -shared -B /home/ytj/anaconda3/envs/pytorch1_6/compiler_compat -L/home/ytj/anaconda3/envs/pytorch1_6/lib -Wl,-rpath=/home/ytj/anaconda3/envs/pytorch1_6/lib -Wl,--no-as-needed -Wl,--sysroot=/ /home/ytj/文档/Deep_Learning/RSCNN_Pytorch1.0/build/temp.linux-x86_64-3.6/utils/_ext-src/src/group_points.o /home/ytj/文档/Deep_Learning/RSCNN_Pytorch1.0/build/temp.linux-x86_64-3.6/utils/_ext-src/src/sampling.o /home/ytj/文档/Deep_Learning/RSCNN_Pytorch1.0/build/temp.linux-x86_64-3.6/utils/_ext-src/src/bindings.o /home/ytj/文档/Deep_Learning/RSCNN_Pytorch1.0/build/temp.linux-x86_64-3.6/utils/_ext-src/src/interpolate.o /home/ytj/文档/Deep_Learning/RSCNN_Pytorch1.0/build/temp.linux-x86_64-3.6/utils/_ext-src/src/ball_query.o /home/ytj/文档/Deep_Learning/RSCNN_Pytorch1.0/build/temp.linux-x86_64-3.6/utils/_ext-src/src/sampling_gpu.o /home/ytj/文档/Deep_Learning/RSCNN_Pytorch1.0/build/temp.linux-x86_64-3.6/utils/_ext-src/src/group_points_gpu.o /home/ytj/文档/Deep_Learning/RSCNN_Pytorch1.0/build/temp.linux-x86_64-3.6/utils/_ext-src/src/ball_query_gpu.o /home/ytj/文档/Deep_Learning/RSCNN_Pytorch1.0/build/temp.linux-x86_64-3.6/utils/_ext-src/src/interpolate_gpu.o -L/home/ytj/anaconda3/envs/pytorch1_6/lib/python3.6/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.6/utils/_ext.cpython-36m-x86_64-linux-gnu.so g++: error: /home/ytj/文档/Deep_Learning/RSCNN_Pytorch1.0/build/temp.linux-x86_64-3.6/utils/_ext-src/src/group_points.o: 没有那个文件或目录 g++: error: /home/ytj/文档/Deep_Learning/RSCNN_Pytorch1.0/build/temp.linux-x86_64-3.6/utils/_ext-src/src/sampling.o: 没有那个文件或目录 g++: error: /home/ytj/文档/Deep_Learning/RSCNN_Pytorch1.0/build/temp.linux-x86_64-3.6/utils/_ext-src/src/bindings.o: 没有那个文件或目录 g++: error: /home/ytj/文档/Deep_Learning/RSCNN_Pytorch1.0/build/temp.linux-x86_64-3.6/utils/_ext-src/src/interpolate.o: 没有那个文件或目录 g++: error: /home/ytj/文档/Deep_Learning/RSCNN_Pytorch1.0/build/temp.linux-x86_64-3.6/utils/_ext-src/src/ball_query.o: 没有那个文件或目录 g++: error: /home/ytj/文档/Deep_Learning/RSCNN_Pytorch1.0/build/temp.linux-x86_64-3.6/utils/_ext-src/src/sampling_gpu.o: 没有那个文件或目录 g++: error: /home/ytj/文档/Deep_Learning/RSCNN_Pytorch1.0/build/temp.linux-x86_64-3.6/utils/_ext-src/src/group_points_gpu.o: 没有那个文件或目录 g++: error: /home/ytj/文档/Deep_Learning/RSCNN_Pytorch1.0/build/temp.linux-x86_64-3.6/utils/_ext-src/src/ball_query_gpu.o: 没有那个文件或目录 g++: error: /home/ytj/文档/Deep_Learning/RSCNN_Pytorch1.0/build/temp.linux-x86_64-3.6/utils/_ext-src/src/interpolate_gpu.o: 没有那个文件或目录 error: command 'g++' failed with exit status 1

ytj-dasd avatar Aug 11 '22 13:08 ytj-dasd

I encountered the same problem, how did you solve it?

liuyyy111 avatar Nov 28 '23 15:11 liuyyy111

I encountered the same problem, how did you solve it?

I solved this problem by manually compiling these files and placing them in the specified folder

liuyyy111 avatar Nov 30 '23 05:11 liuyyy111

Can you please say a bit more, or can you please share how you manually compiled them.

TouqeerAhmad avatar Dec 07 '23 22:12 TouqeerAhmad