Sokol Wrapper Build Issue
- Posted by Icy_Viking 3 weeks ago
- 1439 views
Hi all,
I came across the "sokol" libraries and I think they'd be neat to use with Euphoria. Of course I need to make the wrappers first. However I am having trouble building 'sokol_app' It keeps coming up with these errors when I try to build it under mingw/gcc.
sokol app file: https://github.com/floooh/sokol/blob/master/sokol_app.h
Using OpenEuphoria 4.1.0 Beta 2 Windows 11 Pro
Errors: https://ibb.co/whDc3MbK
//Sokol_app.c file #define SOKOL_DLL #define SOKOL_APP_IMPL #define SOKOL_GLCORE #define SOKOL_NO_ENTRY #include "sokol_app.h"
gcc -c sokol_app.c - this builds/compiles fine gcc -shared -o sokol_app.dll sokol_app.o - this is what causes the errors to appear