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

CAN NOT WORK ON WIN10! #65

Closed
linkua opened this issue May 16, 2024 · 3 comments
Closed

CAN NOT WORK ON WIN10! #65

linkua opened this issue May 16, 2024 · 3 comments

Comments

@linkua
Copy link

linkua commented May 16, 2024

Dependency Graph
|-- lvgl @ 9.1.0
Building in release mode

Compiling .pio\build\emulator_64bits\libf53\lvgl\drivers\sdl\lv_sdl_keyboard.o
Compiling .pio\build\emulator_64bits\libf53\lvgl\drivers\sdl\lv_sdl_mouse.o
Compiling .pio\build\emulator_64bits\libf53\lvgl\drivers\sdl\lv_sdl_mousewheel.o
Compiling .pio\build\emulator_64bits\libf53\lvgl\drivers\sdl\lv_sdl_window.o
: fatal error: SDL2/SDL.h: No such file or directory
compilation terminated.
*** [.pio\build\emulator_64bits\libf53\lvgl\drivers\sdl\lv_sdl_keyboard.o] Error 1
: fatal error: SDL2/SDL.h: No such file or directory
compilation terminated.
*** [.pio\build\emulator_64bits\libf53\lvgl\drivers\sdl\lv_sdl_mouse.o] Error 1
: fatal error: SDL2/SDL.h: No such file or directory
compilation terminated.
*** [.pio\build\emulator_64bits\libf53\lvgl\drivers\sdl\lv_sdl_mousewheel.o] Error 1
: fatal error: SDL2/SDL.h: No such file or directory
compilation terminated.
*** [.pio\build\emulator_64bits\libf53\lvgl\drivers\sdl\lv_sdl_window.o] Error 1

@kisvegabor
Copy link
Member

Have you followed the Windows guide here?

@tylercamp
Copy link

I'm also having the same issue - I've installed MSYS2, ran the mentioned commands, and added C:\msys64\mingw64\bin to both System and User PATH. I can see SDL2.dll in that folder, and can see the SDL2 folder in the adjacent include folder


Just after typing that I checked for any relevant config files in the repo folder on my machine, and in .vscode/launch.json I saw references to a %USERPROFILE%/mingw folder which I apparently prepared ~a year ago

After removing that from my PATH (and restarting VS Code) I was able to run the demo

@kisvegabor
Copy link
Member

Happy that finally it's working.

After removing that from my PATH (and restarting VS Code) I was able to run the demo

@linkua can you confirm it?

@linkua linkua closed this as completed Jun 21, 2024
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

3 participants