Compile from sources the wxPDFView error

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

Compile from sources the wxPDFView error

Postby dkaip » Fri Oct 26, 2018 11:36 am

Hello, trying to compile from sources the wxPDFView i am taking error.
What i must do?
I have use https://github.com/TcT2k/wxPDFView.git deposit.
Thank you
Jim.
wxPDFView/src/PDFViewBookmarks.cpp|44|error: invalid conversion from ‘void*’ to ‘FPDF_DOCUMENT {aka fpdf_document_t__*}’ [-fpermissive]

ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 2787
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: Compile from sources the wxPDFView error

Postby ONEEYEMAN » Fri Oct 26, 2018 2:34 pm

Hi,
Which platform?
Which version of the wxPDFView?
Which compiler?

Thank you.

dkaip
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 204
Joined: Wed Jan 20, 2010 1:15 pm

Re: Compile from sources the wxPDFView error

Postby dkaip » Fri Oct 26, 2018 3:40 pm

Which platform? Linux Mint
Which version of the wxPDFView? Last git clone from https://github.com/TcT2k/wxPDFView.git
Which compiler? GCC

Thank you.
Jim

ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 2787
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: Compile from sources the wxPDFView error

Postby ONEEYEMAN » Fri Oct 26, 2018 5:06 pm

Hi,
How did you configure the pdfview? Did configure succeeded?
Also, what gcc version do you use? Which C++ standard?

Thank you.

dkaip
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 204
Joined: Wed Jan 20, 2010 1:15 pm

Re: Compile from sources the wxPDFView error

Postby dkaip » Fri Oct 26, 2018 8:23 pm

How did you configure the pdfview?
args.gn
---------
# Build arguments go here.
# See "gn args <out_dir> --list" for available build arguments.
is_debug = true
pdf_is_standalone = true
pdf_use_skia = false
pdf_use_skia_paths = false
pdf_enable_xfa = false
pdf_enable_v8 = false
is_component_build = false
clang_use_chrome_plugins = false

Did configure succeeded? YES, pdfium_test runs ok.
what gcc version do you use? Which C++ standard? -std=C++14
Thank you
Jim.

dkaip
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 204
Joined: Wed Jan 20, 2010 1:15 pm

Re: Compile from sources the wxPDFView error

Postby dkaip » Sat Oct 27, 2018 4:36 am

Ok i solved it, must put (FPDF_DOCUMENT) before.
Thank you
Jim.

dkaip
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 204
Joined: Wed Jan 20, 2010 1:15 pm

Re: Compile from sources the wxPDFView error

Postby dkaip » Fri Dec 14, 2018 9:40 pm

sorry my fault..


Return to “wxCode”

Who is online

Users browsing this forum: No registered users and 2 guests