Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openmesh installation fails on Windows 11 as a result of ssize_t unrecognised in MSVS 2022 #131

Open
alastaira opened this issue Jul 6, 2023 · 2 comments

Comments

@alastaira
Copy link

I have an existing installation of Mightyscape v1.2 on another Windows 10 machine, which works great, so I thought I knew how to step through the installation process! However, on a new laptop, I've had quite a job stepping through the requirements, and I think I've identified the problem to an issue with latest versions of MS Visual Studio not supporting the "ssize_t" POSIX datatype used in openmesh:

Steps followed:

  • Cloned the Mightyscape GitHub repository
  • Installed latest version of Python (3.11)
  • Added Python interpreter to Inkscape preferences.xml
  • Installed latest cmake (3.27.0)
  • Installed MS VS Community Edition 2022 (v17.6.4), enabling support for building C++
  • Edited windows registry to enable long paths
  • Upgrade PIP
  • Run pip install --upgrade --no-cache-dir -r C:\Users\alast\Documents\GitHub\mightyscape-1.2\requirements.txt

Complete error message follows, but after ignoring warnings, the first relevant error appears to be:

C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Mesh.hh(362,7): error C2065: 'ssize_t': undeclared identifier (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]

A quick Google search suggests that this same issue appears to be described in other projects, as a result of newer versions of VS?:

numpy/numpy#21073
https://groups.google.com/g/snappy-compression/c/xzKxBNeAREc
https://forum.freecad.org/viewtopic.php?p=588239

Any suggestions as to how I can easily fix this to enable all MightyScape requirements to be compiled and installed without requiring fiddling about with my other settings?!

Thanks very much for all your work on this project :)

Collecting openmesh
  Downloading openmesh-1.2.1.tar.gz (9.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.3/9.3 MB 3.8 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Collecting numpy (from openmesh)
  Downloading numpy-1.25.0-cp311-cp311-win_amd64.whl (15.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.0/15.0 MB 14.5 MB/s eta 0:00:00
Building wheels for collected packages: openmesh
  Building wheel for openmesh (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [317 lines of output]
      C:\Users\alast\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
        warnings.warn(
      running bdist_wheel
      running build
      running build_ext
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\setup.py:31: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
        cmake_version = LooseVersion(re.search(r'version\s*([\d.]+)', out.decode()).group(1))
      -- Building for: Visual Studio 17 2022
      CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
        Compatibility with CMake < 3.5 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.


      -- Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.22621.
      -- The CXX compiler identification is MSVC 19.36.32535.0
      -- 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.36.32532/bin/Hostx64/x64/cl.exe - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      CMake Deprecation Warning at OpenMesh/CMakeLists.txt:1 (cmake_minimum_required):
        Compatibility with CMake < 3.5 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.36.32535.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.36.32532/bin/Hostx64/x64/cl.exe - skipped
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)

      ************************************************************
      * VCI Buildsystem                                          *
      *                                                          *
      * Package : OpenMesh                                       *
      * Version : 9.1.0                                          *
      ************************************************************
      CMake Deprecation Warning at pybind11/CMakeLists.txt:8 (cmake_minimum_required):
        Compatibility with CMake < 3.5 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.


      -- pybind11 v2.10.0 dev1
      CMake Warning (dev) at pybind11/tools/FindPythonLibsNew.cmake:98 (find_package):
        Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
        are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
        the cmake_policy command to set the policy and suppress this warning.

      Call Stack (most recent call first):
        pybind11/tools/pybind11Tools.cmake:50 (find_package)
        pybind11/tools/pybind11Common.cmake:180 (include)
        pybind11/CMakeLists.txt:200 (include)
      This warning is for project developers.  Use -Wno-dev to suppress it.

      -- Found PythonInterp: C:/Users/alast/AppData/Local/Programs/Python/Python311/python.exe (found suitable version "3.11.4", minimum required is "3.6")
      -- Found PythonLibs: C:/Users/alast/AppData/Local/Programs/Python/Python311/libs/python311.lib
      -- Performing Test HAS_MSVC_GL_LTCG
      -- Performing Test HAS_MSVC_GL_LTCG - Success
      -- Configuring done (18.1s)
      -- Generating done (0.2s)
      -- Build files have been written to: C:/Users/alast/AppData/Local/Temp/pip-install-2txlq5nm/openmesh_e3bffb848b1447b1a9fb9f326e67ceab/build-setuptools/temp.win-amd64-cpython-311/Release
      MSBuild version 17.6.3+07e294721 for .NET Framework

      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\ZERO_CHECK.vcxproj]
        1>Checking Build System
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\OpenMesh\src\OpenMesh\Core\OpenMeshCore.vcxproj]
        Building Custom Rule C:/Users/alast/AppData/Local/Temp/pip-install-2txlq5nm/openmesh_e3bffb848b1447b1a9fb9f326e67ceab/OpenMesh/src/OpenMesh/Core/CMakeLists.txt
        BinaryHelper.cc
        IOManager.cc
        OMFormat.cc
        BaseReader.cc
        OBJReader.cc
        OFFReader.cc
        OMReader.cc
        PLYReader.cc
        STLReader.cc
        BaseWriter.cc
        OBJWriter.cc
        OFFWriter.cc
        OMWriter.cc
        PLYWriter.cc
        STLWriter.cc
        VTKWriter.cc
        ArrayKernel.cc
        BaseKernel.cc
        PolyConnectivity.cc
        TriConnectivity.cc
        Generating Code...
        Compiling...
        omstream.cc
        BaseProperty.cc
        Endian.cc
        PropertyCreator.cc
        RandomNumberGenerator.cc
        Generating Code...
        OpenMeshCore.vcxproj -> C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\OpenMesh\src\OpenMesh\Core\Release\OpenMeshCore.lib
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\OpenMesh\src\OpenMesh\Tools\OpenMeshTools.vcxproj]
        Building Custom Rule C:/Users/alast/AppData/Local/Temp/pip-install-2txlq5nm/openmesh_e3bffb848b1447b1a9fb9f326e67ceab/OpenMesh/src/OpenMesh/Tools/CMakeLists.txt
        Observer.cc
        Gnuplot.cc
        Timer.cc
        conio.cc
        VFront.cc
        VHierarchy.cc
        VHierarchyNodeIndex.cc
        VHierarchyWindow.cc
        ViewingParameters.cc
        Generating Code...
        getopt.c
        OpenMeshTools.vcxproj -> C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\OpenMesh\src\OpenMesh\Tools\Release\OpenMeshTools.lib
      C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
        Building Custom Rule C:/Users/alast/AppData/Local/Temp/pip-install-2txlq5nm/openmesh_e3bffb848b1447b1a9fb9f326e67ceab/CMakeLists.txt
        Bindings.cc
        InputOutput.cc
        Miscellaneous.cc
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\OpenMesh\src\OpenMesh\Core\..\..\OpenMesh/Core/System/compiler.hh(92,1): warning C4005: 'OM_STATIC_BUILD': macro redefinition (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\MeshTypes.hh(6,1): message : see previous definition of 'OM_STATIC_BUILD' (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\OpenMesh\src\OpenMesh\Core\..\..\OpenMesh/Core/System/compiler.hh(92,1): warning C4005: 'OM_STATIC_BUILD': macro redefinition (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\InputOutput.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\MeshTypes.hh(6,1): message : see previous definition of 'OM_STATIC_BUILD' (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\InputOutput.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Mesh.hh(315,14): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Mesh.hh(435,1): message : see reference to function template instantiation 'pybind11::array_t<int,16> indices<PolyMesh,OpenMesh::FaceHandle,OpenMesh::Iterators::GenericCirculatorT_DEPRECATED<OpenMesh::PolyConnectivity::FaceVertexTraits>>(Mesh &)' being compiled [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
                with
                [
                    Mesh=PolyMesh
                ] (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc)
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Mesh.hh(333,43): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\OpenMesh\src\OpenMesh\Core\..\..\OpenMesh/Tools/Decimater/ModNormalDeviationT.hh(202,23): warning C4244: 'return': conversion from 'double' to 'float', possible loss of data (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\OpenMesh\src\OpenMesh\Core\..\..\OpenMesh/Tools/Decimater/ModNormalDeviationT.hh(168,9): message : while compiling class template member function 'float OpenMesh::Decimater::ModNormalDeviationT<Mesh>::collapse_priority(const OpenMesh::Decimater::CollapseInfoT<Mesh> &)' [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
                with
                [
                    Mesh=TriMesh
                ] (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc)
      C:/Users/alast/AppData/Local/Temp/pip-install-2txlq5nm/openmesh_e3bffb848b1447b1a9fb9f326e67ceab/pybind11/include\pybind11/pybind11.h(1473,21): message : see reference to class template instantiation 'OpenMesh::Decimater::ModNormalDeviationT<Mesh>' being compiled [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
                with
                [
                    Mesh=TriMesh
                ] (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc)
      C:/Users/alast/AppData/Local/Temp/pip-install-2txlq5nm/openmesh_e3bffb848b1447b1a9fb9f326e67ceab/pybind11/include\pybind11/pybind11.h(1473,29): message : see reference to alias template instantiation 'pybind11::detail::is_strict_base_of<T,type_>' being compiled [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
                with
                [
                    T=ModBase,
                    type_=ModNormalDeviation
                ] (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc)
      C:/Users/alast/AppData/Local/Temp/pip-install-2txlq5nm/openmesh_e3bffb848b1447b1a9fb9f326e67ceab/pybind11/include\pybind11/pybind11.h(1476,80): message : see reference to alias template instantiation 'pybind11::class_<ModNormalDeviation,ModBase>::is_base<T>' being compiled [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
                with
                [
                    T=ModBase
                ] (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc)
      C:/Users/alast/AppData/Local/Temp/pip-install-2txlq5nm/openmesh_e3bffb848b1447b1a9fb9f326e67ceab/pybind11/include\pybind11/pybind11.h(1484,1): message : see reference to class template instantiation 'pybind11::class_<ModNormalDeviation,ModBase>::is_valid_class_option<ModBase>' being compiled (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Decimater.hh(291,41): message : see reference to class template instantiation 'pybind11::class_<ModNormalDeviation,ModBase>' being compiled (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc(42,2): message : see reference to function template instantiation 'void expose_decimater<TriMesh>(pybind11::module &,const char *)' being compiled [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\OpenMesh\src\OpenMesh\Tools\Decimater\ModEdgeLengthT.hh(87,14): warning C4244: 'return': conversion from 'const double' to 'float', possible loss of data (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\OpenMesh\src\OpenMesh\Tools\Decimater\ModEdgeLengthT.hh(86,11): message : while compiling class template member function 'float OpenMesh::Decimater::ModEdgeLengthT<Mesh>::edge_length(void) const' [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
                with
                [
                    Mesh=TriMesh
                ] (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc)
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Decimater.hh(254,7): message : see the first reference to 'OpenMesh::Decimater::ModEdgeLengthT<Mesh>::edge_length' in 'expose_decimater' [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
                with
                [
                    Mesh=TriMesh
                ] (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc)
      C:/Users/alast/AppData/Local/Temp/pip-install-2txlq5nm/openmesh_e3bffb848b1447b1a9fb9f326e67ceab/pybind11/include\pybind11/pybind11.h(1473,21): message : see reference to class template instantiation 'OpenMesh::Decimater::ModEdgeLengthT<Mesh>' being compiled [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
                with
                [
                    Mesh=TriMesh
                ] (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc)
      C:/Users/alast/AppData/Local/Temp/pip-install-2txlq5nm/openmesh_e3bffb848b1447b1a9fb9f326e67ceab/pybind11/include\pybind11/pybind11.h(1473,29): message : see reference to alias template instantiation 'pybind11::detail::is_strict_base_of<T,type_>' being compiled [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
                with
                [
                    T=ModBase,
                    type_=ModEdgeLength
                ] (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc)
      C:/Users/alast/AppData/Local/Temp/pip-install-2txlq5nm/openmesh_e3bffb848b1447b1a9fb9f326e67ceab/pybind11/include\pybind11/pybind11.h(1476,80): message : see reference to alias template instantiation 'pybind11::class_<ModEdgeLength,ModBase>::is_base<T>' being compiled [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
                with
                [
                    T=ModBase
                ] (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc)
      C:/Users/alast/AppData/Local/Temp/pip-install-2txlq5nm/openmesh_e3bffb848b1447b1a9fb9f326e67ceab/pybind11/include\pybind11/pybind11.h(1484,1): message : see reference to class template instantiation 'pybind11::class_<ModEdgeLength,ModBase>::is_valid_class_option<ModBase>' being compiled (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Decimater.hh(251,36): message : see reference to class template instantiation 'pybind11::class_<ModEdgeLength,ModBase>' being compiled (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Iterator.hh(84,28): warning C4267: 'return': conversion from 'size_t' to 'unsigned int', possible loss of data (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Iterator.hh(83,16): message : while compiling class template member function 'unsigned int IteratorWrapperT<OpenMesh::Iterators::GenericIteratorT<OpenMesh::PolyConnectivity::This,OpenMesh::ArrayKernel::FaceHandle,OpenMesh::ArrayKernel,{&OpenMesh::ArrayKernel::has_face_status,0},{&OpenMesh::ArrayKernel::[thunk]: __cdecl OpenMesh::ArrayKernel::`vcall'{32,{flat}}' }',0}>,{&OpenMesh::ArrayKernel::[thunk]: __cdecl OpenMesh::ArrayKernel::`vcall'{32,{flat}}' }',0}>::len(void) const' (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Iterator.hh(116,7): message : see the first reference to 'IteratorWrapperT<OpenMesh::Iterators::GenericIteratorT<OpenMesh::PolyConnectivity::This,OpenMesh::ArrayKernel::FaceHandle,OpenMesh::ArrayKernel,{&OpenMesh::ArrayKernel::has_face_status,0},{&OpenMesh::ArrayKernel::[thunk]: __cdecl OpenMesh::ArrayKernel::`vcall'{32,{flat}}' }',0}>,{&OpenMesh::ArrayKernel::[thunk]: __cdecl OpenMesh::ArrayKernel::`vcall'{32,{flat}}' }',0}>::len' in 'expose_iterator' (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Mesh.hh(556,1): message : see reference to class template instantiation 'IteratorWrapperT<OpenMesh::Iterators::GenericIteratorT<OpenMesh::PolyConnectivity::This,OpenMesh::ArrayKernel::FaceHandle,OpenMesh::ArrayKernel,{&OpenMesh::ArrayKernel::has_face_status,0},{&OpenMesh::ArrayKernel::[thunk]: __cdecl OpenMesh::ArrayKernel::`vcall'{32,{flat}}' }',0}>,{&OpenMesh::ArrayKernel::[thunk]: __cdecl OpenMesh::ArrayKernel::`vcall'{32,{flat}}' }',0}>' being compiled (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc(18,2): message : see reference to function template instantiation 'void expose_mesh<PolyMesh>(pybind11::module &,const char *)' being compiled [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Mesh.hh(362,7): error C2065: 'ssize_t': undeclared identifier (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Mesh.hh(641,5): message : see reference to function template instantiation 'void add_vertices<Mesh>(Mesh &,pybind11::array_t<double,16>)' being compiled [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
                with
                [
                    Mesh=PolyMesh
                ] (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc)
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Mesh.hh(362,15): error C2146: syntax error: missing ';' before identifier 'i' (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Mesh.hh(362,17): error C2143: syntax error: missing ';' before '=' (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Mesh.hh(362,17): error C2143: syntax error: missing ')' before '=' (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Mesh.hh(362,17): error C2059: syntax error: '=' (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Mesh.hh(362,22): error C2065: 'i': undeclared identifier (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Mesh.hh(362,46): error C2065: 'i': undeclared identifier (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Mesh.hh(362,1): error C2059: syntax error: ')' (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Mesh.hh(363,52): error C2065: 'i': undeclared identifier (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Mesh.hh(363,70): error C2065: 'i': undeclared identifier (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Mesh.hh(363,88): error C2065: 'i': undeclared identifier (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Mesh.hh(363,95): error C2059: syntax error: ';' (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Mesh.hh(365,1): error C2059: syntax error: '}' (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Mesh.hh(365,1): error C2143: syntax error: missing ';' before '}' (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Mesh.hh(368): error C2143: syntax error: missing ';' before '{' (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Mesh.hh(368): error C2447: '{': missing function header (old-style formal list?) (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\MeshTypes.hh(80,43): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Mesh.hh(1448,1): message : see reference to function template instantiation 'pybind11::list MeshWrapperT<OpenMesh::PolyMesh_ArrayKernelT<MeshTraits>>::py_property_generic<OpenMesh::VertexHandle,MeshWrapperT<OpenMesh::PolyMesh_ArrayKernelT<MeshTraits>>::VPropHandle>(const std::string &)' being compiled (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\MeshTypes.hh(95,32): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Mesh.hh(1453,1): message : see reference to function template instantiation 'void MeshWrapperT<OpenMesh::PolyMesh_ArrayKernelT<MeshTraits>>::py_set_property_generic<OpenMesh::VertexHandle,MeshWrapperT<OpenMesh::PolyMesh_ArrayKernelT<MeshTraits>>::VPropHandle>(const std::string &,pybind11::list)' being compiled (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\MeshTypes.hh(128,21): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Mesh.hh(1462,1): message : see reference to function template instantiation 'pybind11::array_t<double,16> MeshWrapperT<OpenMesh::PolyMesh_ArrayKernelT<MeshTraits>>::py_property_array<OpenMesh::VertexHandle,MeshWrapperT<OpenMesh::PolyMesh_ArrayKernelT<MeshTraits>>::VPropHandle>(const std::string &)' being compiled (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\MeshTypes.hh(163,33): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Mesh.hh(1467,1): message : see reference to function template instantiation 'void MeshWrapperT<OpenMesh::PolyMesh_ArrayKernelT<MeshTraits>>::py_set_property_array<OpenMesh::VertexHandle,MeshWrapperT<OpenMesh::PolyMesh_ArrayKernelT<MeshTraits>>::VPropHandle>(const std::string &,pybind11::array_t<double,17>)' being compiled (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\MeshTypes.hh(176,33): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\OpenMesh\src\OpenMesh\Tools\Decimater\ModAspectRatioT_impl.hh(106,78): warning C4244: '=': conversion from 'double' to '_Ty', possible loss of data [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
                with
                [
                    _Ty=float
                ] (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc)
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\OpenMesh\src\OpenMesh\Tools\Decimater\ModAspectRatioT_impl.hh(96,43): message : while compiling class template member function 'void OpenMesh::Decimater::ModAspectRatioT<Mesh>::initialize(void)' [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
                with
                [
                    Mesh=PolyMesh
                ] (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc)
      C:/Users/alast/AppData/Local/Temp/pip-install-2txlq5nm/openmesh_e3bffb848b1447b1a9fb9f326e67ceab/pybind11/include\pybind11/pybind11.h(1473,21): message : see reference to class template instantiation 'OpenMesh::Decimater::ModAspectRatioT<Mesh>' being compiled [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
                with
                [
                    Mesh=PolyMesh
                ] (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc)
      C:/Users/alast/AppData/Local/Temp/pip-install-2txlq5nm/openmesh_e3bffb848b1447b1a9fb9f326e67ceab/pybind11/include\pybind11/pybind11.h(1473,29): message : see reference to alias template instantiation 'pybind11::detail::is_strict_base_of<T,type_>' being compiled [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
                with
                [
                    T=ModBase,
                    type_=ModAspectRatio
                ] (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc)
      C:/Users/alast/AppData/Local/Temp/pip-install-2txlq5nm/openmesh_e3bffb848b1447b1a9fb9f326e67ceab/pybind11/include\pybind11/pybind11.h(1476,80): message : see reference to alias template instantiation 'pybind11::class_<ModAspectRatio,ModBase>::is_base<T>' being compiled [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
                with
                [
                    T=ModBase
                ] (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc)
      C:/Users/alast/AppData/Local/Temp/pip-install-2txlq5nm/openmesh_e3bffb848b1447b1a9fb9f326e67ceab/pybind11/include\pybind11/pybind11.h(1484,1): message : see reference to class template instantiation 'pybind11::class_<ModAspectRatio,ModBase>::is_valid_class_option<ModBase>' being compiled (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Decimater.hh(237,37): message : see reference to class template instantiation 'pybind11::class_<ModAspectRatio,ModBase>' being compiled (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\OpenMesh\src\OpenMesh\Tools\Decimater\ModAspectRatioT_impl.hh(125,77): warning C4244: '=': conversion from 'double' to '_Ty', possible loss of data [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
                with
                [
                    _Ty=float
                ] (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc)
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\OpenMesh\src\OpenMesh\Tools\Decimater\ModAspectRatioT_impl.hh(113,75): message : while compiling class template member function 'void OpenMesh::Decimater::ModAspectRatioT<Mesh>::preprocess_collapse(const OpenMesh::Decimater::CollapseInfoT<Mesh> &)' [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
                with
                [
                    Mesh=PolyMesh
                ] (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc)
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\OpenMesh\src\OpenMesh\Tools\Decimater\ModEdgeLengthT_impl.hh(77,24): warning C4244: 'return': conversion from 'double' to 'float', possible loss of data (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\OpenMesh\src\OpenMesh\Tools\Decimater\ModEdgeLengthT_impl.hh(74,73): message : while compiling class template member function 'float OpenMesh::Decimater::ModEdgeLengthT<Mesh>::collapse_priority(const OpenMesh::Decimater::CollapseInfoT<Mesh> &)' [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
                with
                [
                    Mesh=PolyMesh
                ] (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc)
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\MeshTypes.hh(228,20): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\MeshTypes.hh(203,3): message : see reference to function template instantiation 'void MeshWrapperT<OpenMesh::PolyMesh_ArrayKernelT<MeshTraits>>::py_deepcopy_prop<OpenMesh::VertexHandle>(MeshWrapperT<OpenMesh::PolyMesh_ArrayKernelT<MeshTraits>> *,pybind11::object,pybind11::dict)' being compiled (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\MeshTypes.hh(191,13): message : while compiling class template member function 'pybind11::object MeshWrapperT<OpenMesh::PolyMesh_ArrayKernelT<MeshTraits>>::py_deepcopy(pybind11::dict)' (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Mesh.hh(1479,7): message : see the first reference to 'MeshWrapperT<OpenMesh::PolyMesh_ArrayKernelT<MeshTraits>>::py_deepcopy' in 'expose_mesh' (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Mesh.hh(413,1): message : see reference to class template instantiation 'MeshWrapperT<OpenMesh::PolyMesh_ArrayKernelT<MeshTraits>>' being compiled (compiling source file C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\src\Bindings.cc) [C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\build-setuptools\temp.win-amd64-cpython-311\Release\openmesh.vcxproj]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\setup.py", line 82, in <module>
          setup(
        File "C:\Users\alast\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\__init__.py", line 87, in setup
          return distutils.core.setup(**attrs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\alast\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\_distutils\core.py", line 185, in setup
          return run_commands(dist)
                 ^^^^^^^^^^^^^^^^^^
        File "C:\Users\alast\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands
          dist.run_commands()
        File "C:\Users\alast\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\_distutils\dist.py", line 968, in run_commands
          self.run_command(cmd)
        File "C:\Users\alast\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\dist.py", line 1217, in run_command
          super().run_command(command)
        File "C:\Users\alast\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command
          cmd_obj.run()
        File "C:\Users\alast\AppData\Local\Programs\Python\Python311\Lib\site-packages\wheel\bdist_wheel.py", line 343, in run
          self.run_command("build")
        File "C:\Users\alast\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\_distutils\cmd.py", line 319, in run_command
          self.distribution.run_command(command)
        File "C:\Users\alast\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\dist.py", line 1217, in run_command
          super().run_command(command)
        File "C:\Users\alast\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command
          cmd_obj.run()
        File "C:\Users\alast\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\_distutils\command\build.py", line 132, in run
          self.run_command(cmd_name)
        File "C:\Users\alast\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\_distutils\cmd.py", line 319, in run_command
          self.distribution.run_command(command)
        File "C:\Users\alast\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\dist.py", line 1217, in run_command
          super().run_command(command)
        File "C:\Users\alast\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\_distutils\dist.py", line 987, in run_command
          cmd_obj.run()
        File "C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\setup.py", line 36, in run
          self.build_extension(ext)
        File "C:\Users\alast\AppData\Local\Temp\pip-install-2txlq5nm\openmesh_e3bffb848b1447b1a9fb9f326e67ceab\setup.py", line 79, in build_extension
          subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=self.build_temp)
        File "C:\Users\alast\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 413, in check_call
          raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '/m']' returned non-zero exit status 1.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for openmesh
  Running setup.py clean for openmesh
Failed to build openmesh
ERROR: Could not build wheels for openmesh, which is required to install pyproject.toml-based projects
@vmario89
Copy link
Contributor

vmario89 commented Jul 9, 2023

Hi,
basically this is an issue with openmesh library, which source is hosted at https://gitlab.vci.rwth-aachen.de:9000/OpenMesh/OpenMesh

You could try to create some issue there. I did not compile openmesh for myself a longer time so i cannot test it at the moment.

To fix your issue, can you try what happens when you install precompiled binaries for openmesh instead? i just found them right now. i did not know that they exist. maybe this will shorten the setup
grafik

there is also a another project for the python bindings: https://gitlab.vci.rwth-aachen.de:9000/OpenMesh/openmesh-python

@Joel-Mckay
Copy link

Ok, I ran into similar install issues on win11.

I've used this plugin pack for years on Debian Linux (very fun for grbl), but as I stare into the void of modern Win11 I am reminded why I rarely use the OS.

Anyway, I managed to get a bit farther than the other user, but am getting a weird error insisting cmake isn't installed.

I am unfamiliar with the cmake package errors on Win11, so if anyone can drop in to close the ticket with a fix we would all be grateful.

Cheers,
J

The sites I cited for the possible context bug fixes
https://stackoverflow.com/questions/71354851/subprocess-calledprocesserror-command-cmake-build-config-r
cmake module related issue
https://stackoverflow.com/questions/77384383/problem-with-installing-cvxpy-using-pip-command-cmake-version-retur
nvcc version related bug?
pytorch/pytorch#49722

installed and ran inkscape
closed inkscape

download Microsoft C++ Build Tools (most recent installler tool)

 https://visualstudio.microsoft.com/visual-cpp-build-tools/

open powershell as administrator

 cd  "C:\Users\mario\Downloads"
 ./vs_buildtools.exe --norestart --passive --downloadThenInstall --includeRecommended --add Microsoft.VisualStudio.Workload.NativeDesktop --add Microsoft.VisualStudio.Workload.VCTools --add Microsoft.VisualStudio.Workload.MSBuildTools --add Microsoft.VisualStudio.Component.VC.CMake.Project

install git for windows 64bit

 winget install --id Git.Git -e --source winget
 cd "C:\Program Files\Inkscape\share\inkscape\extensions"
 git clone "https://github.com/eridur-de/mightyscape-1.2.git"

installed openmesh win11 exe binary silliness

https://www.graphics.rwth-aachen.de/media/openmesh_static/Releases/10.0/OpenMesh-10.0-VS2019-64-Bit.exe

installed python Python 3.12.1 for win11 64bit

 python -m pip install --upgrade pip 

install compiler call bindings etc.

 pip install --upgrade setuptools
 pip install cmake
 pip install gmpy2==2.2.0a1

The alpha package bypasses missing include gmp.h file error

  C:\Users\mario\AppData\Local\Temp\pip-install-41m1zkjs\gmpy2_a8ef6581e20041438c83c23989159bf9\src\gmpy2.h(79): fatal error C1083: Cannot open include file: 'gmp.h': No such file or directory
      error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.38.33130\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2

try to auto build first to save time and screens of text...
I also tried several older package versions with similar results

 pip install --upgrade openmesh 
 pip install --upgrade  --no-cache-dir -r "C:\Program Files\Inkscape\share\inkscape\extensions\mightyscape-1.2\requirements.txt"

post install patching for inkscape 1.3.2 win11 64bit
Override python version
Add entry to file:

 notepad "C:\Users\mario\AppData\Roaming\inkscape\preferences.xml"
  <group
     id="extensions"s
     python-interpreter="C:\Program Files\Python312\pythonw.exe"

actual log

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows

PS C:\Users\mario> pip install openmesh==1.1.6
Defaulting to user installation because normal site-packages is not writeable
Collecting openmesh==1.1.6
  Using cached openmesh-1.1.6.tar.gz (9.1 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy in c:\program files\python312\lib\site-packages (from openmesh==1.1.6) (1.26.3)
Building wheels for collected packages: openmesh
  Building wheel for openmesh (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for openmesh (pyproject.toml) did not run successfully.
  ¦ exit code: 1
  ?-> [65 lines of output]
      WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section'
      running bdist_wheel
      running build
      running build_ext
      Traceback (most recent call last):
        File "<frozen runpy>", line 198, in _run_module_as_main
        File "<frozen runpy>", line 88, in _run_code
        File "C:\Program Files\Python312\Scripts\cmake.exe\__main__.py", line 4, in <module>
      ModuleNotFoundError: No module named 'cmake'
      Traceback (most recent call last):
        File "C:\Program Files\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
          main()
        File "C:\Program Files\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Program Files\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 251, in build_wheel
          return _build_backend().build_wheel(wheel_directory, config_settings,
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\mario\AppData\Local\Temp\pip-build-env-p9_hf4qz\overlay\Lib\site-packages\setuptools\build_meta.py", line 404, in build_wheel
          return self._build_with_temp_dir(
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\mario\AppData\Local\Temp\pip-build-env-p9_hf4qz\overlay\Lib\site-packages\setuptools\build_meta.py", line 389, in _build_with_temp_dir
          self.run_setup()
        File "C:\Users\mario\AppData\Local\Temp\pip-build-env-p9_hf4qz\overlay\Lib\site-packages\setuptools\build_meta.py", line 480, in run_setup
          super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
        File "C:\Users\mario\AppData\Local\Temp\pip-build-env-p9_hf4qz\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
          exec(code, locals())
        File "<string>", line 82, in <module>
        File "C:\Users\mario\AppData\Local\Temp\pip-build-env-p9_hf4qz\overlay\Lib\site-packages\setuptools\__init__.py", line 103, in setup
          return distutils.core.setup(**attrs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\mario\AppData\Local\Temp\pip-build-env-p9_hf4qz\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 185, in setup
          return run_commands(dist)
                 ^^^^^^^^^^^^^^^^^^
        File "C:\Users\mario\AppData\Local\Temp\pip-build-env-p9_hf4qz\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands
          dist.run_commands()
        File "C:\Users\mario\AppData\Local\Temp\pip-build-env-p9_hf4qz\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 969, in run_commands
          self.run_command(cmd)
        File "C:\Users\mario\AppData\Local\Temp\pip-build-env-p9_hf4qz\overlay\Lib\site-packages\setuptools\dist.py", line 963, in run_command
          super().run_command(command)
        File "C:\Users\mario\AppData\Local\Temp\pip-build-env-p9_hf4qz\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
          cmd_obj.run()
        File "C:\Users\mario\AppData\Local\Temp\pip-build-env-p9_hf4qz\normal\Lib\site-packages\wheel\bdist_wheel.py", line 368, in run
          self.run_command("build")
        File "C:\Users\mario\AppData\Local\Temp\pip-build-env-p9_hf4qz\overlay\Lib\site-packages\setuptools\_distutils\cmd.py", line 318, in run_command
          self.distribution.run_command(command)
        File "C:\Users\mario\AppData\Local\Temp\pip-build-env-p9_hf4qz\overlay\Lib\site-packages\setuptools\dist.py", line 963, in run_command
          super().run_command(command)
        File "C:\Users\mario\AppData\Local\Temp\pip-build-env-p9_hf4qz\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
          cmd_obj.run()
        File "C:\Users\mario\AppData\Local\Temp\pip-build-env-p9_hf4qz\overlay\Lib\site-packages\setuptools\_distutils\command\build.py", line 131, in run
          self.run_command(cmd_name)
        File "C:\Users\mario\AppData\Local\Temp\pip-build-env-p9_hf4qz\overlay\Lib\site-packages\setuptools\_distutils\cmd.py", line 318, in run_command
          self.distribution.run_command(command)
        File "C:\Users\mario\AppData\Local\Temp\pip-build-env-p9_hf4qz\overlay\Lib\site-packages\setuptools\dist.py", line 963, in run_command
          super().run_command(command)
        File "C:\Users\mario\AppData\Local\Temp\pip-build-env-p9_hf4qz\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
          cmd_obj.run()
        File "<string>", line 25, in run
        File "C:\Program Files\Python312\Lib\subprocess.py", line 466, in check_output
          return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Program Files\Python312\Lib\subprocess.py", line 571, in run
          raise CalledProcessError(retcode, process.args,
      subprocess.CalledProcessError: Command '['cmake', '--version']' returned non-zero exit status 1.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for openmesh
Failed to build openmesh
ERROR: Could not build wheels for openmesh, which is required to install pyproject.toml-based projects
PS C:\Users\mario> cmake --version
cmake version 3.28.1

CMake suite maintained and supported by Kitware (kitware.com/cmake).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants