Building HippoDraw with VS.NET

These are build instruction for Hippodraw developers using VS.NET.

Hippodraw functionality is contained in the following four VS.NET Projects:

Project Name Project Type Description Dependencies
hippo dll Core functionality (pure C++) None
qthippo dll HippoDraw application framework using Qt hippo.dll, Qt
qtapp exe Hippodraw Qt application hippo.dll, qthippo.dll, Qt
pyhippo dll Python extension module for qthippo hippo.dll, qthippo.dll, Qt,
Boost.Python, Python

You will only want to open either the qtapp or pyhippo projects since they are the two top level projects which property reference and depend on the other projects. As specified in the Dependencies column, to build qtapp you will need Qt installed, and to build pyhippo you will need Qt, Boost.Python and Python installed. Furthermore, the version of Qt needs to be 3.0 or later. So, you will have to do the following before going any further:

  1. You will have to buy Qt from Trolltech here: http://www.trolltech.com/products/qt/windows.html
  2. Install ActiveState's version of Python, ActivePython.
  3. Install boost. Check out version 1.29.0 from their CVS repository and build it.

There are two Release configurations available. The configuration ReleaseAll builds with all the options, i.e. Minuit, ROOT, and CFITSIO. The configuration Release does not include the options. The following environment variables: should be set for the ReleaseAll build:

Environment Variable Example Value
QTDIR C:\Qt\3.3.3
QTVER 333
PYTHON_ROOT C:\Python24
PYTHON_VERSION 24
BOOST_LIB C:\boost
BOOST_INC C:\boost_1_32_0
MINUIT_ROOT C:\Minuit
CFITSIO C:\cfitsio\lib
ROOTSYS C:\root

With these environment variables defined, you should now be able to build all four projects. Just open the solution file, and click build.


Matthew D. Langston
November 8, 2002