You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I tried to install "octomap-python" in Windows 10 OS. Unfortunately, it did not succeed. The log information is shown as follows:
pip install octomap-python
Collecting octomap-python
Using cached octomap-python-1.8.0.post12.tar.gz (1.6 MB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy in c:\users\z5154225\anaconda3\envs\airsim\lib\site-packages (from octomap-python) (1.19.2)
Building wheels for collected packages: octomap-python
Building wheel for octomap-python (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\z5154225\Anaconda3\envs\airsim\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\z5154225\AppData\Local\Temp\pip-install-4tvq_bsr\octomap-python_9e21e66c71714738aaf2634165fea1c7\setup.py'"'"'; file='"'"'C:\Users\z5154225\AppData\Local\Temp\pip-install-4tvq_bsr\octomap-python_9e21e66c71714738aaf2634165fea1c7\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\z5154225\AppData\Local\Temp\pip-wheel-0yiv18jx'
cwd: C:\Users\z5154225\AppData\Local\Temp\pip-install-4tvq_bsr\octomap-python_9e21e66c71714738aaf2634165fea1c7
Complete output (210 lines):
Requirement already satisfied: cython in c:\users\z5154225\anaconda3\envs\airsim\lib\site-packages (0.29.32)
-- Trying "Ninja (Visual Studio 17 2022 x64 v143)" generator
--
Not searching for unused variables given on the command line.
-- The C compiler identification is MSVC 19.32.31332.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.32.31326/bin/Hostx86/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- The CXX compiler identification is MSVC 19.32.31332.0
CMake Warning (dev) at C:/Users/z5154225/Anaconda3/envs/airsim/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/CMakeDetermineCXXCompiler.cmake:162 (if):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run "cmake --help-policy CMP0054" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Quoted variables like "MSVC" will no longer be dereferenced when the policy
is set to NEW. Since the policy is not set the OLD behavior will be used.
Call Stack (most recent call first):
CMakeLists.txt:4 (ENABLE_LANGUAGE)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at C:/Users/z5154225/Anaconda3/envs/airsim/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/CMakeDetermineCXXCompiler.cmake:183 (elseif):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run "cmake --help-policy CMP0054" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Quoted variables like "MSVC" will no longer be dereferenced when the policy
is set to NEW. Since the policy is not set the OLD behavior will be used.
Call Stack (most recent call first):
CMakeLists.txt:4 (ENABLE_LANGUAGE)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.32.31326/bin/Hostx86/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/z5154225/AppData/Local/Temp/pip-install-4tvq_bsr/octomap-python_9e21e66c71714738aaf2634165fea1c7/_cmake_test_compile/build
CMake Deprecation Warning at CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is MSVC 19.32.31332.0
-- The CXX compiler identification is MSVC 19.32.31332.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.32.31326/bin/Hostx86/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.32.31326/bin/Hostx86/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at octomap/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- octomap building as Release
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Compile octomap using: make
-- Install octomap using: make install
-- (be sure to set the correct CMAKE_INSTALL_PREFIX before)
-- Compile API-documentation using: make docs
CMake Deprecation Warning at octovis/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- octovis building as Release
-- Found octomap version: 1.8.0
-- Found OpenGL: opengl32
-- Found unsuitable Qt version "" from NOTFOUND
-- QGLViewer includes found in C:/Users/z5154225/AppData/Local/Temp/pip-install-4tvq_bsr/octomap-python_9e21e66c71714738aaf2634165fea1c7/src/octomap/octovis/src/extern/QGLViewer
-- QGLViewer library not found.
Cannot generate QGLViewer2 from source automatically.
Please build libQGLViewer from source, instructions to do so
can be found in octovis/README.txt
Please rerun CMAKE when you are ready.
CMake Warning at octovis/CMakeModules/FindQGLViewer.cmake:107 (MESSAGE):
Could not find libQGLViewer.so, failed to build?
Call Stack (most recent call first):
octovis/CMakeLists.txt:67 (FIND_PACKAGE)
libQGLViewer could not be found or generated.
Unfortunately, the viewer (octovis) can not be built because some requirements are missing.
This will not affect the compilation of the stand-alone library and tools (octomap)
See README.txt or http://octomap.sf.net for further information.
CMake Deprecation Warning at dynamicEDT3D/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- dynamicEDT3D building as Release
-- Found octomap version: 1.8.0
-- octomap libraries: C:/Users/z5154225/AppData/Local/Temp/pip-install-4tvq_bsr/octomap-python_9e21e66c71714738aaf2634165fea1c7/src/octomap/lib/octomap.lib;C:/Users/z5154225/AppData/Local/Temp/pip-install-4tvq_bsr/octomap-python_9e21e66c71714738aaf2634165fea1c7/src/octomap/lib/octomath.lib
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Compile dynamicEDT3D using: make
-- Install dynamicEDT3D using: make install
-- (be sure to set the correct CMAKE_INSTALL_PREFIX before)
-- Compile API-documentation using: make docs_dynamicEDT3D
CMake Generate step failed. Build files cannot be regenerated correctly.
Traceback (most recent call last):
File "C:\Users\z5154225\Anaconda3\envs\airsim\lib\site-packages\skbuild\setuptools_wrap.py", line 642, in setup
languages=cmake_languages,
File "C:\Users\z5154225\Anaconda3\envs\airsim\lib\site-packages\skbuild\cmaker.py", line 339, in configure
os.path.abspath(CMAKE_BUILD_DIR()),
An error occurred while configuring with CMake.
Command:
cmake 'C:\Users\z5154225\AppData\Local\Temp\pip-install-4tvq_bsr\octomap-python_9e21e66c71714738aaf2634165fea1c7\src\octomap' -G Ninja '-DCMAKE_INSTALL_PREFIX:PATH=C:\Users\z5154225\AppData\Local\Temp\pip-install-4tvq_bsr\octomap-python_9e21e66c71714738aaf2634165fea1c7_skbuild\win-amd64-3.6\cmake-install' -DPYTHON_VERSION_STRING:STRING=3.6.13 -DSKBUILD:INTERNAL=TRUE '-DCMAKE_MODULE_PATH:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\lib\site-packages\skbuild\resources\cmake' '-DPython3_EXECUTABLE:FILEPATH=C:\Users\z5154225\Anaconda3\envs\airsim\python.exe' '-DPython3_INCLUDE_DIR:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\Include' '-DPython3_LIBRARY:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\libs\python36.lib' '-DPython3_NumPy_INCLUDE_DIRS:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\lib\site-packages\numpy\core\include' '-DPython_EXECUTABLE:FILEPATH=C:\Users\z5154225\Anaconda3\envs\airsim\python.exe' '-DPython_INCLUDE_DIR:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\Include' '-DPython_LIBRARY:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\libs\python36.lib' '-DPython_NumPy_INCLUDE_DIRS:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\lib\site-packages\numpy\core\include' '-DPYTHON_EXECUTABLE:FILEPATH=C:\Users\z5154225\Anaconda3\envs\airsim\python.exe' '-DPYTHON_INCLUDE_DIR:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\Include' '-DPYTHON_LIBRARY:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\libs\python36.lib' '-DPYTHON_NumPy_INCLUDE_DIRS:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\lib\site-packages\numpy\core\include' -DCMAKE_BUILD_TYPE:STRING=Release
Source directory:
C:\Users\z5154225\AppData\Local\Temp\pip-install-4tvq_bsr\octomap-python_9e21e66c71714738aaf2634165fea1c7\src\octomap
Working directory:
C:\Users\z5154225\AppData\Local\Temp\pip-install-4tvq_bsr\octomap-python_9e21e66c71714738aaf2634165fea1c7_skbuild\win-amd64-3.6\cmake-build
Please see CMake's output for more information.
ERROR: Failed building wheel for octomap-python
Running setup.py clean for octomap-python
Failed to build octomap-python
Installing collected packages: octomap-python
Running setup.py install for octomap-python ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\z5154225\Anaconda3\envs\airsim\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\z5154225\AppData\Local\Temp\pip-install-4tvq_bsr\octomap-python_9e21e66c71714738aaf2634165fea1c7\setup.py'"'"'; file='"'"'C:\Users\z5154225\AppData\Local\Temp\pip-install-4tvq_bsr\octomap-python_9e21e66c71714738aaf2634165fea1c7\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\z5154225\AppData\Local\Temp\pip-record-6wg30xfk\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\z5154225\Anaconda3\envs\airsim\Include\octomap-python'
cwd: C:\Users\z5154225\AppData\Local\Temp\pip-install-4tvq_bsr\octomap-python_9e21e66c71714738aaf2634165fea1c7
Complete output (210 lines):
Requirement already satisfied: cython in c:\users\z5154225\anaconda3\envs\airsim\lib\site-packages (0.29.32)
--------------------------------------------------------------------------------
-- Trying "Ninja (Visual Studio 17 2022 x64 v143)" generator
--------------------------------
---------------------------
----------------------
-----------------
------------
-------
--
Not searching for unused variables given on the command line.
-- The C compiler identification is MSVC 19.32.31332.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.32.31326/bin/Hostx86/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- The CXX compiler identification is MSVC 19.32.31332.0
CMake Warning (dev) at C:/Users/z5154225/Anaconda3/envs/airsim/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/CMakeDetermineCXXCompiler.cmake:162 (if):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run "cmake --help-policy CMP0054" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Quoted variables like "MSVC" will no longer be dereferenced when the policy
is set to NEW. Since the policy is not set the OLD behavior will be used.
Call Stack (most recent call first):
CMakeLists.txt:4 (ENABLE_LANGUAGE)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at C:/Users/z5154225/Anaconda3/envs/airsim/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/CMakeDetermineCXXCompiler.cmake:183 (elseif):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run "cmake --help-policy CMP0054" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Quoted variables like "MSVC" will no longer be dereferenced when the policy
is set to NEW. Since the policy is not set the OLD behavior will be used.
Call Stack (most recent call first):
CMakeLists.txt:4 (ENABLE_LANGUAGE)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.32.31326/bin/Hostx86/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/z5154225/AppData/Local/Temp/pip-install-4tvq_bsr/octomap-python_9e21e66c71714738aaf2634165fea1c7/_cmake_test_compile/build
--
-------
------------
-----------------
----------------------
---------------------------
--------------------------------
-- Trying "Ninja (Visual Studio 17 2022 x64 v143)" generator - success
--------------------------------------------------------------------------------
Configuring Project
Working directory:
C:\Users\z5154225\AppData\Local\Temp\pip-install-4tvq_bsr\octomap-python_9e21e66c71714738aaf2634165fea1c7\_skbuild\win-amd64-3.6\cmake-build
Command:
cmake 'C:\Users\z5154225\AppData\Local\Temp\pip-install-4tvq_bsr\octomap-python_9e21e66c71714738aaf2634165fea1c7\src\octomap' -G Ninja '-DCMAKE_INSTALL_PREFIX:PATH=C:\Users\z5154225\AppData\Local\Temp\pip-install-4tvq_bsr\octomap-python_9e21e66c71714738aaf2634165fea1c7\_skbuild\win-amd64-3.6\cmake-install' -DPYTHON_VERSION_STRING:STRING=3.6.13 -DSKBUILD:INTERNAL=TRUE '-DCMAKE_MODULE_PATH:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\lib\site-packages\skbuild\resources\cmake' '-DPython3_EXECUTABLE:FILEPATH=C:\Users\z5154225\Anaconda3\envs\airsim\python.exe' '-DPython3_INCLUDE_DIR:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\Include' '-DPython3_LIBRARY:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\libs\python36.lib' '-DPython3_NumPy_INCLUDE_DIRS:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\lib\site-packages\numpy\core\include' '-DPython_EXECUTABLE:FILEPATH=C:\Users\z5154225\Anaconda3\envs\airsim\python.exe' '-DPython_INCLUDE_DIR:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\Include' '-DPython_LIBRARY:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\libs\python36.lib' '-DPython_NumPy_INCLUDE_DIRS:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\lib\site-packages\numpy\core\include' '-DPYTHON_EXECUTABLE:FILEPATH=C:\Users\z5154225\Anaconda3\envs\airsim\python.exe' '-DPYTHON_INCLUDE_DIR:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\Include' '-DPYTHON_LIBRARY:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\libs\python36.lib' '-DPYTHON_NumPy_INCLUDE_DIRS:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\lib\site-packages\numpy\core\include' -DCMAKE_BUILD_TYPE:STRING=Release
CMake Deprecation Warning at CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is MSVC 19.32.31332.0
-- The CXX compiler identification is MSVC 19.32.31332.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.32.31326/bin/Hostx86/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.32.31326/bin/Hostx86/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at octomap/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- octomap building as Release
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Compile octomap using: make
-- Install octomap using: make install
-- (be sure to set the correct CMAKE_INSTALL_PREFIX before)
-- Compile API-documentation using: make docs
CMake Deprecation Warning at octovis/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- octovis building as Release
-- Found octomap version: 1.8.0
-- Found OpenGL: opengl32
-- Found unsuitable Qt version "" from NOTFOUND
-- QGLViewer includes found in C:/Users/z5154225/AppData/Local/Temp/pip-install-4tvq_bsr/octomap-python_9e21e66c71714738aaf2634165fea1c7/src/octomap/octovis/src/extern/QGLViewer
-- QGLViewer library not found.
Cannot generate QGLViewer2 from source automatically.
Please build libQGLViewer from source, instructions to do so
can be found in octovis/README.txt
Please rerun CMAKE when you are ready.
CMake Warning at octovis/CMakeModules/FindQGLViewer.cmake:107 (MESSAGE):
Could not find libQGLViewer.so, failed to build?
Call Stack (most recent call first):
octovis/CMakeLists.txt:67 (FIND_PACKAGE)
libQGLViewer could not be found or generated.
Unfortunately, the viewer (octovis) can not be built because some requirements are missing.
This will not affect the compilation of the stand-alone library and tools (octomap)
See README.txt or http://octomap.sf.net for further information.
CMake Deprecation Warning at dynamicEDT3D/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- dynamicEDT3D building as Release
-- Found octomap version: 1.8.0
-- octomap libraries: C:/Users/z5154225/AppData/Local/Temp/pip-install-4tvq_bsr/octomap-python_9e21e66c71714738aaf2634165fea1c7/src/octomap/lib/octomap.lib;C:/Users/z5154225/AppData/Local/Temp/pip-install-4tvq_bsr/octomap-python_9e21e66c71714738aaf2634165fea1c7/src/octomap/lib/octomath.lib
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Compile dynamicEDT3D using: make
-- Install dynamicEDT3D using: make install
-- (be sure to set the correct CMAKE_INSTALL_PREFIX before)
-- Compile API-documentation using: make docs_dynamicEDT3D
-- Configuring done
-- Generating done
CMake Error:
Running
'C:/Users/z5154225/Anaconda3/envs/airsim/Library/bin/ninja.exe' '-C' 'C:/Users/z5154225/AppData/Local/Temp/pip-install-4tvq_bsr/octomap-python_9e21e66c71714738aaf2634165fea1c7/_skbuild/win-amd64-3.6/cmake-build' '-t' 'recompact'
failed with:
ninja: error: build.ninja:354: multiple rules generate C:/Users/z5154225/AppData/Local/Temp/pip-install-4tvq_bsr/octomap-python_9e21e66c71714738aaf2634165fea1c7/src/octomap/lib/octomath.lib [-w dupbuild=err]
CMake Warning:
Manually-specified variables were not used by the project:
PYTHON_EXECUTABLE
PYTHON_INCLUDE_DIR
PYTHON_LIBRARY
PYTHON_NumPy_INCLUDE_DIRS
PYTHON_VERSION_STRING
Python3_EXECUTABLE
Python3_INCLUDE_DIR
Python3_LIBRARY
Python3_NumPy_INCLUDE_DIRS
Python_EXECUTABLE
Python_INCLUDE_DIR
Python_LIBRARY
Python_NumPy_INCLUDE_DIRS
SKBUILD
CMake Generate step failed. Build files cannot be regenerated correctly.
Traceback (most recent call last):
File "C:\Users\z5154225\Anaconda3\envs\airsim\lib\site-packages\skbuild\setuptools_wrap.py", line 642, in setup
languages=cmake_languages,
File "C:\Users\z5154225\Anaconda3\envs\airsim\lib\site-packages\skbuild\cmaker.py", line 339, in configure
os.path.abspath(CMAKE_BUILD_DIR()),
An error occurred while configuring with CMake.
Command:
cmake 'C:\Users\z5154225\AppData\Local\Temp\pip-install-4tvq_bsr\octomap-python_9e21e66c71714738aaf2634165fea1c7\src\octomap' -G Ninja '-DCMAKE_INSTALL_PREFIX:PATH=C:\Users\z5154225\AppData\Local\Temp\pip-install-4tvq_bsr\octomap-python_9e21e66c71714738aaf2634165fea1c7\_skbuild\win-amd64-3.6\cmake-install' -DPYTHON_VERSION_STRING:STRING=3.6.13 -DSKBUILD:INTERNAL=TRUE '-DCMAKE_MODULE_PATH:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\lib\site-packages\skbuild\resources\cmake' '-DPython3_EXECUTABLE:FILEPATH=C:\Users\z5154225\Anaconda3\envs\airsim\python.exe' '-DPython3_INCLUDE_DIR:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\Include' '-DPython3_LIBRARY:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\libs\python36.lib' '-DPython3_NumPy_INCLUDE_DIRS:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\lib\site-packages\numpy\core\include' '-DPython_EXECUTABLE:FILEPATH=C:\Users\z5154225\Anaconda3\envs\airsim\python.exe' '-DPython_INCLUDE_DIR:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\Include' '-DPython_LIBRARY:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\libs\python36.lib' '-DPython_NumPy_INCLUDE_DIRS:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\lib\site-packages\numpy\core\include' '-DPYTHON_EXECUTABLE:FILEPATH=C:\Users\z5154225\Anaconda3\envs\airsim\python.exe' '-DPYTHON_INCLUDE_DIR:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\Include' '-DPYTHON_LIBRARY:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\libs\python36.lib' '-DPYTHON_NumPy_INCLUDE_DIRS:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\lib\site-packages\numpy\core\include' -DCMAKE_BUILD_TYPE:STRING=Release
Source directory:
C:\Users\z5154225\AppData\Local\Temp\pip-install-4tvq_bsr\octomap-python_9e21e66c71714738aaf2634165fea1c7\src\octomap
Working directory:
C:\Users\z5154225\AppData\Local\Temp\pip-install-4tvq_bsr\octomap-python_9e21e66c71714738aaf2634165fea1c7\_skbuild\win-amd64-3.6\cmake-build
Please see CMake's output for more information.
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\z5154225\Anaconda3\envs\airsim\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\z5154225\AppData\Local\Temp\pip-install-4tvq_bsr\octomap-python_9e21e66c71714738aaf2634165fea1c7\setup.py'"'"'; file='"'"'C:\Users\z5154225\AppData\Local\Temp\pip-install-4tvq_bsr\octomap-python_9e21e66c71714738aaf2634165fea1c7\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\z5154225\AppData\Local\Temp\pip-record-6wg30xfk\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\z5154225\Anaconda3\envs\airsim\Include\octomap-python' Check the logs for full command output.
Is anybody installed it in Windows successfully? Any assistance would be appreciated!
The text was updated successfully, but these errors were encountered:
Hi, I tried to install "octomap-python" in Windows 10 OS. Unfortunately, it did not succeed. The log information is shown as follows:
pip install octomap-python
Collecting octomap-python
Using cached octomap-python-1.8.0.post12.tar.gz (1.6 MB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy in c:\users\z5154225\anaconda3\envs\airsim\lib\site-packages (from octomap-python) (1.19.2)
Building wheels for collected packages: octomap-python
Building wheel for octomap-python (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\z5154225\Anaconda3\envs\airsim\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\z5154225\AppData\Local\Temp\pip-install-4tvq_bsr\octomap-python_9e21e66c71714738aaf2634165fea1c7\setup.py'"'"'; file='"'"'C:\Users\z5154225\AppData\Local\Temp\pip-install-4tvq_bsr\octomap-python_9e21e66c71714738aaf2634165fea1c7\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\z5154225\AppData\Local\Temp\pip-wheel-0yiv18jx'
cwd: C:\Users\z5154225\AppData\Local\Temp\pip-install-4tvq_bsr\octomap-python_9e21e66c71714738aaf2634165fea1c7
Complete output (210 lines):
Requirement already satisfied: cython in c:\users\z5154225\anaconda3\envs\airsim\lib\site-packages (0.29.32)
-- Trying "Ninja (Visual Studio 17 2022 x64 v143)" generator
--
Not searching for unused variables given on the command line.
-- The C compiler identification is MSVC 19.32.31332.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.32.31326/bin/Hostx86/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- The CXX compiler identification is MSVC 19.32.31332.0
CMake Warning (dev) at C:/Users/z5154225/Anaconda3/envs/airsim/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/CMakeDetermineCXXCompiler.cmake:162 (if):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run "cmake --help-policy CMP0054" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Call Stack (most recent call first):
CMakeLists.txt:4 (ENABLE_LANGUAGE)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at C:/Users/z5154225/Anaconda3/envs/airsim/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/CMakeDetermineCXXCompiler.cmake:183 (elseif):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run "cmake --help-policy CMP0054" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Call Stack (most recent call first):
CMakeLists.txt:4 (ENABLE_LANGUAGE)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.32.31326/bin/Hostx86/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/z5154225/AppData/Local/Temp/pip-install-4tvq_bsr/octomap-python_9e21e66c71714738aaf2634165fea1c7/_cmake_test_compile/build
-- Trying "Ninja (Visual Studio 17 2022 x64 v143)" generator - success
Configuring Project
Working directory:
C:\Users\z5154225\AppData\Local\Temp\pip-install-4tvq_bsr\octomap-python_9e21e66c71714738aaf2634165fea1c7_skbuild\win-amd64-3.6\cmake-build
Command:
cmake 'C:\Users\z5154225\AppData\Local\Temp\pip-install-4tvq_bsr\octomap-python_9e21e66c71714738aaf2634165fea1c7\src\octomap' -G Ninja '-DCMAKE_INSTALL_PREFIX:PATH=C:\Users\z5154225\AppData\Local\Temp\pip-install-4tvq_bsr\octomap-python_9e21e66c71714738aaf2634165fea1c7_skbuild\win-amd64-3.6\cmake-install' -DPYTHON_VERSION_STRING:STRING=3.6.13 -DSKBUILD:INTERNAL=TRUE '-DCMAKE_MODULE_PATH:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\lib\site-packages\skbuild\resources\cmake' '-DPython3_EXECUTABLE:FILEPATH=C:\Users\z5154225\Anaconda3\envs\airsim\python.exe' '-DPython3_INCLUDE_DIR:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\Include' '-DPython3_LIBRARY:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\libs\python36.lib' '-DPython3_NumPy_INCLUDE_DIRS:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\lib\site-packages\numpy\core\include' '-DPython_EXECUTABLE:FILEPATH=C:\Users\z5154225\Anaconda3\envs\airsim\python.exe' '-DPython_INCLUDE_DIR:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\Include' '-DPython_LIBRARY:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\libs\python36.lib' '-DPython_NumPy_INCLUDE_DIRS:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\lib\site-packages\numpy\core\include' '-DPYTHON_EXECUTABLE:FILEPATH=C:\Users\z5154225\Anaconda3\envs\airsim\python.exe' '-DPYTHON_INCLUDE_DIR:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\Include' '-DPYTHON_LIBRARY:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\libs\python36.lib' '-DPYTHON_NumPy_INCLUDE_DIRS:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\lib\site-packages\numpy\core\include' -DCMAKE_BUILD_TYPE:STRING=Release
CMake Deprecation Warning at CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
-- The C compiler identification is MSVC 19.32.31332.0
-- The CXX compiler identification is MSVC 19.32.31332.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.32.31326/bin/Hostx86/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.32.31326/bin/Hostx86/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at octomap/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
-- octomap building as Release
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Compile octomap using: make
-- Install octomap using: make install
-- (be sure to set the correct CMAKE_INSTALL_PREFIX before)
-- Compile API-documentation using: make docs
CMake Deprecation Warning at octovis/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
-- octovis building as Release
-- Found octomap version: 1.8.0
-- Found OpenGL: opengl32
-- Found unsuitable Qt version "" from NOTFOUND
-- QGLViewer includes found in C:/Users/z5154225/AppData/Local/Temp/pip-install-4tvq_bsr/octomap-python_9e21e66c71714738aaf2634165fea1c7/src/octomap/octovis/src/extern/QGLViewer
-- QGLViewer library not found.
Cannot generate QGLViewer2 from source automatically.
Please build libQGLViewer from source, instructions to do so
can be found in octovis/README.txt
Please rerun CMAKE when you are ready.
CMake Warning at octovis/CMakeModules/FindQGLViewer.cmake:107 (MESSAGE):
Could not find libQGLViewer.so, failed to build?
Call Stack (most recent call first):
octovis/CMakeLists.txt:67 (FIND_PACKAGE)
libQGLViewer could not be found or generated.
Unfortunately, the viewer (octovis) can not be built because some requirements are missing.
This will not affect the compilation of the stand-alone library and tools (octomap)
See README.txt or http://octomap.sf.net for further information.
CMake Deprecation Warning at dynamicEDT3D/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
-- dynamicEDT3D building as Release
-- Found octomap version: 1.8.0
-- octomap libraries: C:/Users/z5154225/AppData/Local/Temp/pip-install-4tvq_bsr/octomap-python_9e21e66c71714738aaf2634165fea1c7/src/octomap/lib/octomap.lib;C:/Users/z5154225/AppData/Local/Temp/pip-install-4tvq_bsr/octomap-python_9e21e66c71714738aaf2634165fea1c7/src/octomap/lib/octomath.lib
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Compile dynamicEDT3D using: make
-- Install dynamicEDT3D using: make install
-- (be sure to set the correct CMAKE_INSTALL_PREFIX before)
-- Compile API-documentation using: make docs_dynamicEDT3D
-- Configuring done
-- Generating done
CMake Error:
Running
CMake Warning:
Manually-specified variables were not used by the project:
CMake Generate step failed. Build files cannot be regenerated correctly.
Traceback (most recent call last):
File "C:\Users\z5154225\Anaconda3\envs\airsim\lib\site-packages\skbuild\setuptools_wrap.py", line 642, in setup
languages=cmake_languages,
File "C:\Users\z5154225\Anaconda3\envs\airsim\lib\site-packages\skbuild\cmaker.py", line 339, in configure
os.path.abspath(CMAKE_BUILD_DIR()),
An error occurred while configuring with CMake.
Command:
cmake 'C:\Users\z5154225\AppData\Local\Temp\pip-install-4tvq_bsr\octomap-python_9e21e66c71714738aaf2634165fea1c7\src\octomap' -G Ninja '-DCMAKE_INSTALL_PREFIX:PATH=C:\Users\z5154225\AppData\Local\Temp\pip-install-4tvq_bsr\octomap-python_9e21e66c71714738aaf2634165fea1c7_skbuild\win-amd64-3.6\cmake-install' -DPYTHON_VERSION_STRING:STRING=3.6.13 -DSKBUILD:INTERNAL=TRUE '-DCMAKE_MODULE_PATH:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\lib\site-packages\skbuild\resources\cmake' '-DPython3_EXECUTABLE:FILEPATH=C:\Users\z5154225\Anaconda3\envs\airsim\python.exe' '-DPython3_INCLUDE_DIR:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\Include' '-DPython3_LIBRARY:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\libs\python36.lib' '-DPython3_NumPy_INCLUDE_DIRS:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\lib\site-packages\numpy\core\include' '-DPython_EXECUTABLE:FILEPATH=C:\Users\z5154225\Anaconda3\envs\airsim\python.exe' '-DPython_INCLUDE_DIR:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\Include' '-DPython_LIBRARY:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\libs\python36.lib' '-DPython_NumPy_INCLUDE_DIRS:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\lib\site-packages\numpy\core\include' '-DPYTHON_EXECUTABLE:FILEPATH=C:\Users\z5154225\Anaconda3\envs\airsim\python.exe' '-DPYTHON_INCLUDE_DIR:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\Include' '-DPYTHON_LIBRARY:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\libs\python36.lib' '-DPYTHON_NumPy_INCLUDE_DIRS:PATH=C:\Users\z5154225\Anaconda3\envs\airsim\lib\site-packages\numpy\core\include' -DCMAKE_BUILD_TYPE:STRING=Release
Source directory:
C:\Users\z5154225\AppData\Local\Temp\pip-install-4tvq_bsr\octomap-python_9e21e66c71714738aaf2634165fea1c7\src\octomap
Working directory:
C:\Users\z5154225\AppData\Local\Temp\pip-install-4tvq_bsr\octomap-python_9e21e66c71714738aaf2634165fea1c7_skbuild\win-amd64-3.6\cmake-build
Please see CMake's output for more information.
ERROR: Failed building wheel for octomap-python
Running setup.py clean for octomap-python
Failed to build octomap-python
Installing collected packages: octomap-python
Running setup.py install for octomap-python ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\z5154225\Anaconda3\envs\airsim\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\z5154225\AppData\Local\Temp\pip-install-4tvq_bsr\octomap-python_9e21e66c71714738aaf2634165fea1c7\setup.py'"'"'; file='"'"'C:\Users\z5154225\AppData\Local\Temp\pip-install-4tvq_bsr\octomap-python_9e21e66c71714738aaf2634165fea1c7\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\z5154225\AppData\Local\Temp\pip-record-6wg30xfk\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\z5154225\Anaconda3\envs\airsim\Include\octomap-python'
cwd: C:\Users\z5154225\AppData\Local\Temp\pip-install-4tvq_bsr\octomap-python_9e21e66c71714738aaf2634165fea1c7
Complete output (210 lines):
Requirement already satisfied: cython in c:\users\z5154225\anaconda3\envs\airsim\lib\site-packages (0.29.32)
ERROR: Command errored out with exit status 1: 'C:\Users\z5154225\Anaconda3\envs\airsim\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\z5154225\AppData\Local\Temp\pip-install-4tvq_bsr\octomap-python_9e21e66c71714738aaf2634165fea1c7\setup.py'"'"'; file='"'"'C:\Users\z5154225\AppData\Local\Temp\pip-install-4tvq_bsr\octomap-python_9e21e66c71714738aaf2634165fea1c7\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\z5154225\AppData\Local\Temp\pip-record-6wg30xfk\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\z5154225\Anaconda3\envs\airsim\Include\octomap-python' Check the logs for full command output.
Is anybody installed it in Windows successfully? Any assistance would be appreciated!
The text was updated successfully, but these errors were encountered: