Help for wxPDFView builng on windows 10
Posted: Sat Oct 13, 2018 11:24 am
Hello. I am trying to follow step by step instructions at https://github.com/TcT2k/wxPDFView
to build wxPDFView, but i making something wrong, i don't know what is it.
A help please to a newbie to this.
Thank you.
Jim.
---------------------------------
mkdir pdfium
cd pdfium
set DEPOT_TOOLS_WIN_TOOLCHAIN=0
gclient config --unmanaged --spec "solutions=[{'name':'pdfium','url':'https://pdfium.googlesource.com/pdfium. ... fesync_url':''}]"
gclient sync
cd pdfium
set PDFIUM_DIR=%cd%
gn gen out/Debug --args="pdf_enable_xfa=false pdf_enable_v8=true pdf_is_standalone=true is_component_build=true target_cpu=\"x86\" is_debug=true"
ninja -C out/Debug pdfium
----------------OK--------------------------
Download the wxWidgets 3.1.1 Windows ZIP
Unzip and open build/msw/wx_vc15.sln in Visual Studio
Set Solution Configuration to Debug, Solution Platform to Win32, click Build Solution
----------------OK--------------------------
System vars ..
PDFIUM_DIR=C:\pdfium\pdfium
WXWIDGETS_DIR=C:\wxWidgets-3.1.1
------------------OK------------------------
git clone https://github.com/rsippl/wxPDFView.git
cd wxPDFView\samples\simple
mkdir build
cd build
cmake .. -DPDFIUM_ROOT_DIR=%PDFIUM_DIR% -DwxWidgets_ROOT_DIR=%WXWIDGETS_DIR% -DwxWidgets_LIB_DIR=%WXWIDGETS_DIR%\lib\vc_lib -DwxWidgets_CONFIGURATION=mswud -DWITH_PDFIUM_SOURCE=true
=====Error================
-- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.15063.
CMake Error at ../../CMakeLists.txt:19 (add_subdirectory):
The source directory
C:/wxPDFView/pdfium
does not contain a CMakeLists.txt file.
-- Configuring incomplete, errors occurred!
See also "C:/wxPDFView/samples/simple/build/CMakeFiles/CMakeOutput.log".
to build wxPDFView, but i making something wrong, i don't know what is it.
A help please to a newbie to this.
Thank you.
Jim.
---------------------------------
mkdir pdfium
cd pdfium
set DEPOT_TOOLS_WIN_TOOLCHAIN=0
gclient config --unmanaged --spec "solutions=[{'name':'pdfium','url':'https://pdfium.googlesource.com/pdfium. ... fesync_url':''}]"
gclient sync
cd pdfium
set PDFIUM_DIR=%cd%
gn gen out/Debug --args="pdf_enable_xfa=false pdf_enable_v8=true pdf_is_standalone=true is_component_build=true target_cpu=\"x86\" is_debug=true"
ninja -C out/Debug pdfium
----------------OK--------------------------
Download the wxWidgets 3.1.1 Windows ZIP
Unzip and open build/msw/wx_vc15.sln in Visual Studio
Set Solution Configuration to Debug, Solution Platform to Win32, click Build Solution
----------------OK--------------------------
System vars ..
PDFIUM_DIR=C:\pdfium\pdfium
WXWIDGETS_DIR=C:\wxWidgets-3.1.1
------------------OK------------------------
git clone https://github.com/rsippl/wxPDFView.git
cd wxPDFView\samples\simple
mkdir build
cd build
cmake .. -DPDFIUM_ROOT_DIR=%PDFIUM_DIR% -DwxWidgets_ROOT_DIR=%WXWIDGETS_DIR% -DwxWidgets_LIB_DIR=%WXWIDGETS_DIR%\lib\vc_lib -DwxWidgets_CONFIGURATION=mswud -DWITH_PDFIUM_SOURCE=true
=====Error================
-- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.15063.
CMake Error at ../../CMakeLists.txt:19 (add_subdirectory):
The source directory
C:/wxPDFView/pdfium
does not contain a CMakeLists.txt file.
-- Configuring incomplete, errors occurred!
See also "C:/wxPDFView/samples/simple/build/CMakeFiles/CMakeOutput.log".