You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
Directly compiling with cmake in win will result in the message 'glob. h' not being found, but no calls using 'glob. h' will be seen.
G:\Code\lvgl\lv_port_pc_vscode\main\src\main.c:18:10: fatal error: glob.h: No such file or directory
18 | #include "glob.h"
| ^~~~~~~~
After commenting on 'glob. h', a link error will occur. The compilation chain is "GNU 13.1.0 for 'D:/CompilationTools/mingw64/bin/gcc.exe' ".
D:/CompilationTools/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:/CompilationTools/mingw64/x86_64-w64-mingw32/lib/libSDL2main.a(SDL_windows_main.o): in function `main_getcmdline':
/Users/valve/release/SDL2/SDL2-2.28.4-source/foo-x64/../src/main/windows/SDL_windows_main.c:80: undefined reference to `SDL_main'
Are you adding support for Windows?
If needed now, what modifications would need to be made to enable SDL2 to be linked properly?
The text was updated successfully, but these errors were encountered:
Did it work for you? I'm using an environment configured with MSYS2 and I've encountered the same problem. After I replaced #include <glob.h> with #include <SDL2/SDL.h>, the compilation passed.
Hi
Directly compiling with cmake in win will result in the message 'glob. h' not being found, but no calls using 'glob. h' will be seen.
After commenting on 'glob. h', a link error will occur. The compilation chain is "GNU 13.1.0 for 'D:/CompilationTools/mingw64/bin/gcc.exe' ".
Are you adding support for Windows?
If needed now, what modifications would need to be made to enable SDL2 to be linked properly?
The text was updated successfully, but these errors were encountered: