wxPDFView folder/file not exists

Talk here about issues with one of the components hosted at wxCode, or suggest features for it.
dkaip
I live to help wx-kind
I live to help wx-kind
Posts: 197
Joined: Wed Jan 20, 2010 1:15 pm

wxPDFView folder/file not exists

Postby dkaip » Fri Jan 05, 2018 7:48 pm

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: 12673
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: wxPDFView folder/file not exists

Postby doublemax » Fri Jan 05, 2018 11:35 pm

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
I live to help wx-kind
I live to help wx-kind
Posts: 197
Joined: Wed Jan 20, 2010 1:15 pm

Re: wxPDFView folder/file not exists

Postby dkaip » Sat Jan 06, 2018 5:00 am

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: 12673
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: wxPDFView folder/file not exists

Postby doublemax » Sat Jan 06, 2018 10:41 am

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
I live to help wx-kind
I live to help wx-kind
Posts: 197
Joined: Wed Jan 20, 2010 1:15 pm

Re: wxPDFView folder/file not exists

Postby dkaip » Mon Jan 15, 2018 3:23 pm

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


Return to “wxCode”

Who is online

Users browsing this forum: No registered users and 4 guests