Compile from sources the wxPDFView error

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: 333
Joined: Wed Jan 20, 2010 1:15 pm

Compile from sources the wxPDFView error

Post by dkaip »

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: 7449
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: Compile from sources the wxPDFView error

Post by ONEEYEMAN »

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

Thank you.
dkaip
Super wx Problem Solver
Super wx Problem Solver
Posts: 333
Joined: Wed Jan 20, 2010 1:15 pm

Re: Compile from sources the wxPDFView error

Post by dkaip »

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: 7449
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: Compile from sources the wxPDFView error

Post by ONEEYEMAN »

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

Thank you.
dkaip
Super wx Problem Solver
Super wx Problem Solver
Posts: 333
Joined: Wed Jan 20, 2010 1:15 pm

Re: Compile from sources the wxPDFView error

Post by dkaip »

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
Super wx Problem Solver
Super wx Problem Solver
Posts: 333
Joined: Wed Jan 20, 2010 1:15 pm

Re: Compile from sources the wxPDFView error

Post by dkaip »

Ok i solved it, must put (FPDF_DOCUMENT) before.
Thank you
Jim.
dkaip
Super wx Problem Solver
Super wx Problem Solver
Posts: 333
Joined: Wed Jan 20, 2010 1:15 pm

Re: Compile from sources the wxPDFView error

Post by dkaip »

sorry my fault..
dkaip
Super wx Problem Solver
Super wx Problem Solver
Posts: 333
Joined: Wed Jan 20, 2010 1:15 pm

Re: Compile from sources the wxPDFView error

Post by dkaip »

ok.
Post Reply