It doesn't build on msys2 when python 3 is enabled. It finds the python 3 interpreter without any issue but it fails finding the python3 library path. Here is the config error:
-- Found PythonInterp: C:/msys64/mingw64/bin/python3.exe (found suitable version "3.7.1", minimum required is "3.3")
-- Check for installed Python Interpreter -- found
-- Python module install path: lib/python3.7/site-packages
CMake Error at C:/msys64/mingw64/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find PythonLibs (missing: PYTHON_INCLUDE_DIRS) (Required is at
least version "3.3")
Call Stack (most recent call first):
C:/msys64/mingw64/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
CMakeModules/FindPythonLibs.cmake:233 (find_package_handle_standard_args)
CMakeLists.txt:750 (find_package)
It doesn't build on msys2 when python 3 is enabled. It finds the python 3 interpreter without any issue but it fails finding the python3 library path. Here is the config error:
-- Found PythonInterp: C:/msys64/ mingw64/ bin/python3. exe (found suitable version "3.7.1", minimum required is "3.3") 7/site- packages mingw64/ share/cmake- 3.12/Modules/ FindPackageHand leStandardArgs. cmake:137 (message): INCLUDE_ DIRS) (Required is at mingw64/ share/cmake- 3.12/Modules/ FindPackageHand leStandardArgs. cmake:378 (_FPHSA_ FAILURE_ MESSAGE) FindPythonLibs. cmake:233 (find_package_ handle_ standard_ args) txt:750 (find_package)
-- Check for installed Python Interpreter -- found
-- Python module install path: lib/python3.
CMake Error at C:/msys64/
Could NOT find PythonLibs (missing: PYTHON_
least version "3.3")
Call Stack (most recent call first):
C:/msys64/
CMakeModules/
CMakeLists.
-- Configuring incomplete, errors occurred!