[Gambas-user] GB.PDF

Alex gambas at ...1077...
Wed May 10 14:58:31 CEST 2006


Hello everybody!

Everytime I try to compile Gambas 1.9.29 the compilation fails at the
gb.pdf component. Here is the compiler output.

make[3]: Entering directory `/root/gambas2-1.9.29/gb.pdf'
Making all in src
make[4]: Entering directory `/root/gambas2-1.9.29/gb.pdf/src'
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I. -I.. -I/usr/include/poppler     -pipe -Wall -fno-exceptions
-Wno-unused-value -fvisibility=hidden -g -Os -fno-omit-frame-pointer
-MT main.lo -MD -MP -MF ".deps/main.Tpo" -c -o main.lo main.cpp; \
        then mv -f ".deps/main.Tpo" ".deps/main.Plo"; else rm -f
".deps/main.Tpo"; exit 1; fi
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/poppler -pipe -Wall
-fno-exceptions -Wno-unused-value -fvisibility=hidden -g -Os
-fno-omit-frame-pointer -MT main.lo -MD -MP -MF .deps/main.Tpo -c
main.cpp  -fPIC -DPIC -o .libs/main.o
In file included from main.cpp:28:
CPdfDocument.h:35:20: error: PDFDoc.h: No such file or directory
CPdfDocument.h:36:29: error: SplashOutputDev.h: No such file or
directory
CPdfDocument.h:37:18: error: Page.h: No such file or directory
CPdfDocument.h:38:25: error: goo/GooList.h: No such file or directory
main.cpp:33:26: error: GlobalParams.h: No such file or directory
CPdfDocument.h:69: error: ISO C++ forbids declaration of 'PDFDoc' with
no type
CPdfDocument.h:69: error: expected ';' before '*' token
CPdfDocument.h:70: error: ISO C++ forbids declaration of
'SplashOutputDev' with no type
CPdfDocument.h:70: error: expected ';' before '*' token
CPdfDocument.h:71: error: ISO C++ forbids declaration of 'Page' with no
type
CPdfDocument.h:71: error: expected ';' before '*' token
CPdfDocument.h:72: error: ISO C++ forbids declaration of 'GooList' with
no type
CPdfDocument.h:72: error: expected ';' before '*' token
main.cpp: In function 'int GB_INIT()':
main.cpp:60: error: 'globalParams' was not declared in this scope
main.cpp:62: error: expected type-specifier before 'GlobalParams'
main.cpp:62: error: expected `;' before 'GlobalParams'
make[4]: *** [main.lo] Error 1
make[4]: Leaving directory `/root/gambas2-1.9.29/gb.pdf/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/gambas2-1.9.29/gb.pdf'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/gambas2-1.9.29/gb.pdf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/gambas2-1.9.29'
make: *** [all] Error 2

I am running Arch Linux 0.71 Gcc 4.0.3 with the stock 2.6.16-ARCH
kernel.
My configure line:

./configure --prefix=/usr/ --with-qt-includes=/opt/qt/include
--with-qt-libraries=/opt/qt/lib

Looking thru the output it seems like its looking for some files
PDFDoc.h etc. that it can't find. Do I miss some dependencies?
I would really like to see this PDF component in action.
Thanks,

Alex





More information about the User mailing list