Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sdlmame .160 Fatal error: SDL2/SDL_ttf.h: No such file
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
dman777
Veteran
Veteran


Joined: 10 Jan 2007
Posts: 1004

PostPosted: Tue Apr 28, 2015 3:04 am    Post subject: Sdlmame .160 Fatal error: SDL2/SDL_ttf.h: No such file Reply with quote

Hi, I am trying to compile Mame .160(on my Gentoo system) which I git cloned from https://github.com/mamedev/mame/tree/mame0160. I simply did a `make` and everything went well until:

Code:
Creating ../../../../linux_gcc/bin/x64/Release
Compiling src/osd/osdnet.c...
Compiling src/osd/modules/lib/osdobj_common.c...
Compiling src/osd/modules/debugger/none.c...
Compiling src/osd/modules/debugger/debugint.c...
Compiling src/osd/modules/debugger/debugwin.c...
Compiling src/osd/modules/debugger/debugqt.c...
Compiling src/osd/modules/font/font_sdl.c...
../../../../../src/osd/modules/font/font_sdl.c:12:26: fatal error: SDL2/SDL_ttf.h: No such file or directory
compilation terminated.
make[2]: *** [../../../../linux_gcc/obj/x64/Release/osd_sdl/src/osd/modules/font/font_sdl.o] Error 1
make[1]: *** [osd_sdl] Error 2
make: *** [linux_x64] Error 2


Any suggestions, please?

Just to note, I current have libsdl2 installed:

[
Code:
ebuild   R    ] media-libs/libsdl2-2.0.3-r200  USE="X alsa joystick opengl sound threads udev video (-altivec) (-custom-cflags) -dbus (-fusionsound) -gles -haptic -nas -oss -pulseaudio -static-libs -tslib -wayland -xinerama -xscreensaver" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="mmx sse sse2 -3dnow" 0 KiB

_________________
<h5>Checkout <em>#grandmasboy</em> on <em>freenode</em>...chat with jayP bot from the movie!</h5>
Back to top
View user's profile Send private message
mir3x
Guru
Guru


Joined: 02 Jun 2012
Posts: 455

PostPosted: Wed Apr 29, 2015 4:58 pm    Post subject: Reply with quote

Just emerge sdl2-ttf ( which installs /usr/include/SDL2/SDL_ttf.h so should be ok )
_________________
Sent from Windows
Back to top
View user's profile Send private message
dman777
Veteran
Veteran


Joined: 10 Jan 2007
Posts: 1004

PostPosted: Thu Apr 30, 2015 3:00 am    Post subject: Reply with quote

Thanks...worked out great.
_________________
<h5>Checkout <em>#grandmasboy</em> on <em>freenode</em>...chat with jayP bot from the movie!</h5>
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum