How can I use this library on visual studio? (I'm a beginner programmer.)

72 views
Skip to first unread message

CHAN HAENG Lee

unread,
Feb 4, 2017, 11:21:09 AM2/4/17
to PDFHummus interest group

Nice to meet you. 

I've studied programming for 8 months.

While I was searching the tool which i need, I can find this PDFWriter.

After downloading header and lib files, I changed my project property of Visual studio.
  (e.g., FreeType.lib;LibTiff.lib;ZLib.lib;PDFWriter.lib;)

First, entered the header path on Include Directories
Second, entered the lib path on Library Directories
Third, entered lib name on the Additional Dependencies of Linker Input                                                                             

I copied test sample. And built it. 

But it generated lots of errors. like this:


How can i solve this? All errors are related to unresolve extern symbol.


I even changed the address of files not to generate errors, but I can't still run this program.


Did I omit some options to enable this library?


Please tell me how to deal with this problem.


Thank you..

Gal Kahana

unread,
Feb 5, 2017, 2:58:16 PM2/5/17
to PDFHummus interest group
Hi,
this page provides instructions on how to build and run the sample projects.
On PC it will create a visual studio solution that will, by default, generate static libs, that you can use in your own project.
you may want to learn a little bit about using static libs or dlls (which you can create instead) if you are not yet familiar with the concept.

Regards,
Gal.

CHAN HAENG Lee

unread,
Mar 5, 2017, 9:17:23 AM3/5/17
to PDFHummus interest group
I finally did it!!

after your reply, I retried to make the first pdf file through instructions on how to build and run again and again.

And I kept track of the instructions steadily. Even though I made visual project files through cmake, I couldn't still build my first pdf.

Because I didn't know that I need to use pdfwritertestplayground. 

many days have passed by, but I can now do the first build. Thank you.





Reply all
Reply to author
Forward
0 new messages