Page 1 of 1

Run wxPDFView simple problem in Windows10

Posted: Wed Oct 07, 2020 6:03 pm
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

Re: Run wxPDFView simple problem in Windows10

Posted: Tue Dec 22, 2020 2:35 am
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?