-
Notifications
You must be signed in to change notification settings - Fork 93
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
Fix program not found on windows #33
Conversation
On windows when you try to execute a demo it says *** [execute] Source `.pio\build\emulator_64bits\program' not found, needed by target `execute'. So the execute fails. I fixed that with adding the .exe file extension to sdl2_build_extra.py file.
I might be wrong but I think this needs (at the very least) a condition to check whether it's compiling on Windows or not, otherwise other platforms will get a similar error, since |
I guess you're right, but i dont know how to do that sadly |
That's not acceptable because will break linux/osx. Also, not sure why PROGNAME not includes |
Created issue (#34). PS. sorry for rejected PR but thanks for report. |
@TheJeterLP is the same problem with "upload" lv_platformio/support/sdl2_build_extra.py Line 11 in 5bb61c5
|
yes same problem on upload |
@TheJeterLP 7670a6f try this patch and let me know result. |
Works fine! |
Merged to master. Thanks for your help! |
no problem :) |
@TheJeterLP 0a4536d - does it works on Win? More nice fix. |
Yes that works too |
On windows when you try to execute a demo it says *** [execute] Source
.pio\build\emulator_64bits\program' not found, needed by target
execute'.So the execute fails. I fixed that with adding the .exe file extension to sdl2_build_extra.py file.