Hi all,

Georg's advice is only valid for Linux (or other Unix-like), not
for Windows. On Windows, give the directory where podofo.h was
installed to as an include directory and give it libpodofo.dll
(with full path name to where it's located) as library to link.
It's also important to write #define USING_SHARED_PODOFO
on a line by itself before the line with #include <podofo.h>
or "podofo.h" (don't know exactly which, I don't use Windows)
when using the DLL (leave it off when using a podofo.lib or
libpodofo.lib or similar .lib file which is a static library,
not a dynamic one like the DLL).

To build PoDoFo itself, CMake (versions 3.x recommended, anything
older than 2.6 will fail/break/not work) needs to be used. Use the
"MinGW Makefiles" generator (-G option to cmake) to build for use
in Code::Blocks. Refer to the README.html coming with PoDoFo for
details (note: JPEG_COMPATIBLE_RUNTIME isn't supported any more).

Best regards,

Matthew Brincke

P.S. I've removed you from Cc: as you need to be subscribed to the
podofo-users mailing list anyway to post on it.

> Georg Funk <georgf...@hotmail.de> wrote on 29 July 2017 at 13:57:
> 
> Hi Kamila.
> 
> try to include the directory /usr/include/podofo and add /usr/lib (or where 
> libpodofo.so lives) to your linking path.
> 
> Regards,
> 
> Georg
> 
> ---
> 
> Von: Kamila ismayilova <ismayilova2...@gmail.com>
>  Gesendet: Donnerstag, 27. Juli 2017 12:19
>  An: podofo-users@lists.sourceforge.net
>  Betreff: [Podofo-users] Include lib
> 
> Hello 
>  I want to use PoDoFo library but I can't include it in code blocks.
>  Can you help ?
>  Or maybe I should  work in other program? 
>  Like Visual studio etc. 
> 
>  Kamila Ismayilova

> ------------------------------------------------------------------------------
> 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

------------------------------------------------------------------------------
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