question

DangDKhanh-2637 avatar image
0 Votes"
DangDKhanh-2637 asked DangDKhanh-2637 commented

How to merge 2 pdf files?

Hi,
I've been reading about podofo, setting it up is quite difficult for me.
Is there any easy way in c++?

Thanks you.

c++
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

GuidoFranzke avatar image
0 Votes"
GuidoFranzke answered DangDKhanh-2637 commented

Hello,
read the error descriptions of LNK2019:
Functions are missing from a PoDoFo class/namespace. You must include the source of the class/namespace. podofo.sourceforge.net .
In addition add the source for TLitePDFException to your project. index.html
Did you try to build the examples of litePDF on the webpage?
Since the lib is not Standard, you should ask in activity
Regards, Guido

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,
Thank you for the explanation. I understood the problem.
This will help me a lot.

0 Votes 0 ·
RLWA32-6355 avatar image
0 Votes"
RLWA32-6355 answered DangDKhanh-2637 commented

If you don't need to write your own code to merge pdf files you can use the free version of pdftk-the-pdf-toolkit


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,
i want to integrate code into my solution.
I will try to figure it out again.

Thank you for this suggestion.

0 Votes 0 ·

Hi,
after a while of searching i found this site,
this seems to be what i need. Download and follow the instructions from post
i tried build sdk with visual studio 2019(v142-18.5 c++17-) but got the following syntax error:

102812-image.png
I added include header file/linker to litePDF.lib entries but still no success.
can you check it?


0 Votes 0 ·
image.png (32.6 KiB)