lf-lang / vscode-lingua-franca

Lingua Franca extension for Visual Studio Code
Other
4 stars 3 forks source link

`Build and Run` reports "Build failed" while `Build` does not #99

Closed lhstrh closed 1 year ago

lhstrh commented 1 year ago

Compilation succeeds; no errors (only a warning). Running Build points the user to the produced binary. Running Build and Run errors out with "Build failed". This was observed in v0.4.1 on Linux.

petervdonovan commented 1 year ago

Probably this is because the generator result includes the location of the binary, but is missing the build command for some reason. It might help to know which file this happens on, or at least which target language.

lhstrh commented 1 year ago

:+1: This is happening in C. I'll point you to the files in question.

Jakio815 commented 1 year ago

This is also happening for me on Windows WSL. It also happens on Python targets. The build doesn't actually fails, but it says errors, and so the Build and Run does not run.