View previous topic :: View next topic |
Author |
Message |
dman777 Veteran
Joined: 10 Jan 2007 Posts: 1004
|
Posted: Tue Apr 28, 2015 3:04 am Post subject: Sdlmame .160 Fatal error: SDL2/SDL_ttf.h: No such file |
|
|
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 |
|
|
mir3x Guru
Joined: 02 Jun 2012 Posts: 455
|
Posted: Wed Apr 29, 2015 4:58 pm Post subject: |
|
|
Just emerge sdl2-ttf ( which installs /usr/include/SDL2/SDL_ttf.h so should be ok ) _________________ Sent from Windows |
|
Back to top |
|
|
dman777 Veteran
Joined: 10 Jan 2007 Posts: 1004
|
Posted: Thu Apr 30, 2015 3:00 am Post subject: |
|
|
Thanks...worked out great. _________________ <h5>Checkout <em>#grandmasboy</em> on <em>freenode</em>...chat with jayP bot from the movie!</h5> |
|
Back to top |
|
|
|