For the compilation under cygwin using VC 7.1 (Version 13.10.3077) you have to make sure that the PATH contains the path to the installation of Visual Studio .NET 2003, for example:
export VSPATH="/cygdrive/c/Program Files/Microsoft Visual Studio .NET 2003"
export PATH="/cygdrive/c/WINNT/Microsoft.NET/Framework/v1.1.4322":${PATH}
export PATH="${VSPATH}/SDK/v1.1/bin":${PATH} export PATH="${VSPATH}/Common7/Tools/bin":${PATH} export PATH="${VSPATH}/Common7/Tools/bin/prerelease":${PATH} export PATH="${VSPATH}/Common7/Tools/":${PATH}
export PATH="${VSPATH}/Vc7/bin":${PATH} export PATH="${VSPATH}/Common7/IDE":${PATH}
The compiler also needs the following variables set up (and as these are interpreted by the compiler, they have to be in "windows-syntax"):
export INCLUDE="c:/Program Files/Microsoft Visual Studio .NET 2003/Vc7/include;C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\include" export LIB="c:/Program Files/Microsoft Visual Studio .NET 2003/Vc7/lib;C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib"
You may have to adapt to your installation path, if different.
That's it ! And since you read until here, you can shorten the whole procedure by doing (from the build directory, assuming it can reach the source by ../CLHEP):
source ../CLHEP/setup.cygwin-VC71
Please report problems using the bug-tracker of the savannah portal at:
http://savannah.cern.ch/projects/clhep
