Hi,
I have a problem with building my own DFB++ apps.
I'm compiling with
g++ `pkg-config dfb++ --cflags --libs` source.cpp
Though compilation completes fine, the app exits on startup with
(!) [ NO NAME 0.587] ( 2518) *** Assertion [((IAny*)thiz)->magic ==
D_MAGIC("DirectInterface")] failed *** [idirectfb.c:314 in
IDirectFB_EnumVideoModes()]
Trace/breakpoint trap
This is even true for the "simple" example that ships with DFB++.
However, when compiling with
g++ source.cpp DFB++/dfb++/.libs/libdfb++ -I/usr/local/include/dfb++
-I/usr/local/include/directfb -L/usr/local/lib /usr/local/lib/libdirectfb.so
/usr/local/lib/libfusion.so /usr/local/lib/libdirect.so -lpthread -ldl -lz
everything runs fine. But I can't believe I need a DFB++ build tree in order
to compile my apps.
Oh and yes, I've checked that DFB++ was installed correctly (ctimes of the
files in /usr/local have changed).
I'm using DFB and DFB++ cvs from about two weeks ago configured with
--enable-debug and --with-gfxdrivers=matrox.
Has anybody else seen this? Any hints?
Regards
Jan
--
"Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen!
Jetzt aktivieren unter http://www.gmx.net/info