anura-engine / anura

Anura Engine
Other
384 stars 78 forks source link

libSDL2_image.so: undefined references #343

Open agamemnonpsx opened 1 year ago

agamemnonpsx commented 1 year ago

I was trying to build anura (love this engine) but I ran into this problem:

Linking : anura /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../lib/libSDL2_image.so: undefined reference to TIFFReadRGBAImageOriented@LIBTIFF_4.0' /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../lib/libSDL2_image.so: undefined reference toTIFFGetField@LIBTIFF_4.0' /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../lib/libSDL2_image.so: undefined reference to TIFFSetErrorHandler@LIBTIFF_4.0' /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../lib/libSDL2_image.so: undefined reference toTIFFClose@LIBTIFF_4.0' /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../lib/libSDL2_image.so: undefined reference to `TIFFClientOpen@LIBTIFF_4.0' collect2: error: ld returned 1 exit status make: *** [Makefile:197: anura] Error 1

I am building it on Manjaro Linux (so basically Arch Linux) and I installed all the dependencies, so I'm a little bit lost as to what is causing this problem