Skip to content

Building on Windows

Gordon Smith edited this page Jan 5, 2016 · 21 revisions

##Prerequisites

Build the GraphControl: GraphControl Wiki - Building on Windows

##Download and build

###gsoap v2.7.15

  • Download the sources from:

  • Copy the download to your development folder (~/git)

  • Open a "git bash" shell:

      cd ~/git
      tar xf gsoap_2.7.15.tar.gz
      rm gsoap_2.7.15.tar.gz
    

###scintilla v3.0.3

  • 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.0.0

  • Open a "git bash" shell:

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

###Create build folder

  • Open a "git bash" shell:

      cd ~/git/build
      mkdir eclide
      cd eclide
    

###Generate GraphControl make 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
    
Clone this wiki locally