**forwarding to list**
---------- Forwarded message ----------
From: Matthew Chan <talc...@gmail.com>
Date: Fri, Apr 22, 2011 at 2:28 PM
Subject: Re: xournal++ cairoOutputDev.h build error
To: Andreas Butti <andreasbu...@gmail.com>
Hi Andreas,
I've managed to build in eclipse now. There was a weird eclipse bug causing
build errors when I did a autorebuild following a clean. If I manually issue
a build all, it works fine.
I'm using Fedora 13 right now, but Fedora 14 doesn't publish the
CairoOutputDev.h header either. I will ask around in the fedora community to
see what ways we can work around this. I'm fairly sure the fedora packaging
requirements forbid including external libraries in projects. We will need
to ask the poppler maintainer to include it or something.
Matt
On Fri, Apr 22, 2011 at 1:59 PM, Andreas Butti <andreasbu...@gmail.com>wrote:
> Am 22.04.2011 08:20, schrieb Matthew Chan:
> > Hi Andreas,
> >
> > **cc'ing list incase someone looks for directions to build on F13 in
> > the future**
> I'm also working on a website for Xournal++, this website will contain a
> Wiki so we can share such information for the future...
>
> But the website is also not finished yet;-)
>
> >
> > 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.
> Create a C++ Project, in the Project Settings select "C++ Build" disable
> "Generate Makefile automatically" select your build location, where you
> run ./configure
>
> Because I wouldn't have all files in the root I created a "build"
> folder, so the Value is "${workspace_loc:/Xournal++/build}"
>
>
> > 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.
>
> The problem is not all distributions share all Poppler header files.
> Ubuntu does, Gentoo does not, what distribution are you using?
>
> But I need this files, else PDF export would not be possible in this way
> it is now (I support now multiple PDF merge, even if Xournal only
> support one PDF currently)
>
> > ----
> > 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?
>
> As I wrote at least one time in this Mailinglist: I'm searching for
> somebody with good autotools knowledge...
>
> > ----
> >
> > 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!
>
> Thank you;-)
>
> >
> > 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