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

Missing windows support for building from source #46

Closed
MordechaiHadad opened this issue Sep 8, 2022 · 5 comments
Closed

Missing windows support for building from source #46

MordechaiHadad opened this issue Sep 8, 2022 · 5 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@MordechaiHadad
Copy link
Owner

#38 currently lacks support for windows.

@MordechaiHadad MordechaiHadad added enhancement New feature or request help wanted Extra attention is needed labels Sep 8, 2022
@MordechaiHadad
Copy link
Owner Author

It seems for now that the commands that are required to be ran in order to build neovim from source on windows are:
(MSVC only)

mkdir .deps
cd .deps
cmake ../cmake.deps
cmake --build .

cd ..
mkdir build
cd build
cmake ..
cmake --build .

but compared to building on linux it is much longer, main reason I believe is not having libuv installed.

@MordechaiHadad
Copy link
Owner Author

currently only builds successfully when using Developer PowerShell for VS 2022

@MordechaiHadad
Copy link
Owner Author

You could in theory use Import-VisualStudioVars from this https://github.com/Pscx/Pscx but

  1. I dunno how to do that, instructions unclear
  2. This still limits you to being stuck with one shell(powershell)

@MordechaiHadad
Copy link
Owner Author

I'll probably just add the commands above and specify that it will require using VS Developer shell for now... and try to come up with a better solution in a later patch

@MordechaiHadad
Copy link
Owner Author

MordechaiHadad commented Oct 16, 2022

This issue is basically done but one con is needing to use the VS Developer shells now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant