Run wxPDFView simple problem in Windows10

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

Run wxPDFView simple problem in Windows10

Post by dkaip »

Hello.
I have download pdfium binaries from https://github.com/bblanchon/pdfium-binaries in repo dir.
I have download with git clone https://github.com/TcT2k/wxPDFView.git in same dir.
With CMake i have build libwxPDFView.a with CodeBlocks 20 and GCC(running wxPDFView.cbp).
All ok.
With CMake configuring the samples/simple and running wxPDFViewSimpleSample.cbp with CodeBlocks i am taking errors.
mingw32-make.exe[3]: Entering directory 'C:/repo/wxPDFView/samples/simple/wxpdfview-mingw'
[ 93%] Building CXX object CMakeFiles/wxPDFViewSimpleSample.dir/Simple.cpp.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\G__~1.EXE -DUNICODE -D_DEBUG -D_UNICODE -D__WXDEBUG__ @CMakeFiles/wxPDFViewSimpleSample.dir/includes_CXX.rsp -g -o CMakeFiles\wxPDFViewSimpleSample.dir\Simple.cpp.obj -c C:\repo\wxPDFView\samples\simple\Simple.cpp
mingw32-make.exe[3]: *** No rule to make target 'pdfium-NOTFOUND', needed by 'wxPDFViewSimpleSample.exe'. Stop.
mingw32-make.exe[2]: *** [CMakeFiles\Makefile2:114: CMakeFiles/wxPDFViewSimpleSample.dir/all] Error 2
mingw32-make.exe[1]: *** [CMakeFiles\Makefile2:121: CMakeFiles/wxPDFViewSimpleSample.dir/rule] Error 2
mingw32-make.exe: *** [C:/repo/wxPDFView/samples/simple/wxpdfview-mingw/Makefile:136: wxPDFViewSimpleSample] Error 2
mingw32-make.exe[3]: Leaving directory 'C:/repo/wxPDFView/samples/simple/wxpdfview-mingw'
What wrong i do?
Thank you.
Jim
ollydbg23
Super wx Problem Solver
Super wx Problem Solver
Posts: 438
Joined: Fri Dec 12, 2008 10:31 am

Re: Run wxPDFView simple problem in Windows10

Post by ollydbg23 »

dkaip wrote: Wed Oct 07, 2020 6:03 pm Hello.
I have download pdfium binaries from https://github.com/bblanchon/pdfium-binaries in repo dir.
From what I see, this github repo only supply a msvc build binaries, do they have msys2/MinGW64 build libraries?
Post Reply