Vladar4 / sdl2_nim

Wrapper of the SDL 2 library for the Nim language.
Other
147 stars 24 forks source link

incorrect dll name for SDL_gpu? #17

Open exelotl opened 6 years ago

exelotl commented 6 years ago

Hey, first of all thanks for these awesome clean and well documented bindings :) When I build SDL_gpu from source (using MSYS2 MinGW 64-bit) I get libSDL2_gpu.dll, while my test program using these bindings is looking for SDL2_gpu.dll Ofc this is no big problem because I can just rename my DLL, but I'm wondering if this is an issue for all Windows users, or if it's just something wrong with my setup?

Vladar4 commented 6 years ago

Sorry, can't help you with this question since I haven't used sdl2_gpu. May be @Serenitor could give some info on the matter.

h0lley commented 6 years ago

On Windows the DLL is always supposed to be called SDL2_gpu.dll.

libSDL2_gpu is the name used on the other platforms.

Can you try to build with x86_64-w64-mingw32-gcc? This is an executable sitting in the MinGW-64 bin folder.