cpp-gui-template-sdl2-opengl
cpp-gui-template-sdl2-opengl copied to clipboard
Error while loading shared library on ubuntu 24.04 (WSL2)
Hi checked this out to educate myself on packing. Installed fine on windows, and could uninstall. Building the same source on the same windows machine under WSL using gcc when I tried to run the ./App file it says:
./App: error while loading shared libraries: libSDL2-2.0.so.0: cannot open shared object file: No such file or directory
which is fair enough as the only other file in bin apart from the App exe is:
App_libSDL2-2.0.so.0.3000.9
Any advice?
Thanks
Mhh I did indeed not try to compile under WSL. I think I need to catch this better in the build, as it currently probably goes the generic Linux route.
Can you give me your versions used (Windows & gcc)? I'll try to replicate.