Hi Andreas,
**cc'ing list incase someone looks for directions to build on F13 in the
future**
I found the original email on poppler again. I've managed to get it to build
on command line, but eclipse is still giving me problems. I'll figure it
out. Here are the changes I needed to make to build on command line:
----
1. The files that define #include <poppler/CairoOutputDev.h> in the
refactored code were in:
/src/pdf/poppler/XojPopplerDocument.cpp
/src/pdf/poppler/XojPopplerPage.cpp
/src/pdf/poppler/XojPopplerPage.h
Also, I think the definition in XojPopplerPage.cpp should be redundant.
----
2. The linker needs to have the libs explicitly specified. The Makefile.in
files need to have
LIBS = @LIBS@
changed to
LIBS = @LIBS@ -lz
I'm not sure how to do this in Makefile.am. I had to make the changes
manually. Maybe someone with more autotools knowledge would know?
----
Xournal++ looks great. It was extremely responsive, and I managed to load a
PDF into it and annotate it successfully. Keep up the great work!
Matt
On Thu, Apr 21, 2011 at 10:33 PM, Matthew Chan <talc...@gmail.com> wrote:
> Hi Andreas,
>
> I manage to work around the autotools errors, but I'm getting a
> cairoOutputDev.h error now.
>
> I saw something on the mailing list about a special poppler version? Could
> you let me know what changes I need to make to make it build please?
>
> My build error is as follows:
>
> make -j4 all
> make all-recursive
> make[1]: Entering directory `/home/matthew/workspace/Xournal++/build'
> Making all in src
> make[2]: Entering directory `/home/matthew/workspace/Xournal++/build/src'
> In file included from
> /home/matthew/workspace/Xournal++/src/control/jobs/../../view/PdfView.h:15,
> from
> /home/matthew/workspace/Xournal++/src/control/jobs/ExportJob.cpp:3:
> /home/matthew/workspace/Xournal++/src/control/jobs/../../view/../pdf/poppler/XojPopplerPage.h:22:36:
> error: poppler/CairoOutputDev.h: No such file or directory
>
> I managed to work around the autotools error by issuing `autoreconf` and
> `aclocal` again. The original version of autotools was too old to build on
> my system. Just wanted to let you know in case someone else asks you.
>
> Thanks for your help,
> Matt
>
------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been
demonstrated beyond question. Learn why your peers are replacing JEE
containers with lightweight application servers - and what you can gain
from the move. http://p.sf.net/sfu/vmware-sfemails
_______________________________________________
Xournal-devel mailing list
Xournal-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xournal-devel