Skip to content

Instantly share code, notes, and snippets.

@mensinda
Last active March 16, 2018 11:09
Show Gist options
  • Save mensinda/a48168f9a325892c6bedc577c496f84e to your computer and use it in GitHub Desktop.
Save mensinda/a48168f9a325892c6bedc577c496f84e to your computer and use it in GitHub Desktop.
Build EPL-Viz on windows

Folder structure

 /WS_ROOT/
     /wireshark/   # wireshark clone
     /wsbuild64/   # CMake build dir
     /buildWS.bat
 /install
 /qwt-6.1.3
 /EPL_DataCollect
 /EPL-Viz
 /tinyxml2
 /fixWSInstall.sh
 /fixQwtInstall.sh
 /fixEPLinstall.sh

Software used

  • Visual Studio 2017
  • Cmake 3.8

Build Wireshark

Follow instructions here, but STOP at "Generate the build files".

Use this bat script to run CMake, you may have to adjust the absolute paths.

Then load the Wireshark.sln in wsbuild64 and build the target BUILD_ALL and then INSTALL.

Then run this shell script to fix the wireshark installation.

Build tinyxml2

Clone tinyxml2 via

git clone https://github.com/leethomason/tinyxml2.git

and open the Folder in VS2017 (File->Open->Folder). Then goto CMake->Change CMake Settings and open the config file

Insert -DCMAKE_INSTALL_PREFIX=Path/to/buildRoot/install in cmakeCommandArgs for the 64bit Release. Build - and install - the project as x64-Release.

Build EPL_DataCollect

Install cython via pip install cython

Clone https://github.com/epl-viz/EPL_DataCollect

and open the Folder in VS2017 and chanche the 64bit release cmake options to

-DWIRESHARK_BASE_DIR=Path/to/buildRoot/WS_ROOT -DWireshark_DIR=Path/to/buildRoot/install/lib/Wireshark -DTinyXML2_ROOT=Path/to/buildRoot/install -DCMAKE_INSTALL_PREFIX=Path/to/buildRoot/install -T host=x64

then build and install the project

Install EPL-Viz

Install Qwt

Download Qwt: https://sourceforge.net/projects/qwt/files/qwt/6.1.3/

Edit the qwtconfig.pri in qwt-6.1.3 and set the QWT_INSTALL_PREFIX to /Path/to/Prefix/Root/install

Then open the Qwt project in QtCreator, select the MSVC Qt version (not the UWP). Then go to project, select Release, and add a build step (make) with argument install

Then run this script to fix the qwt installation

Install EPL-Viz

Download EPl-Viz via:

git clone git@github.com:epl-viz/EPL-Viz.git

Open the folder in Visual Studio and set the following CMake parameters:

-DWIRESHARK_BASE_DIR=Path/to/buildRoot/WS_ROOT -DWireshark_DIR=Path/to/buildRoot/install/lib/Wireshark -DTinyXML2_ROOT=Path/to/buildRoot/install -DQt5_DIR=C:/Qt/5.9/msvc2017_64/lib/cmake/Qt5 -DCMAKE_INSTALL_PREFIX=Path/to/buildRoot/install -DUSE_KTEXTEDITOR=OFF -T host=x64

Build and install the project, then use this script to finish installing EPL-Viz.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment