[SDL] Linking SDL2_image
tomius1994 at gmail.com
Sat Mar 16 12:19:02 PDT 2013
What am I doing wrong when trying to link SDL2_image (is built from latest
hg, with *$ ./autogen.sh $ ./configure $ make $ sudo make install*)?
*$ g++ test.cpp -o test -lSDL2 -lSDL2_image*
*./test: error while loading shared libraries: libSDL2_image-2.0.so.0:
cannot open shared object file: No such file or directory*
Yet the file does exist:
*$ sudo find / -name "libSDL2_image-2.0.so.0"*
Thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SDL