pango-viewer compilation problems



Hi,

I'm just starting to use Pango, and I have a problem compiling it. Without Qt 
it compiles fine, but with Qt (since I want to use pango-viewer), I have the 
following error:

------------------------------

[...]
Making all in examples
make[2]: Entering directory `/home/deepayan/pango-1.0.5/examples'
/bin/sh ../libtool --mode=link c++  -g -O2  -o pango-viewer  viewer-qt.o 
../pango/libpangox-1.0.la ../pango/libpango-1.0.la  -L/usr/share/qt/lib -lqt  
moc_viewer-qt.o 
c++ -g -O2 -o .libs/pango-viewer viewer-qt.o moc_viewer-qt.o  
../pango/.libs/libpangox-1.0.so 
/home/deepayan/pango-1.0.5/pango/.libs/libpango-1.0.so -L/usr/X11R6/lib -lX11 
../pango/.libs/libpango-1.0.so /usr/lib/libgobject-2.0.so 
/usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -L/usr/share/qt/lib 
-lqt -Wl,--rpath -Wl,/usr/local/stow/pango/lib
viewer-qt.o(.text+0x1f5c): In function `main':
/home/deepayan/pango-1.0.5/examples/viewer-qt.cc:514: undefined reference to 
`QCDEStyle::QCDEStyle(bool)'
collect2: ld returned 1 exit status
make[2]: *** [pango-viewer] Error 1
make[2]: Leaving directory `/home/deepayan/pango-1.0.5/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/deepayan/pango-1.0.5'
make: *** [all-recursive-am] Error 2

---------------------------------

I'm using qt3 (3.0.5) on Debian. Is there a specific version requirement ?

On a related note, are there any (other) applications available that actually 
use pango (something that can be imitated, perhaps, to create new 
applications) ?

Thanks,
Deepayan





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]