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

Execute error on fresh install #25

Closed
gilphilbert opened this issue Oct 17, 2020 · 6 comments
Closed

Execute error on fresh install #25

gilphilbert opened this issue Oct 17, 2020 · 6 comments

Comments

@gilphilbert
Copy link

I installed the pre-requisites and commented out the 32-bit line (I don't have the libs and 64-bit is just fine). Other than that, it's a clean install. Opened the folder in VSCode, ran Task... Execute (Native) and got the following error:

> Executing task: ./.pio/build/native/program <

/bin/bash: ./.pio/build/native/program: No such file or directory
The terminal process "/bin/bash '-c', './.pio/build/native/program'" failed to launch (exit code: 127).

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

Any help appreciated!

@puzrin
Copy link
Collaborator

puzrin commented Oct 29, 2020

They have broken some features in vscode 2.x extension. But i think you can make build and then run manually from terminal.

@puzrin
Copy link
Collaborator

puzrin commented Oct 29, 2020

execue is defined here https://github.com/lvgl/lv_platformio/blob/master/.vscode/tasks.json

What OS do you use? Just checked - works in ubunu. What is in your /.pio/build/native folder?

@Finkelrf
Copy link

I was getting the same error. The .pio/build/native folder was not been created, to fix I had to select env:native on "Switch PlatformIO Project Environment" on the bottom of the vccode window.

@bjwschaap
Copy link
Contributor

Thank you for sharing your solution @Finkelrf ! I had the same issue on OSX, switching to env:native solved the issue.

@orzel
Copy link

orzel commented Dec 27, 2020

Same problem, and the "fix" from @Finkelrf worked. Thanks :-)

@puzrin
Copy link
Collaborator

puzrin commented Jan 22, 2021

This is caused by changes in pio v5+ & vsode plgin v2+

  1. I've set default end to native
  2. The rest moved to Transform "Run" task to custom target #30

@puzrin puzrin closed this as completed Jan 22, 2021
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

5 participants