RE: Installing root from source for MSVC

From: Markus Frank <Markus.Frank_at_cern.ch>
Date: Wed, 10 Aug 2005 13:29:10 +0200


Hi Marc,

If you tweaked DevStudio by handed editing the options or did not register the environment during installation, the paths used by DevStudio may be changed. You can recover the proper environment by executing:

CALL <Visual Studio installation directory>\Common7\Tools\vsvars32.bat

*before* you start bash for cygwin; ie modify C:\Cygwin\Cygwin.bat:

<SNIP>
@echo off

C:
CALL C:\VSNET\Common7\Tools\vsvars32.bat chdir C:\cygwin\bin
set HOME=/home
bash --login -i
</SNIP>

This should give you back the proper environment.

Cheers,

Markus Frank  

PH Division, CERN

LHCb Experiment
CH-1211 Geneva 23
Telephone: [41] 22 767 94 68
Fax: [41] 22 767 94 25
E-mail: mailto:Markus.Frank_at_cern.ch
WWW: http://www.cern.ch/~frankm

> -----Original Message-----
> From: owner-roottalk_at_pcroot.cern.ch
> [mailto:owner-roottalk_at_pcroot.cern.ch] On Behalf Of Bertrand Bellenot
> Sent: 10 August, 2005 12:23 PM
> To: Marc de Kamps; roottalk_at_pcroot.cern.ch
> Subject: RE: [ROOT] Installing root from source for MSVC
>
>
> 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 - 13:29:17 MEST

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