Question about installing the Pointnet++
When I run the command:python setup.py build_ext --inplace Something occures: =0 -std=c++14 FAILED: /mnt/f/Ubuntu_win/Project/Point2Skeleton/code/pointnet2/build/temp.linux-x86_64-3.6/_ext-src/src/bindings.o c++ -MMD -MF /mnt/f/Ubuntu_win/Project/Point2Skeleton/code/pointnet2/build/temp.linux-x86_64-3.6/_ext-src/src/bindings.o.d -pthread -B /mnt/f/Ubuntu_win/Anaconda/envs/dl/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/mnt/f/Ubuntu_win/Anaconda/envs/dl/lib/python3.6/site-packages/torch/include -I/mnt/f/Ubuntu_win/Anaconda/envs/dl/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/mnt/f/Ubuntu_win/Anaconda/envs/dl/lib/python3.6/site-packages/torch/include/TH -I/mnt/f/Ubuntu_win/Anaconda/envs/dl/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.2/include -I/mnt/f/Ubuntu_win/Anaconda/envs/dl/include/python3.6m -c -c /mnt/f/Ubuntu_win/Project/Point2Skeleton/code/pointnet2/_ext-src/src/bindings.cpp -o /mnt/f/Ubuntu_win/Project/Point2Skeleton/code/pointnet2/build/temp.linux-x86_64-3.6/_ext-src/src/bindings.o -O2 -I./_ext-src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ /mnt/f/Ubuntu_win/Project/Point2Skeleton/code/pointnet2/_ext-src/src/bindings.cpp:1:10: fatal error: ball_query.h: No such file or directory #include "ball_query.h" ^~~~~~~~~~~~~~ compilation terminated. [4/5] c++ -MMD -MF /mnt/f/Ubuntu_win/Project/Point2Skeleton/code/pointnet2/build/temp.linux-x86_64-3.6/_ext-src/src/group_points.o.d -pthread -B /mnt/f/Ubuntu_win/Anaconda/envs/dl/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/mnt/f/Ubuntu_win/Anaconda/envs/dl/lib/python3.6/site-packages/torch/include -I/mnt/f/Ubuntu_win/Anaconda/envs/dl/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/mnt/f/Ubuntu_win/Anaconda/envs/dl/lib/python3.6/site-packages/torch/include/TH -I/mnt/f/Ubuntu_win/Anaconda/envs/dl/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.2/include -I/mnt/f/Ubuntu_win/Anaconda/envs/dl/include/python3.6m -c -c /mnt/f/Ubuntu_win/Project/Point2Skeleton/code/pointnet2/_ext-src/src/group_points.cpp -o /mnt/f/Ubuntu_win/Project/Point2Skeleton/code/pointnet2/build/temp.linux-x86_64-3.6/_ext-src/src/group_points.o -O2 -I./_ext-src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 FAILED: /mnt/f/Ubuntu_win/Project/Point2Skeleton/code/pointnet2/build/temp.linux-x86_64-3.6/_ext-src/src/group_points.o c++ -MMD -MF /mnt/f/Ubuntu_win/Project/Point2Skeleton/code/pointnet2/build/temp.linux-x86_64-3.6/_ext-src/src/group_points.o.d -pthread -B /mnt/f/Ubuntu_win/Anaconda/envs/dl/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/mnt/f/Ubuntu_win/Anaconda/envs/dl/lib/python3.6/site-packages/torch/include -I/mnt/f/Ubuntu_win/Anaconda/envs/dl/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/mnt/f/Ubuntu_win/Anaconda/envs/dl/lib/python3.6/site-packages/torch/include/TH -I/mnt/f/Ubuntu_win/Anaconda/envs/dl/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.2/include -I/mnt/f/Ubuntu_win/Anaconda/envs/dl/include/python3.6m -c -c /mnt/f/Ubuntu_win/Project/Point2Skeleton/code/pointnet2/_ext-src/src/group_points.cpp -o /mnt/f/Ubuntu_win/Project/Point2Skeleton/code/pointnet2/build/temp.linux-x86_64-3.6/_ext-src/src/group_points.o -O2 -I./_ext-src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ /mnt/f/Ubuntu_win/Project/Point2Skeleton/code/pointnet2/_ext-src/src/group_points.cpp:1:10: fatal error: group_points.h: No such file or directory #include "group_points.h" ^~~~~~~~~~~~~~~~ compilation terminated. [5/5] c++ -MMD -MF /mnt/f/Ubuntu_win/Project/Point2Skeleton/code/pointnet2/build/temp.linux-x86_64-3.6/_ext-src/src/sampling.o.d -pthread -B /mnt/f/Ubuntu_win/Anaconda/envs/dl/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/mnt/f/Ubuntu_win/Anaconda/envs/dl/lib/python3.6/site-packages/torch/include -I/mnt/f/Ubuntu_win/Anaconda/envs/dl/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/mnt/f/Ubuntu_win/Anaconda/envs/dl/lib/python3.6/site-packages/torch/include/TH -I/mnt/f/Ubuntu_win/Anaconda/envs/dl/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.2/include -I/mnt/f/Ubuntu_win/Anaconda/envs/dl/include/python3.6m -c -c /mnt/f/Ubuntu_win/Project/Point2Skeleton/code/pointnet2/_ext-src/src/sampling.cpp -o /mnt/f/Ubuntu_win/Project/Point2Skeleton/code/pointnet2/build/temp.linux-x86_64-3.6/_ext-src/src/sampling.o -O2 -I./_ext-src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 FAILED: /mnt/f/Ubuntu_win/Project/Point2Skeleton/code/pointnet2/build/temp.linux-x86_64-3.6/_ext-src/src/sampling.o c++ -MMD -MF /mnt/f/Ubuntu_win/Project/Point2Skeleton/code/pointnet2/build/temp.linux-x86_64-3.6/_ext-src/src/sampling.o.d -pthread -B /mnt/f/Ubuntu_win/Anaconda/envs/dl/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/mnt/f/Ubuntu_win/Anaconda/envs/dl/lib/python3.6/site-packages/torch/include -I/mnt/f/Ubuntu_win/Anaconda/envs/dl/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/mnt/f/Ubuntu_win/Anaconda/envs/dl/lib/python3.6/site-packages/torch/include/TH -I/mnt/f/Ubuntu_win/Anaconda/envs/dl/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.2/include -I/mnt/f/Ubuntu_win/Anaconda/envs/dl/include/python3.6m -c -c /mnt/f/Ubuntu_win/Project/Point2Skeleton/code/pointnet2/_ext-src/src/sampling.cpp -o /mnt/f/Ubuntu_win/Project/Point2Skeleton/code/pointnet2/build/temp.linux-x86_64-3.6/_ext-src/src/sampling.o -O2 -I./_ext-src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ /mnt/f/Ubuntu_win/Project/Point2Skeleton/code/pointnet2/_ext-src/src/sampling.cpp:1:10: fatal error: sampling.h: No such file or directory #include "sampling.h" ^~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Traceback (most recent call last): File "/mnt/f/Ubuntu_win/Anaconda/envs/dl/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1522, in _run_ninja_build env=env) File "/mnt/f/Ubuntu_win/Anaconda/envs/dl/lib/python3.6/subprocess.py", line 438, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "setup.py", line 37, in
Hi, this is a problem with PointNet installation. Could you please check if the instructions on https://github.com/erikwijmans/Pointnet2_PyTorch can help?
Hi,I met the same problem with you. Could you tell me how to fix it?
I was able to resolve this error by using cuda 10.1 and pytorch 1.1.0 (https://pytorch.org/get-started/previous-versions/#v110)