делаю так:
hg clone http://hg.icculus.org/icculus/hge-unix/
cd hge-unix/
cmake CMakeLists.txt
make
[ 1%] Building CXX object src/core/CMakeFiles/hge.dir/CxImage/ximapng.cpp.o
/home/open/hge-unix/src/core/CxImage/ximapng.cpp: In member function ‘bool CxImagePNG::Decode(CxFile*)’:
/home/open/hge-unix/src/core/CxImage/ximapng.cpp:145:34: error: ‘png_info’ has no member named ‘trans_color’
/home/open/hge-unix/src/core/CxImage/ximapng.cpp:147:34: error: ‘png_info’ has no member named ‘trans_color’
/home/open/hge-unix/src/core/CxImage/ximapng.cpp:155:36: error: ‘png_info’ has no member named ‘trans_alpha’
/home/open/hge-unix/src/core/CxImage/ximapng.cpp:169:52: error: ‘png_info’ has no member named ‘trans_color’
/home/open/hge-unix/src/core/CxImage/ximapng.cpp:170:52: error: ‘png_info’ has no member named ‘trans_color’
/home/open/hge-unix/src/core/CxImage/ximapng.cpp:171:52: error: ‘png_info’ has no member named ‘trans_color’
make[2]: *** [src/core/CMakeFiles/hge.dir/CxImage/ximapng.cpp.o] Ошибка 1
make[1]: *** [src/core/CMakeFiles/hge.dir/all] Ошибка 2
make: *** [all] Ошибка 2