-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
area: buildsystemRelated to our cmake/python buildsystemRelated to our cmake/python buildsystemos: windowsWindows-specific issueWindows-specific issue
Description
Hello!
While trying to build the project on Windows 10, I followed the instructions provided at: https://github.com/SFTtech/openage/blob/master/doc/build_instructions/windows_msvc.md#procedure-for-microsoft-windows-users.
I managed to get all the needed dependencies, I got to the following step: https://github.com/SFTtech/openage/blob/master/doc/build_instructions/windows_msvc.md#building-openage
cmake -DCMAKE_TOOLCHAIN_FILE=<vcpkg directory>\scripts\buildsystems\vcpkg.cmake ..This step is failing with:
-- Could NOT find Python3 (missing: Python3_LIBRARIES Python3_NumPy_INCLUDE_DIRS Development NumPy Development.Module Development.Embed) (found suitable exact version "3.11.6")
CMake Error at C:/Users/Vlasnik/openage/build/CMakeFiles/CMakeTmp/CMakeLists.txt:32 (target_link_libraries):
Target "cmTC_ff525" links to:
Python3::Python
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
CMake Error at buildsystem/modules/FindPython.cmake:81 (try_compile):
Failed to generate test project build system.
Call Stack (most recent call first):
C:/vcpkg/scripts/buildsystems/vcpkg.cmake:859 (_find_package)
buildsystem/HandlePythonOptions.cmake:6 (find_package)
CMakeLists.txt:176 (include)
-- Configuring incomplete, errors occurred!Do you have any ideas about what I have missed?
Metadata
Metadata
Assignees
Labels
area: buildsystemRelated to our cmake/python buildsystemRelated to our cmake/python buildsystemos: windowsWindows-specific issueWindows-specific issue