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

[Bug] Fail to install on Windows #820

Closed
Loic-kd opened this issue Dec 6, 2024 · 2 comments
Closed

[Bug] Fail to install on Windows #820

Loic-kd opened this issue Dec 6, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Loic-kd
Copy link

Loic-kd commented Dec 6, 2024

Describe the bug

When compiling in release mode from source :

cmake -B build 
cmake --build build

It says "Building in RELEASE mode" but all files go to build\*\Debug

Then the install command cmake --install build fails because it looks for files in build\*\Release

To reproduce

NA

System info

Windows 11
cmake 3.31.0

@Loic-kd Loic-kd added the bug Something isn't working label Dec 6, 2024
@Loic-kd
Copy link
Author

Loic-kd commented Dec 6, 2024

While circumventing the problem, I had to manually add the installation folders in the PATH variable.
Could it be done automatically?

@Loic-kd Loic-kd closed this as completed Dec 16, 2024
@Loic-kd
Copy link
Author

Loic-kd commented Dec 16, 2024

I managed to build and install on Windows with the following command:

cmake -B build
cmake --build build --config Release
cmake --build build --target install  --config Release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant