Awesome! I finally got it to compile but I cannot seem to be able to use the 
library in my program.
>From examples online, if I #include<podofo.podofo.h> I should be given access 
>to using all the other classes within the PoDoFo library and their respective 
>public functions.

I have tried using
#include<podofo.h> or #include<podofo-base.h> but I still received the 
‘undefined reference to…’ error
Any tips? Or reasons why this might be happening?

Best regards,
Beatriz Manrique
BS Electrical Engineering (Computer Engineering Specialization) || SMU Class of 
2019
Minor Spanish
E: bmanri...@smu.edu

From: Mattia Rizzolo<mailto:mat...@mapreri.org>
Sent: Friday, April 14, 2017 6:23 AM
To: Manrique, Beatriz<mailto:bmanri...@mail.smu.edu>
Cc: podofo-us...@lists.sf.net<mailto:podofo-us...@lists.sf.net>
Subject: Re: [Podofo-users] Installation and Compiling PoDoFo

On Thu, Apr 13, 2017 at 09:12:19PM +0000, Manrique, Beatriz wrote:
> I am having trouble finding any sort of documentation or help with installing 
> and compiling PoDoFo. I think I have installed the library as I can find it 
> on my virtual machine in /usr/include but I am lost after that. I have also 
> installed the necessary dependencies:

libpodofo is in the official Ubuntu repository, and in particular 16.04
ships with podofo 0.9.3.  If that version is cool enough for you, you
can just install it using apt.  To also get the headers and the .so
symlink just run
    sudo apt install libpodofo-dev
After that if you are using any sane build system for your project you
should be able to dynamically link to it.

>   *   cppunit (optional)
>   *   freetype2
>   *   fontconfig (Linux/Unix only)
>   *   libjpeg (optional)
>   *   libtiff (optional)
>   *   libpng (optional)
>   *   OpenSSL
>   *   zlib

Otherwise you can only use the ubuntu package to get the
build-dependencies of libpodofo installed:
    sudo apt build-dep libpodofo
(this requires deb-src lines in /etc/apt/sources.list)
This won't pull cppunit, btw.

--
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to