Page 1 of 1

wxPDFView folder/file not exists

Posted: Fri Jan 05, 2018 7:48 pm
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

Re: wxPDFView folder/file not exists

Posted: Fri Jan 05, 2018 11:35 pm
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?

Re: wxPDFView folder/file not exists

Posted: Sat Jan 06, 2018 5:00 am
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.

Re: wxPDFView folder/file not exists

Posted: Sat Jan 06, 2018 10:41 am
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.

Re: wxPDFView folder/file not exists

Posted: Mon Jan 15, 2018 3:23 pm
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...