6&(%3$)*
September 4th, 2021, 05:11 PM
I already ran:
sudo apt-get install libSDL2-ttf-2.0-0
I tried to find the .h file:
pc2@pc:~$ find /usr|grep SDL_ttf.h
pc2@pc:~$ locate SDL_ttf.h
pc2@pc:~$ locate SDL2.h
pc2@pc:~$ locate SDL.h
/home/pc2/Desktop/MAME_Test/Make_MAME/mame/3rdparty/SDL2/include/SDL.h
/home/pc2/Desktop/MAME_Test/Make_MAME/mame/build/generated/includes/SDL2/SDL.h
/usr/include/SDL/SDL.h
pc2@pc:~$
In the bigger picture, I'm trying to build the modified MAME here, using the author's provided makefile:
$git clone https://github.com/M-J-Murray/mame.git
$cd mame
$make SUBTARGET=arcade -j8
After a few minutes of work, the build stops with a fatal error:
#include <SDL2/SDL_ttf.h> ... fatal error: SDL2/SDL_ttf.h: No such file or directory.
Python 3.8.10
Ubuntu 20.04.2 LTS
sudo apt-get install libSDL2-ttf-2.0-0
I tried to find the .h file:
pc2@pc:~$ find /usr|grep SDL_ttf.h
pc2@pc:~$ locate SDL_ttf.h
pc2@pc:~$ locate SDL2.h
pc2@pc:~$ locate SDL.h
/home/pc2/Desktop/MAME_Test/Make_MAME/mame/3rdparty/SDL2/include/SDL.h
/home/pc2/Desktop/MAME_Test/Make_MAME/mame/build/generated/includes/SDL2/SDL.h
/usr/include/SDL/SDL.h
pc2@pc:~$
In the bigger picture, I'm trying to build the modified MAME here, using the author's provided makefile:
$git clone https://github.com/M-J-Murray/mame.git
$cd mame
$make SUBTARGET=arcade -j8
After a few minutes of work, the build stops with a fatal error:
#include <SDL2/SDL_ttf.h> ... fatal error: SDL2/SDL_ttf.h: No such file or directory.
Python 3.8.10
Ubuntu 20.04.2 LTS