Windows compilation with Visual Studio¶
Instalation:
- Get dff sources
- Install swigwin (last version available) : http://www.swig.org/download.html
- Install python (2.6) & pyqt (binaries) :
http://www.python.org/download/releases/2.6.2/ & http://www.riverbankcomputing.co.uk/software/pyqt/download
(You may need to reboot after the installation so CMake could find Python path) - Install CMake binaries : http://www.cmake.org/cmake/resources/software.html
VCProj generation :
- Go to CMake binary dir and launch cmake-gui.exe
- In where is the source code : indicate dff source directory
- In where to build the binary : indicate dff source direcory (same dir)
- Click on configure
- Specify the generator:
- Use default native compiler (Tested on: Visual Studio 8 2005)
- Click finish
- An error must appear in red about swig
- Click ungrouped entries
- Click SWIG_EXECUTABLE and double-click on SWIG EXECUTABLE-NOTFOUND
- Click '...' and select swig directory
- Click Configure
- Click Configure
- Click Generate
- Go to your dff-sources directory
- Double-Click on dff.sln
- Build release version