wxPDFView folder/file not exists

Talk here about issues with one of the components hosted at wxCode, or suggest features for it.
Post Reply
dkaip
Super wx Problem Solver
Super wx Problem Solver
Posts: 334
Joined: Wed Jan 20, 2010 1:15 pm

wxPDFView folder/file not exists

Post by dkaip »

Hello.
At time of my free time i play with wxPDFView and PDFium.
I am trying to put wxPDFView work with only source files.
Trying that i can not found for #include "fpdfdoc/fpdf_doc.h" (wxPDFView/include/private/PDFViewBookmarks.h) in PDFium dir.

fpdf_doc.h there is only in ./pdfium/public/ dir.

At the pdfium/out/debug/obj/fpdfdoc/ dir there is no fpdf_doc.h file

Even if i download latest code with git clone https://pdfium.googlesource.com/pdfium.git there in church folder/file...

Why is that?
Thank's
Jim
User avatar
doublemax
Moderator
Moderator
Posts: 19116
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: wxPDFView folder/file not exists

Post by doublemax »

fpdf_doc.h there is only in ./pdfium/public/ dir.
That's correct, the file will be included from there. Did you set all include paths correctly?
Use the source, Luke!
dkaip
Super wx Problem Solver
Super wx Problem Solver
Posts: 334
Joined: Wed Jan 20, 2010 1:15 pm

Re: wxPDFView folder/file not exists

Post by dkaip »

Yes all paths are correct.
But source wxPDFView code wants #include "fpdfdoc/fpdf_doc.h" (wxPDFView/include/private/PDFViewBookmarks.h).
So, must exist a folder fpdfdoc and inside it the fpdf_doc.h.
The only pdfium/out/debug/obj/fpdfdoc/ dir have not fpdf_doc.h file.
User avatar
doublemax
Moderator
Moderator
Posts: 19116
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: wxPDFView folder/file not exists

Post by doublemax »

Sorry, you're right. The last changes in wxPDFView were made 2 years ago, i guess pdfium changed its directory structure since. Try changing the include command so that it matches the new file location.
Use the source, Luke!
dkaip
Super wx Problem Solver
Super wx Problem Solver
Posts: 334
Joined: Wed Jan 20, 2010 1:15 pm

Re: wxPDFView folder/file not exists

Post by dkaip »

Hello. Trying to compile from sources, i discover that "fpdfdoc/fpdf_doc.h" folder is in klokantech's git hub for pdfium. So match repositories...
Post Reply