Re: [ROOT] ROOT build on Win32

From: Jonathan M. Gilligan (jonathan.gilligan@vanderbilt.edu)
Date: Wed Jun 28 2000 - 23:00:57 MEST


Airat,

First install CygWin on your system. Then use cvs to get the sources:

cvs -d :pserver:cvs@root.cern.ch:/user/cvs co -r v2-25-00 root

Then, from within the cygwin environment (drop to the command-line and run 
cygwin.bat from the cygwin/bin directory) chdir to the root directory and 
run "./configure win32"

Now you need to manally edit some of the sources to fix bugs that will 
prevent you from building root.

First, make the following change to root/base/src/TRoot.cxx: Change line 
1196 from
                 macropath = ".;" ROOTMACROPATH;
  to
                 macropath = ".;" ROOTMACRODIR

Second, edit root/config/makefile.config and edit line 6 
("EXTRA_LDFLAGS=...") to replace forward slashes with backward slashes in 
the path separators. As much as people may wish that everyone ran Unix, you 
can't pass path arguments to Microsoft Link and have it correctly interpret 
forward-slash path delimiters. Failure to do this will result in many 
warnings of the form:

LINK : warning LNK4044: unrecognized option "Wl,-rpath,d:/root/lib/root"; 
ignored
LINK : warning LNK4044: unrecognized option "Ld:/root/lib/root"; ignored

when you attempt to build.

Then run "make" (not "gmake" as root/Readme/INSTALL suggests) and you are 
home free.

At least this worked on my computer.

Good luck,
Jonathan

At 04:49 AM 6/26/2000, you wrote:
>How to build ROOT version 2.25 with Microsoft Visual C++?

===========================================================================
Jonathan M. Gilligan                     <jonathan.gilligan@vanderbilt.edu>
Research Assistant Professor of Physics                      (615) 343-6252
Dept. of Physics and Astronomy, Box 1807-B                    Fax: 343-7263
6823 Stevenson Center
Vanderbilt University, Nashville, TN 37235           Dep't Office: 322-2828



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:29 MET