facebookresearch / votenet

Deep Hough Voting for 3D Object Detection in Point Clouds
MIT License
1.7k stars 376 forks source link

RuntimeError: Error compiling objects for extension when trying to compile Pointnet2 CUDA layers #155

Open yoelsheikh opened 2 years ago

yoelsheikh commented 2 years ago

I was unable to import _ext module. As I think that this is related to compiling the Pointnet2 layers I tried to compile Pointnet2 independently, but then again when I try compiling them I get a ValueError:

         File "C:\ProgramData\Anaconda3\lib\site-packages\colorama\ansitowin32.py", line 59, in closed
            return stream.closed
        ValueError: underlying buffer has been detached

related to the environment or the error in the title. My environment is:

Python 3.8.8
Pytorch '1.7.1+cu101'
CUDA 10.1 with an NVIDIA GeForce GTX 1080 and the driver version is 496.13
Running in Windows 10x64

I suspected the error had something to do with the C++ compiler, I then installed VS 2019, and ran the code from a Developer's cmd. It didn't work. I then found a tip online that the code works with the same above environment but with python 3.7 and VS 2017, so I set the environment as:

Python 3.7.13
Pytorch '1.7.1+cu101'
CUDA 10.1 with an NVIDIA GeForce GTX 1080 and the driver version is 496.13
Running in Windows 10x64 and Visual Studio (with C++ build tools) 2019

I still got the same error, the error is as follows this is when running:

 python setup.py install 

running install
C:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\setuptools\command\install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  setuptools.SetuptoolsDeprecationWarning,
C:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\setuptools\command\easy_install.py:147: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
  EasyInstallDeprecationWarning,
running bdist_egg
running egg_info
writing pointnet2.egg-info\PKG-INFO
writing dependency_links to pointnet2.egg-info\dependency_links.txt
writing top-level names to pointnet2.egg-info\top_level.txt
reading manifest file 'pointnet2.egg-info\SOURCES.txt'
writing manifest file 'pointnet2.egg-info\SOURCES.txt'
installing library code to build\bdist.win32\egg
running install_lib
running build_ext
C:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\utils\cpp_extension.py:287: UserWarning: Error checking compiler version for cl: 'utf-8' codec can't decode byte 0x81 in position 62: invalid start byte
  warnings.warn('Error checking compiler version for {}: {}'.format(compiler, error))
building 'pointnet2._ext' extension
creating C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\build
creating C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\build\temp.win32-3.7
creating C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\build\temp.win32-3.7\Release
creating C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\build\temp.win32-3.7\Release\_ext_src
creating C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\build\temp.win32-3.7\Release\_ext_src\src
Emitting ninja build file C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\build\temp.win32-3.7\Release\build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/9] cl /showIncludes /nologo /O2 /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\torch\csrc\api\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\TH" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\THC" "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" -c "C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\_ext_src\src\ball_query.cpp" /Fo"C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\build\temp.win32-3.7\Release\_ext_src/src\ball_query.obj" -O2 -I_ext_src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14
FAILED: C:/Users/EDV KMS/Desktop/klts-votenet/votenet_code/pointnet2/build/temp.win32-3.7/Release/_ext_src/src/ball_query.obj
cl /showIncludes /nologo /O2 /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\torch\csrc\api\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\TH" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\THC" "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" -c "C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\_ext_src\src\ball_query.cpp" /Fo"C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\build\temp.win32-3.7\Release\_ext_src/src\ball_query.obj" -O2 -I_ext_src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14
C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\_ext_src\src\ball_query.cpp(6): fatal error C1083: Datei (Include) kann nicht geöffnet werden: "ball_query.h": No such file or directory
[2/9] cl /showIncludes /nologo /O2 /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\torch\csrc\api\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\TH" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\THC" "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" -c "C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\_ext_src\src\group_points.cpp" /Fo"C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\build\temp.win32-3.7\Release\_ext_src/src\group_points.obj" -O2 -I_ext_src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14
FAILED: C:/Users/EDV KMS/Desktop/klts-votenet/votenet_code/pointnet2/build/temp.win32-3.7/Release/_ext_src/src/group_points.obj
cl /showIncludes /nologo /O2 /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\torch\csrc\api\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\TH" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\THC" "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" -c "C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\_ext_src\src\group_points.cpp" /Fo"C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\build\temp.win32-3.7\Release\_ext_src/src\group_points.obj" -O2 -I_ext_src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14
C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\_ext_src\src\group_points.cpp(6): fatal error C1083: Datei (Include) kann nicht geöffnet werden: "group_points.h": No such file or directory
[3/9] cl /showIncludes /nologo /O2 /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\torch\csrc\api\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\TH" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\THC" "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" -c "C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\_ext_src\src\bindings.cpp" /Fo"C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\build\temp.win32-3.7\Release\_ext_src/src\bindings.obj" -O2 -I_ext_src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14
FAILED: C:/Users/EDV KMS/Desktop/klts-votenet/votenet_code/pointnet2/build/temp.win32-3.7/Release/_ext_src/src/bindings.obj
cl /showIncludes /nologo /O2 /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\torch\csrc\api\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\TH" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\THC" "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" -c "C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\_ext_src\src\bindings.cpp" /Fo"C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\build\temp.win32-3.7\Release\_ext_src/src\bindings.obj" -O2 -I_ext_src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14
C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\_ext_src\src\bindings.cpp(6): fatal error C1083: Datei (Include) kann nicht geöffnet werden: "ball_query.h": No such file or directory
[4/9] cl /showIncludes /nologo /O2 /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\torch\csrc\api\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\TH" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\THC" "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" -c "C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\_ext_src\src\interpolate.cpp" /Fo"C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\build\temp.win32-3.7\Release\_ext_src/src\interpolate.obj" -O2 -I_ext_src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14
FAILED: C:/Users/EDV KMS/Desktop/klts-votenet/votenet_code/pointnet2/build/temp.win32-3.7/Release/_ext_src/src/interpolate.obj
cl /showIncludes /nologo /O2 /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\torch\csrc\api\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\TH" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\THC" "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" -c "C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\_ext_src\src\interpolate.cpp" /Fo"C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\build\temp.win32-3.7\Release\_ext_src/src\interpolate.obj" -O2 -I_ext_src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14
C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\_ext_src\src\interpolate.cpp(6): fatal error C1083: Datei (Include) kann nicht geöffnet werden: "interpolate.h": No such file or directory
[5/9] cl /showIncludes /nologo /O2 /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\torch\csrc\api\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\TH" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\THC" "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" -c "C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\_ext_src\src\sampling.cpp" /Fo"C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\build\temp.win32-3.7\Release\_ext_src/src\sampling.obj" -O2 -I_ext_src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14
FAILED: C:/Users/EDV KMS/Desktop/klts-votenet/votenet_code/pointnet2/build/temp.win32-3.7/Release/_ext_src/src/sampling.obj
cl /showIncludes /nologo /O2 /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\torch\csrc\api\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\TH" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\THC" "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" -c "C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\_ext_src\src\sampling.cpp" /Fo"C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\build\temp.win32-3.7\Release\_ext_src/src\sampling.obj" -O2 -I_ext_src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14
C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\_ext_src\src\sampling.cpp(6): fatal error C1083: Datei (Include) kann nicht geöffnet werden: "sampling.h": No such file or directory
[6/9] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\torch\csrc\api\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\TH" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\THC" "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" -c "C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\_ext_src\src\interpolate_gpu.cu" -o "C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\build\temp.win32-3.7\Release\_ext_src/src\interpolate_gpu.obj" -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O2 -I_ext_src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61
FAILED: C:/Users/EDV KMS/Desktop/klts-votenet/votenet_code/pointnet2/build/temp.win32-3.7/Release/_ext_src/src/interpolate_gpu.obj
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\torch\csrc\api\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\TH" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\THC" "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" -c "C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\_ext_src\src\interpolate_gpu.cu" -o "C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\build\temp.win32-3.7\Release\_ext_src/src\interpolate_gpu.obj" -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O2 -I_ext_src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61
C:/Users/EDV KMS/Desktop/klts-votenet/votenet_code/pointnet2/_ext_src/src/interpolate_gpu.cu(10): fatal error C1083: Datei (Include) kann nicht ge÷ffnet werden: "cuda_utils.h": No such file or directory
interpolate_gpu.cu
[7/9] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\torch\csrc\api\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\TH" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\THC" "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" -c "C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\_ext_src\src\sampling_gpu.cu" -o "C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\build\temp.win32-3.7\Release\_ext_src/src\sampling_gpu.obj" -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O2 -I_ext_src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61
FAILED: C:/Users/EDV KMS/Desktop/klts-votenet/votenet_code/pointnet2/build/temp.win32-3.7/Release/_ext_src/src/sampling_gpu.obj
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\torch\csrc\api\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\TH" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\THC" "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" -c "C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\_ext_src\src\sampling_gpu.cu" -o "C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\build\temp.win32-3.7\Release\_ext_src/src\sampling_gpu.obj" -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O2 -I_ext_src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61
C:/Users/EDV KMS/Desktop/klts-votenet/votenet_code/pointnet2/_ext_src/src/sampling_gpu.cu(9): fatal error C1083: Datei (Include) kann nicht ge÷ffnet werden: "cuda_utils.h": No such file or directory
sampling_gpu.cu
[8/9] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\torch\csrc\api\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\TH" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\THC" "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" -c "C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\_ext_src\src\ball_query_gpu.cu" -o "C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\build\temp.win32-3.7\Release\_ext_src/src\ball_query_gpu.obj" -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O2 -I_ext_src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61
FAILED: C:/Users/EDV KMS/Desktop/klts-votenet/votenet_code/pointnet2/build/temp.win32-3.7/Release/_ext_src/src/ball_query_gpu.obj
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\torch\csrc\api\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\TH" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\THC" "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" -c "C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\_ext_src\src\ball_query_gpu.cu" -o "C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\build\temp.win32-3.7\Release\_ext_src/src\ball_query_gpu.obj" -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O2 -I_ext_src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61
C:/Users/EDV KMS/Desktop/klts-votenet/votenet_code/pointnet2/_ext_src/src/ball_query_gpu.cu(10): fatal error C1083: Datei (Include) kann nicht ge÷ffnet werden: "cuda_utils.h": No such file or directory
ball_query_gpu.cu
[9/9] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\torch\csrc\api\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\TH" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\THC" "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" -c "C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\_ext_src\src\group_points_gpu.cu" -o "C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\build\temp.win32-3.7\Release\_ext_src/src\group_points_gpu.obj" -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O2 -I_ext_src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61
FAILED: C:/Users/EDV KMS/Desktop/klts-votenet/votenet_code/pointnet2/build/temp.win32-3.7/Release/_ext_src/src/group_points_gpu.obj
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc --use-local-env -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\torch\csrc\api\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\TH" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\include\THC" "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\include" "-IC:\Users\EDV KMS\.conda\envs\votenetsev\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" -c "C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\_ext_src\src\group_points_gpu.cu" -o "C:\Users\EDV KMS\Desktop\klts-votenet\votenet_code\pointnet2\build\temp.win32-3.7\Release\_ext_src/src\group_points_gpu.obj" -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O2 -I_ext_src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61
C:/Users/EDV KMS/Desktop/klts-votenet/votenet_code/pointnet2/_ext_src/src/group_points_gpu.cu(9): fatal error C1083: Datei (Include) kann nicht ge÷ffnet werden: "cuda_utils.h": No such file or directory
group_points_gpu.cu
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "C:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\utils\cpp_extension.py", line 1539, in _run_ninja_build
    env=env)
  File "C:\Users\EDV KMS\.conda\envs\votenetsev\lib\subprocess.py", line 512, 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 29, in <module>
    'build_ext': BuildExtension
  File "C:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\setuptools\__init__.py", line 87, in setup
    return distutils.core.setup(**attrs)
  File "C:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\setuptools\_distutils\core.py", line 148, in setup
    return run_commands(dist)
  File "C:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\setuptools\_distutils\core.py", line 163, in run_commands
    dist.run_commands()
  File "C:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\setuptools\_distutils\dist.py", line 967, in run_commands
    self.run_command(cmd)
  File "C:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\setuptools\dist.py", line 1214, in run_command
    super().run_command(command)
  File "C:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\setuptools\_distutils\dist.py", line 986, in run_command
    cmd_obj.run()
  File "C:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\setuptools\command\install.py", line 74, in run
    self.do_egg_install()
  File "C:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\setuptools\command\install.py", line 123, in do_egg_install
    self.run_command('bdist_egg')
  File "C:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\setuptools\_distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "C:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\setuptools\dist.py", line 1214, in run_command
    super().run_command(command)
  File "C:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\setuptools\_distutils\dist.py", line 986, in run_command
    cmd_obj.run()
  File "C:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\setuptools\command\bdist_egg.py", line 165, in run
    cmd = self.call_command('install_lib', warn_dir=0)
  File "C:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\setuptools\command\bdist_egg.py", line 151, in call_command
    self.run_command(cmdname)
  File "C:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\setuptools\_distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "C:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\setuptools\dist.py", line 1214, in run_command
    super().run_command(command)
  File "C:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\setuptools\_distutils\dist.py", line 986, in run_command
    cmd_obj.run()
  File "C:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\setuptools\command\install_lib.py", line 11, in run
    self.build()
  File "C:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\setuptools\_distutils\command\install_lib.py", line 107, in build
    self.run_command('build_ext')
  File "C:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\setuptools\_distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "C:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\setuptools\dist.py", line 1214, in run_command
    super().run_command(command)
  File "C:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\setuptools\_distutils\dist.py", line 986, in run_command
    cmd_obj.run()
  File "C:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\setuptools\command\build_ext.py", line 79, in run
    _build_ext.run(self)
  File "C:\Users\EDV KMS\AppData\Roaming\Python\Python37\site-packages\Cython\Distutils\old_build_ext.py", line 186, in run
    _build_ext.build_ext.run(self)
  File "C:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 339, in run
    self.build_extensions()
  File "C:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\utils\cpp_extension.py", line 670, in build_extensions
    build_ext.build_extensions(self)
  File "C:\Users\EDV KMS\AppData\Roaming\Python\Python37\site-packages\Cython\Distutils\old_build_ext.py", line 195, in build_extensions
    _build_ext.build_ext.build_extensions(self)
  File "C:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 448, in build_extensions
    self._build_extensions_serial()
  File "C:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 473, in _build_extensions_serial
    self.build_extension(ext)
  File "C:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\setuptools\command\build_ext.py", line 202, in build_extension
    _build_ext.build_extension(self, ext)
  File "C:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 534, in build_extension
    depends=ext.depends)
  File "C:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\utils\cpp_extension.py", line 652, in win_wrap_ninja_compile
    with_cuda=with_cuda)
  File "C:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\utils\cpp_extension.py", line 1255, in _write_ninja_file_and_compile_objects
    error_prefix='Error compiling objects for extension')
  File "C:\Users\EDV KMS\.conda\envs\votenetsev\lib\site-packages\torch\utils\cpp_extension.py", line 1555, in _run_ninja_build
    raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension 

Does anyone have tips?

blakery-star commented 2 years ago

I have the same problem.Have you solved it?

yoelsheikh commented 2 years ago

Not quite. I've tried an alternative, you can find the details here: https://github.com/YoElsheikh/realsense_python_ergeb#Update-19.07.2022 under "update-19.07.2022", it's in german but I basically tried using WSL2, which has a native linux kernel to compile the pointnet++ cuda layers with the g++ compiler, it should work as described. I however ran into a hardware problem that had to do with my hardware setting. You can compile the layers both in WSL2 and using Docker after setting the correct environment variables, even better if you use ubuntu. Good luck!