# RE: Installing root from source for MSVC

From: Bertrand Bellenot <Bertrand.Bellenot_at_cern.ch>
Date: Wed, 10 Aug 2005 12:23:29 +0200

Hi Marc,

Please ensure your environment variables INCLUDE and LIB are correctly set :

INCLUDE : C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\include\;C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include;C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include

LIB : C:\Program Files\Microsoft Visual Studio .NET

```2003\SDK\v1.1\Lib\;C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib;C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\Lib

```

Cheers,
Bertrand.

-----Original Message-----
From: owner-roottalk_at_pcroot.cern.ch
[mailto:owner-roottalk_at_pcroot.cern.ch] On Behalf Of Marc de Kamps Sent: Wednesday, August 10, 2005 12:00 PM To: roottalk_at_pcroot.cern.ch
Subject: [ROOT] Installing root from source for MSVC

Hi,

I am trying to compile a debug version of ROOT that can be linked with MSVC++ programmes.
(On windows, obviously)

I have installed cygwin, downloaded the code with CVS and ran configure with win32. So far, everything fine. Indeed cl.exe is called to do the compilation and I have set the PATH variable so that CYGWIN can find cl, and the DLLs that it requires.

Now some microsoft header file (sehmap.h) can not be found. Presumably, I have to tell the configure script where they are. If I look at the compilation options I see a -Iinclude flag, which is empty otherwise, so this is the problem, most likely. How do I do this ?

The only prefix options that I could find that relate to include specify where the ROOT include headers are supposed to go.

Thanks,

Marc Received on Wed Aug 10 2005 - 12:23:35 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:11 MET