Am Freitag 16 Dezember 2011, 07:53:23 schrieb Andreas Butti:
> The Problem is that I access Poppler through internal Headers, which are
> not installed on every system (e.g. Ubuntu install these headers).
> 
> But for me there is currently no other way, so I created a workaround,
> which didn't work for you.

The problem is that your "workaround" only works if the system poppler version 
is equal to the poppler version that you used for creating it. Otherwise 
things break even worse. 

(I suspect you used poppler-0.16... I have poppler-0.18 installed on Gentoo 
and cant compile xournalpp either.)

If you really want to go this way, you need to check the installed poppler 
library version and provide a separate workaround file for each. However, this 
is going to become ugly quickly; people tried similar things with libjpeg and 
an uncountable number of bugs resulted... And the internal header is not going 
to return magically.

Cheers,
Andreas

> 
> 
> You have to install poppler/CairoOutputDev.h OR you have to change
> 
> src/pdf/popplerdirect/workaround/workaround.h
> 
> change
> 
> > #ifdef HAVE_POPPLER_CAIRO_OUTPUT_DEV
> > #include <poppler/CairoOutputDev.h>
> > #else
> > #include "CairoOutputDev.h"
> > #endif
> 
> to (delete 4 lines)
> 
> > #include "CairoOutputDev.h"
> 
> and try again (make)
> 
> 
> Andreas

-- 

Andreas K. Huettel
Gentoo Linux developer 
dilfri...@gentoo.org
http://www.akhuettel.de/

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Xournal-devel mailing list
Xournal-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xournal-devel

Reply via email to