Hi, I'm trying to get Angband to compile with the SDL2 front end on OpenSuse Tumbleweed Linux distro, following the cmake compling instructions for Angband. The specific error comes from SDL_ttf, which I've compiled and installed version 2.22.x from source. Angband runs under terminal and x11 modes without issues. At this point I'm at a loss on how to get it working and I am new to Linux and compling in general.
The error during compiling as as follows:
Thanks for the help in advance.
The error during compiling as as follows:
Code:
/usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libSDL2_ttf.so: undefined reference to `SDL_RWread@SUSE_2.0.10' /usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libSDL2_ttf.so: undefined reference to `SDL_RWtell@SUSE_2.0.10' /usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libSDL2_ttf.so: undefined reference to `SDL_CreateRGBSurfaceWithFormatFrom@SUSE_2.0.5' /usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libSDL2_ttf.so: undefined reference to `SDL_RWsize@SUSE_2.0.10' /usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libSDL2_ttf.so: undefined reference to `SDL_RWclose@SUSE_2.0.10' /usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib64/libSDL2_ttf.so: undefined reference to `SDL_RWseek@SUSE_2.0.10' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/OurExecutable.dir/build.make:587: Angband] Error 1 make[1]: *** [CMakeFiles/Makefile2:280: CMakeFiles/OurExecutable.dir/all] Error 2 make: *** [Makefile:136: all] Error 2[/FONT]
Comment