-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Labels
bugSomething isn't workingSomething isn't workingcmakeTickets specifically relating to the cmake build system.Tickets specifically relating to the cmake build system.documentationA documentation related PR or issue.A documentation related PR or issue.
Description
Describe the issue:
When attempting to build NovelRT on Windows 10 or 11 with Visual Studio 2022 installed, CMake versions 3.19 and 3.20 will fail using the default settings with the following error: "CMake Error: Could not create named generator Visual Studio 17 2022"
This appears to occur when using Visual Studio Code, however it can happen with other IDEs if not using Ninja or Unix Makefiles by default.
Please provide the steps to reproduce if possible:
- Clone the repo
- Open Visual Studio Code (configured with CMake Tools / C++ Support enabled)
- Run the default configure command
- See error
Expected behaviour:
The CMake version dependency should be updated to 3.21 in readme, Wiki, and the root CMakeLists.txt.
Please tell us about your environment:
- OS Version: Windows 11 22H2
If building from source: - Compiler Version: Visual Studio 2022 v17.4.3
- IDE: Visual Studio Code, C/C++ (Microsoft) extension installed
- Git fork/branch URL: N/A, using main branch
Additional context:
It seems to be failing at the command level, before the CMakeLists.txt file is even processed.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcmakeTickets specifically relating to the cmake build system.Tickets specifically relating to the cmake build system.documentationA documentation related PR or issue.A documentation related PR or issue.