first off, finding the right place to report bugs was kind of a showstopper for me. I went to CEGUI’s front page, clicked the "Bug Tracker" link and desparately tried to register with that bugtracker, but it turned out to not be possible. Not sure how much bug reports are never created due to this.
OK, now for the real problem. CEGUI’s pkg-config file specifies a broken include path. Configured with -DCMAKE_INSTALL_PREFIX=/usr -DCEGUI_LIB_INSTALL_DIR=lib the following pkg-config file is output:
Code: Select all
prefix=/usr
exec_prefix=${prefix}
libdir=${prefix}/lib64
includedir=${prefix}/include/cegui-0
moduledir=${prefix}/lib64/cegui-0.8
datafiles=${prefix}/share/cegui-0
Name: CEGUI-0
Description: The free GUI library for games and multi-media development.
Version: 0.8.3
Libs: -L${libdir} -lCEGUIBase-0
Cflags: -I${includedir} -I${includedir}/cegui
The Cflags part is incorrect. Once installed, the headers are in /usr/include/cegui-0/CEGUI -- note the different casefolding of the last component: The pkg-config file specifies a lowercase path, whereas in reality the path is in uppercase. As Windows ignores case, this problem will only show up on *nix systems and result in build systems unable to find the CEGUI headers.
CEGUI version is 0.8.3.
Valete,
Quintus