Re: Installing root from source for MSVC

From: Marc de kamps <>
Date: Thu, 11 Aug 2005 11:37:29 +0200


I am trying to build a win32 version of root that can be used by Visual C++. I use cygwin.
I have downloaded the root version 4.04-02 from the CVS server and ran the configure
script: ./configure win32

It produces a makefile. I run make . The problem I described yesterday was solved by Markus' help (see below). Thanks! However, after compiling a number of .cpp files correctly, it halts on linking

build/win/ -nologo -incremental:no -nodefaultlib:libc.lib -nodefaultlib:dfor.lib -o bin/rmkdepend.exe build/rmkdepend/cppsetup.o build/rmkdepend/ifparser.o build/rmkdepend/include.o build/rmkdepend/main.o build/rmkdepend/parse.o build/rmkdepend/pr.o link: too many arguments
Try `link --help' for more information.
make: *** [bin/rmkdepend.exe] Error 1

Suggestions ?


Markus Frank wrote:

>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:
>@echo off
>CALL C:\VSNET\Common7\Tools\vsvars32.bat
>chdir C:\cygwin\bin
>set HOME=/home
>bash --login -i
>This should give you back the proper environment.
>Markus Frank
Received on Thu Aug 11 2005 - 11:37:43 MEST

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