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

Issue when trying to build from source #1215

Open
laveenaBachani opened this issue Apr 7, 2024 · 2 comments
Open

Issue when trying to build from source #1215

laveenaBachani opened this issue Apr 7, 2024 · 2 comments

Comments

@laveenaBachani
Copy link

I am following the steps here:
https://quick-lint-js.com/contribute/build-from-source/windows/

I have Microsoft Visual Studio Enterprise 2022 (64-bit) Version 17.9.3

When I run the command listed in documentation, but with the Visual Studio in my system that is
cmake -G "Visual Studio 17 2022" -S . -B build -DCMAKE_EXPORT_COMPILE_COMMANDS=1

It gives me error:
image

@CoderMuffin
Copy link
Contributor

@laveenaBachani Maybe try reverting the version string? (i.e. "Visual Studio 16 2019" instead of "Visual Studio 17 2022")
If that doesn't work, could you maybe install VS2019?

@strager
Copy link
Collaborator

strager commented Apr 27, 2024

@laveenaBachani Are you running that cmake command from the "x64 Native Tools Command Prompt for VS 2022" command prompt? If not, that might be the issue.

(Sorry for the delayed response. I've been busy with work. 😬)

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

3 participants