Jump to content

Extremely simple and basic PDF Library for C++

I'm looking for a PDF Library for C++, that is extremely basic, and mainly tremendously simple to install. It being cross-platform is OK, but not necesary, if it complicates things (like installation) a bit. I'm stressing on 'simple' and 'basic' as I've never installed a library before, nor know how to... I'm using Visual Studio 2015 Community on Windows 7 (if that helps...).

 

Thanks a ton in advance!

Nothing to see here ;)

Link to comment
https://linustechtips.com/topic/623838-extremely-simple-and-basic-pdf-library-for-c/
Share on other sites

Link to post
Share on other sites

13 hours ago, gabrielcarvfer said:

Check out PoDoFo ( http://podofo.sourceforge.net/ ). Their API and documentation is on the Support page.

I believe it requires other libs to be installed - that's a no-go for me. But a thread over on Stack Overflow, mentions LibHaru, supposedly simpler than PoDoFo... I just want to create a PDF file and output text to it. Can LibHaru achieve that? If yes, can you tell me how to install it?

 

EDIT: Did some googling around - LibHaru only has MakeFiles... I've no experience with them :(. Can you walk me through the installation process. Can you also suggest a few more basic libraries - I don't know anything about 3rd-party libs...

Edited by Anand_Geforce

Nothing to see here ;)

Link to post
Share on other sites

5 hours ago, gabrielcarvfer said:

As far as I know, LibHaru is pretty outdated. You can get it using git clone from their repository, then following instructions from INSTALL file. To use it with your program, you just need to link it to your program. 

What toolchain and OS are you using?

I've downloaded LibHaru, but as I suspected, they've only got makefiles, no DLLs or .lib's! Following their instruction, leads to an error from nmake. Can you help me with this?

Nothing to see here ;)

Link to post
Share on other sites

4 hours ago, gabrielcarvfer said:

Ok, I've got it, bug what OS and toolchain are you using? You just need to compile everything. They have pretty nice instructions on how to do that, but if you don't have the right tools, you're not going to do much. 

 

If you're using linux/bsd/whatever unix like, or Windows with Msys2/msys/cygwin, you can follow their instructions: https://github.com/libharu/libharu/wiki/Installation

Using Visual Studio 2015 on Windows 7 Ultimate SP1. I want the static library, but nmake throws an error, when I follow their instructions from the GitHub page you linked, as I mentioned earlier...

Nothing to see here ;)

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×