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 on Windows #339

Open
itpropro opened this issue Oct 20, 2024 · 4 comments
Open

Build on Windows #339

itpropro opened this issue Oct 20, 2024 · 4 comments

Comments

@itpropro
Copy link

How to build this on Windows? Nmake doesn't work with the Makefiles in the repo.

@artempyanykh
Copy link
Owner

It's a regular dotnet project. Have you look at the command lines in the Makefile - it's mostly a thin wrapper over dotnet build, dotnet test

@itpropro
Copy link
Author

It's a regular dotnet project. Have you look at the command lines in the Makefile - it's mostly a thin wrapper over dotnet build, dotnet test

Good hint, I will look into that and try to build. With nmake, the Makefile had some syntax issue on Windows within the MSVC cmd shell.

@artempyanykh
Copy link
Owner

@itpropro if you figure out why nmake isn't happy LMK please. FWIW I think I installed make via choco on my windows machine, and it was fine.

@itpropro
Copy link
Author

itpropro commented Oct 22, 2024

@itpropro if you figure out why nmake isn't happy LMK please. FWIW I think I installed make via choco on my windows machine, and it was fine.

I was able to manually build marksman with dotnet (based on the makefile commands) and use it in nvim. nmake on Windows has problems with the curly braces in the makefile for some reason. I think the syntax is different on Windows.
The things that need updating are the identification in the first if statement to set the ARCH_ID to arm64 on Windows and the install.bat needs to be adjusted to accord for the new build folder path on Windows (win-arm64).

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

2 participants