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

[BUILD] Can't build on Windows 11 CMake 3.30 #1857

Closed
RainSureZhao opened this issue Jun 27, 2024 · 0 comments
Closed

[BUILD] Can't build on Windows 11 CMake 3.30 #1857

RainSureZhao opened this issue Jun 27, 2024 · 0 comments

Comments

@RainSureZhao
Copy link

Environment

Operating System: Windows11
Version / Commit SHA: master
CMake Version: 3.30
Compiler: msvc 2022

Describe the problem

I followed the instructions in the Readme file to build the project, but it failed, and it was prompted that version.h could not be found. Strangely, I found version.h.i in the project, but version.h did not seem to be generated correctly, I do not know what the problem is.

To Reproduce

Steps to reproduce the behavior:

  1. install depencicies by vcpkg
  2. cmake -DCMAKE_TOOLCHAIN_FILE="..\vcpkg\scripts\buildsystems\vcpkg.cmake" -DVCPKG_TARGET_TRIPLET=x64-windows -A x64 ..
  3. cmake --build . --parallel 4 --config Release --target install
  4. See error

Here's what comes out at compile time:
output.txt

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

1 participant