[poppler] PDFDocument.h:33:25: error: poppler-qt4.h: No such file or directory

Maciej Mrozowski reavertm at gmail.com
Sun Nov 4 15:23:25 PST 2012


On Sunday 04 of November 2012 16:02:31 Ihar `Philips` Filipau wrote:
> On 11/4/12, Hongyi Zhao <hongyi.zhao at gmail.com> wrote:
> > Hi all,
> > 
> > I've compiled the latest poppler git version from here:
> > 
> > git clone git://git.freedesktop.org/git/poppler/poppler
> > 
> > The compiling was done with the following steps:
> > 
> > $ ./configure --enable-poppler-qt4 && make && make install
> > 
> > This will install the poppler with qt4 wrapper under /usr/local.
> 
> Why not try then to use the `--prefix` option to install it under the /usr?

Because /usr is for pkg-controlled libs. It's not where user-supplied 
libraries should be installed (unless you like mess and don't mind issues in a 
future). /usr/local is fine, but...

>> Then, I proceed to compile the svn version of texstudio, but I meet the
>> following errors:

This is likely a problem with texstudio that it either doesn't use pkgconfig 
Poppler module to locate Poppler in system or uses it wrong (for instance 
forgets to append poppler's include directories, like it seems here).

-- 
regards
MM
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20121105/cda71efa/attachment.pgp>


More information about the poppler mailing list