Since about 2-3 weeks, I find myself unable to compile STK git version on my system.
The error I get is:
- {l Code}: {l Select All Code}
[ 46%] Building CXX object CMakeFiles/supertuxkart.dir/src/audio/sfx_openal.cpp.o
In file included from /usr/include/fribidi/fribidi.h:35:0,
from /home/aaditya/git/stk/stk-code/src/utils/translation.cpp:40:
/usr/include/fribidi/fribidi-common.h:61:20: fatal error: glib.h: No such file or directory
compilation terminated.
CMakeFiles/supertuxkart.dir/build.make:422: recipe for target 'CMakeFiles/supertuxkart.dir/src/utils/translation.cpp.o' failed
make[2]: *** [CMakeFiles/supertuxkart.dir/src/utils/translation.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:74: recipe for target 'CMakeFiles/supertuxkart.dir/all' failed
make[1]: *** [CMakeFiles/supertuxkart.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
Following this link, glib.h does seem to be present on my system:
- {l Code}: {l Select All Code}
$ find /usr -iname glib.h
/usr/include/glib-2.0/glib.h
/usr/include/glib-1.2/glib.h
OS is Slackware64-current, with following packages:
- {l Code}: {l Select All Code}
glib-1.2.10
glib2-2.46.2
glibc-2.23
gcc-5.3.0
xorg-server-1.18.2
mesa-11.1.2
fribidi-0.19.7
System details here
Edit
stk-code git version has the following last commit (link):
- {l Code}: {l Select All Code}
Author: Marianne Gagnon <auria.mg@gmail.com>
Date: Mon Mar 21 20:16:59 2016 -0400
Merge most modifications by egirsova to build 64-bits on OS X