actboy168 / lua-debug

Lua Debug Adapter for Visual Studio Code
MIT License
437 stars 95 forks source link

Can not compile the plugin. #97

Closed asomfai closed 4 years ago

asomfai commented 4 years ago

Hi there,

I am trying to compile lua-debug on Windows 10. I've downloaded and compiled (with msvc_build.bat) the luamake repo, copied these files from luamake to lua-debug root: bee.dll lua54.dll luamake.exe

I have also installed the Tasks and extensionPath extensions too.

But when I open the lua-debug folder in Visual Studio Code, then hit the "Rebuild" button on the status bar, I get this error:

Executing task: luamake remake <

luamake: cannot open J:\Work\lua-debug\main.lua: No such file or directory The terminal process terminated with exit code: 1

Terminal will be reused by tasks, press any key to close it.

There is a make.lua in lua-debug's root folder, but simply renaming it to main.lua will not work either.

What did I wrong?

actboy168 commented 4 years ago

luamake is not just a binary file, so you cannot simply copy it.