Pascal Stumpf writes:
> On Sun, 20 Jul 2014 08:36:15 -0600, "Anthony J. Bentley" wrote:
> > Pascal Stumpf writes:
> > > On Sun, 20 Jul 2014 00:17:14 -0600, "Anthony J. Bentley" wrote:
> > > > "Anthony J. Bentley" writes:
> > > > > Hi Pascal,
> > > > >
> > > > > Pascal Stumpf writes:
> > > > > > Summoning Wars is an open source role-playing game, featuring bo=
> th
> > > > > > a single-player and a multiplayer mode for about 2 to 8 players.
> > > > >
> > > > > Tried it on amd64 (Jul 18 snap). Got a segmentation fault. :(
> > > > >
> > > > > The segfault is probably not the problem directly; I have seen sim=
> ilar
> > > > > segfaults with openal when the parent app closes unexpectedly like=
> thi=3D
> > > s.
> > > >
> > > > snip...
> > > >
> > > > > CEGUI::InvalidRequestException in function 'void CEGUI::Font_xmlHa=
> ndle=3D
> > > r::c=3D3D
> > > > > reateFreeTypeFont(const CEGUI::XMLAttributes&)' (/usr/ports/pobj/c=
> egui=3D
> > > -0.8=3D3D
> > > > > .4/cegui-0.8.4/cegui/src/Font_xmlHandler.cpp:239) : CEGUI was comp=
> iled=3D
> > > wit=3D3D
> > > > > hout freetype support.
> > > > > [D] /usr/ports/pobj/summoningwars-0.5.8/sumwars-0.5.8/src/gui/main=
> _gui=3D
> > > .cpp=3D3D
> > > > > :225 main > Program died with exception CEGUI was compiled without=
> fre=3D
> > > etyp=3D3D
> > > > > e support.
> > > >
> > > > Indeed, on the same machine port-lib-depends-check complains about
> > > > "Extra: freetype.22". For some reason freetype didn't get picked up=
> ?
> > > =
>
> > > Well, what's the output of "make configure" for CEGUI, CMakeOutput.log
> > > etc.?
> > =
>
> > I've attached the build output plus cegui's CMakeFiles directory...
> > =
>
>
> Does this help finding FreeType?
No, but this does:
diff --git a/x11/cegui/Makefile b/x11/cegui/Makefile
index c57d08a..6bcc197 100644
--- a/x11/cegui/Makefile
+++ b/x11/cegui/Makefile
@@ -53,7 +53,9 @@ CONFIGURE_ARGS += -DCEGUI_BUILD_PYTHON_MODULES=OFF \
-DCEGUI_BUILD_IMAGECODEC_TGA=OFF \
-DCEGUI_BUILD_IMAGECODEC_PVR=OFF \
-DCEGUI_USE_FRIBIDI=OFF \
- -DCEGUI_BUILD_LUA_MODULE=OFF
+ -DCEGUI_BUILD_LUA_MODULE=OFF \
+
-DFREETYPE_H_PATH_ft2build=${X11BASE}/include/freetype2/ft2build.h \
+
-DFREETYPE_H_PATH_ftconfig=${X11BASE}/include/freetype2/config/ftconfig.h
CFLAGS += -pthread -I${X11BASE}/include -I${LOCALBASE}/include