[Gambas-user] Problems compiling gb.pdf

Benoit Minisini gambas at ...1...
Mon Sep 3 18:08:35 CEST 2007


On lundi 03 septembre 2007, Toni Foerster wrote:
> Hi
>
> today i tried to compile Gambas 1.9.50 (poppler_0.5.91 is installed) but
>
> every time i compiled gb.pdf it stopped with following message:
> > main.cpp:62: error: no matching function for call to
>
> 'GlobalParams::GlobalParams(const char [12])'
>
> > /usr/include/poppler/GlobalParams.h:133: note: candidates are:
>
> GlobalParams::GlobalParams()
>
> > /usr/include/poppler/GlobalParams.h:128: note:
>
> GlobalParams::GlobalParams(const GlobalParams&)
>
> so i took a look at main.cpp and found in line 62:
> > globalParams = new GlobalParams("/etc/xpdfrc")
>
> the file "/etc/xpdfrc" only exists if i install xpdf. But even if i
> install xpdf or create this file, the compiling stops with the same error.
>
> so i changened this line in main.cpp to
>
> > globalParams = new GlobalParams()
>
> And it compiles without problems. To tell the truth, i don't what i'm
> breaking by removing this but it seems to work. I hope someone could
> help me. Because i don't think that this is right.
>
> Toni
>

The problem is fixed in the svn trunk, exactly this way: if poppler version is 
0.6 (or 0.5.9x) then the "/etc/xpdfrc" is removed.

But I can't test it, as I have only poppler 0.5 on my machine (the stable 
version). So if you can compile the last revision, you will tell me if it 
works.

Regards,

-- 
Benoit Minisini




More information about the User mailing list