On Tue, Sep 18, 2007 at 11:42:31AM +0200, Loris Boillet wrote:
> Hello,

Hi.

> 
> On a Debian stable, I got following error when I ran make:
> 
> g++ -c -pipe -O2 -DNDEBUG -Wall -W -O2 -D_REENTRANT  -DQT_NO_DEBUG
> -DQT_THREAD_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I../xpdf
> -I../xpdf/xpdf -I../xpdf/goo -I../xpdf/splash -I../xpdf/fofi
> -I/usr/share/qt3/include -o QOutputDevPixmap.o QOutputDevPixmap.cpp
> QOutputDevPixmap.cpp:26:21: error: qpixmap.h: No such file or directory
> QOutputDevPixmap.cpp:27:20: error: qimage.h: No such file or directory

Seems like header files are missing.

> QOutputDevPixmap.h:40: error: 'QImage' does not name a type
> QOutputDevPixmap.h:43: error: 'QImage' does not name a type
> QOutputDevPixmap.cpp: In constructor
> 'QOutputDevPixmap::QOutputDevPixmap(Guchar*)':
> QOutputDevPixmap.cpp:40: error: class 'QOutputDevPixmap' does not have
> any field named 'm_image'
> QOutputDevPixmap.cpp: In member function 'virtual void
> QOutputDevPixmap::endPage()':
> QOutputDevPixmap.cpp:63: error: 'm_image' was not declared in this scope
> QOutputDevPixmap.cpp:79: error: 'm_image' was not declared in this scope
> QOutputDevPixmap.cpp:79: error: 'uchar' was not declared in this scope
> QOutputDevPixmap.cpp:79: error: expected primary-expression before ')'
> token
> QOutputDevPixmap.cpp:79: error: 'QImage' has not been declared
> QOutputDevPixmap.cpp:79: error: 'QImage' was not declared in this scope
> make[2]: *** [QOutputDevPixmap.o] Error 1
> make[2]: Leaving directory
> `/home/loris/tmp/pdfedit-0.3.2/src/kpdf-kde-3.3.2'
> make[1]: *** [qoutputdevices] Error 2
> make[1]: Leaving directory `/home/loris/tmp/pdfedit-0.3.2/src'
> make: *** [src] Error 2
> 
> Installation of libqt3-headers solves the problem. It seems to me that
> './configure' should check for the presence of qt3 headers, right ?

Yes, It should check these headers. I have reported this as a bug #171 (see
http://pdfedit.petricek.net/bt/view.php?id=171).

Best regards
-- 
Michal Hocko


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Pdfedit-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdfedit-support

Reply via email to