This is a meta repository designed to build EPL-Viz on Windows.
When starting out, make sure to also retrieve the submodules, which can be done by either using
git clone --recursive https://github.com/epl-viz/windowsBuildEnv.git
or using
git submodule update --init --recursive
on an already cloned repository.
Please note that any paths that have to be modified require '/' instead of ''. Any scripts that require modification can use either path seperator.
- Visual Studio 2017
- CMake 3.8
- Python 3.6.1
EPL-Viz allows the usage of KTextEditor as a replacement for its default plugin editor. Building it will allow you to add the flag -DUSE_KTEXTEDITOR=ON
to the EPL-Viz CMake build flags, enabling the use of the KTextEditor.
Download and install craft via
Set-ExecutionPolicy -Scope CurrentUser RemoteSigned
(new-object net.webclient).DownloadFile('https://raw.githubusercontent.com/KDE/craft/master/setup/install_craft.ps1', (Get-Item -Path ".\" -Verbose).FullName + 'install_craft.ps1' )
.\install_craft.ps1 -branch master # Select x64 and the microsoft compiler
Then edit \etc\CraftSettings.ini:
- Under
General
, setABI
towindows-msvc2017_64-cl
- Under
QtSDK
, setVersion
to5.9
(or higher) andCompiler
to msvc2017
Now open the x64 Native Tools Command Prompt for VS 2017
and run
<CRAFTROOT>\craft\kdeenv.bat
craft libs/qt5/qtmultimedia ktexteditor
Now cross your fingers and hope that none of the libraries (including Qt5) fails to build. The build process may take a while.
Once completed, run fixKF5Install.bat
.
Follow instructions here, but STOP at "Generate the build files".
Run the buildWS.bat
script to run CMake.
Then load the Wireshark.sln in wsbuild64, set the build configuration to x64-Release and build the target BUILD_ALL and then INSTALL.
Finally, run fixWSInstall.bat
in WS_Root to complete the wireshark installation.
Download Qwt 6.1.3 and extract the downloaded source into the build root.
Then run buildQWT.bat
.
If there are build errors, try running <CRAFTROOT>\craft\kdeenv.bat
in a different shell first.
Run copyConfig.bat
Open the tinyxml2 Folder in VS2017 (File->Open->Folder).
Build - and install - the project as x64-Release.
Install cython via pip install cython
.
Open the EPL_DataCollect folder in VS2017 and then build and install the project (as x64-Release).
Open the EPL-Viz folder in Visual Studio and build and install the project.
Download the Python 3.6.1 standalone here and extract it.
Download and install the latest WiX Toolset build tools.
Select the x64-Deploy build configuration
INSTALL
TARGET IN VISUAL STUDIO using x64-Deploy!
Rebuild the project, then open a powershell in the CMake build folder (Where the EPL-Viz.sln is) and run
cpack -G WIX -C Release