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/qtui 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: Qt
  2. Install Python 2.4.3 or later version : Python
  3. Install Numarray 1.5.1 or later version: Numarray
  4. Install Boost 1.33.1 or later version: BOOST and Boost-jam for building: Boost-jam
  5. Install Minuit 1.7.9 or later version: MINUIT
  6. Install CFITSIO V3.006 or later version: CFITSIO
  7. Install ROOT V5.12 or later version: ROOT

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:

Note: Boost should be built ahead. Type: bjam "-sTOOLS=vc-8_0" install in the VS command prompt. Then it will create a "Boost"  filefold.

Environment Variable Example Value
QTDIR C:\Qt\3.3.6
QTVER 336
PYTHON_ROOT C:\Python24
PYTHON_VERSION 24
BOOST_LIB C:\boost
BOOST_INC C:\boost\include\boost-1_33_1
MINUIT_ROOT C:\Minuit_1.7.9
CFITSIO C:\cfitsio
ROOTSYS C:\root\
WCS_ROOT C:\wcslib-4.3\

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


Tao Xu
November 8, 2006