Skip to content

Building on Windows

Gordon Smith edited this page Feb 7, 2018 · 21 revisions

Prerequisites

Build the GraphControl: GraphControl Wiki - Building on Windows

Download and build

gsoap v2.7.15

scintilla v3.0.3 (IDE < 7.0.0)

No longer needed for IDE >= 7.0.0

  • Download the sources from:
  • Copy the "scintilla" folder from the zip file to your development folder (~/git)

wtl v9.1.5321

  • Download the sources from:
  • Copy all the contents of the zip to a new "wtl" folder in your development folder (~/git/wtl)

zlib v1.2.3

  • Download the sources from:
  • Copy all the contents of the zip to a new "zlib" folder in your development folder (~/git/zlib)

bugtrap candidate-6.0.0

  • Open a "git bash" shell:

      cd ~/git
      git clone https://github.com/GordonSmith/BugTrap.git
      cd BugTrap
      git checkout candidate-6.0.0
      cd ..
    

eclide candidate-6.2.0

  • Open a "git bash" shell:

      cd ~/git
      git clone https://github.com/hpcc-systems/eclide.git
      cd eclide
      git checkout candidate-6.2.0
      cd ..
    

Create build folder

  • Open a "git bash" shell:

      cd ~/git
      mkdir build
      cd ~/git/build
      mkdir eclide
      cd eclide
    

Generate the eclide project files

  • Open a "git bash" shell:

      cd ~/git/build/eclide
      cmake -DCMAKE_BUILD_TYPE=Release -DBOOST_INCLUDEDIR:PATH=../boost_1_60_0 -DAGG_INCLUDE_DIR:PATH=../../agg/agg-2.4 -DBUGTRAP_INCLUDE_DIR=../../BugTrap/source -D GRAPHVIZ_INCLUDE_DIR=../../graphviz-2.26.3 -DGSOAP_INCLUDE_DIR=../../gsoap-2.7/gsoap -DSCINTILLA_INCLUDE_DIR=../../scintilla -DWTL_INCLUDE_DIR=../../wtl -DZLIB_INCLUDE_DIR=../../zlib -DFREETYPE_INCLUDE_DIR_freetype2=../../freetype-2.4.8/include -DFREETYPE_INCLUDE_DIR_ft2build=../../freetype-2.4.8/include -DFREETYPE_LIBRARY=../../freetype-2.4.8/objs/win32/vc2010/freetype248MT.lib ../../eclide
    

Compile the sources

  • Open a "git bash" shell:

      cd ~/git/build/eclide
      cmake --build . --config RelWithDebInfo -- -m
    

Post Build

  • copy %UserProfile%\git\build\GraphControl\bin\HPCCSystemsGraphViewControl\RelWithDebInfo\npHPCCSystemsGraphViewControl.dll to %UserProfile%\git\build\eclide\bin\RelWithDebInfo
  • copy %UserProfile%\git\eclide\docs\* to %UserProfile%\git\build\eclide\bin\RelWithDebInfo

Finally

  • You should now be able to launch %UserProfile%\git\build\eclide\bin\RelWithDebInfo\eclide.exe