Replies: 3 comments
-
Microsoft supply command prompts with Visual Studio that set up all the environment variables Windows needs to find the installed developer tools and libraries, you should try again but execute the command inside one of them: https://docs.microsoft.com/en-us/visualstudio/ide/reference/command-prompt-powershell?view=vs-2022 |
Beta Was this translation helpful? Give feedback.
-
Update : It's not working. There is a specific path on windows to clone the repo in ? Thanks a lot |
Beta Was this translation helpful? Give feedback.
-
I just tested with the build instructions in the wiki: https://github.com/sumneko/lua-language-server/wiki/Getting-Started#command-line ... and it builds on my Windows machine using those instructions. We do not need to use a Developer Command Prompt since the batch file sets up the environment and it does not matter where we clone the repo to. It should just work if you have Visual Studio 2019 or 2022 installed, since it needs a C++17 compiler. From the output from Ninja you showed, it looks like the compiler, |
Beta Was this translation helpful? Give feedback.
-
Hello,
I try to install lua-language-server for setting up my nvim.
When I try to do compile\install .bat, it's just doesn't work and I get this :
C:\Users\thaiw\AppData\Local\nvim\lua-language-server\3rd\luamake>ninja -f build\msvc\compile.ninja
[1/36] Compile C build/msvc/obj/source_bee/lua-seri.obj
FAILED: build/msvc/obj/source_bee/lua-seri.obj
cl /nologo /showIncludes -c 3rd/bee.lua/3rd/lua-seri/lua-seri.c /Fobuild/msvc/obj/source_bee/lua-seri.obj /EHsc /Zc:cplusplus /permissive- /O2 /Zc:inline /W3 /WX /MD /GL /I3rd/bee.lua/3rd/lua-seri /Itools/lua54 /D_WIN32_WINNT=0x0601 /DNDEBUG
CreateProcess failed: The system cannot find the file specified.
[2/36] Compile C++ build/msvc/obj/source_bee/format.obj
FAILED: build/msvc/obj/source_bee/format.obj
cl /nologo /showIncludes -c 3rd/bee.lua/bee/nonstd/fmt/format.cc /Fobuild/msvc/obj/source_bee/format.obj /EHsc /Zc:cplusplus /permissive- /O2 /Zc:inline /W3 /WX /MD /GL /I3rd/bee.lua/bee/nonstd /D_WIN32_WINNT=0x0601 /DNDEBUG /std:c++17
CreateProcess failed: The system cannot find the file specified.
[3/36] Compile C++ build/msvc/obj/source_bee/os.obj
FAILED: build/msvc/obj/source_bee/os.obj
cl /nologo /showIncludes -c 3rd/bee.lua/bee/nonstd/fmt/os.cc /Fobuild/msvc/obj/source_bee/os.obj /EHsc /Zc:cplusplus /permissive- /O2 /Zc:inline /W3 /WX /MD /GL /I3rd/bee.lua/bee/nonstd /D_WIN32_WINNT=0x0601 /DNDEBUG /std:c++17
CreateProcess failed: The system cannot find the file specified.
[4/36] Compile C++ build/msvc/obj/source_bee/error.obj
FAILED: build/msvc/obj/source_bee/error.obj
cl /nologo /showIncludes -c 3rd/bee.lua/bee/error.cpp /Fobuild/msvc/obj/source_bee/error.obj /EHsc /Zc:cplusplus /permissive- /O2 /Zc:inline /W3 /WX /MD /GL /I3rd/bee.lua /D_WIN32_WINNT=0x0601 /DNDEBUG /std:c++17
CreateProcess failed: The system cannot find the file specified.
Thanks for the help in advance !
Beta Was this translation helpful? Give feedback.
All reactions