Re: [ROOT] ROOT build on Win32

From: Airat A. Sadreev (airat@hq.tatenergo.ru)
Date: Thu Jun 29 2000 - 08:05:06 MEST


> 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
 Thank you, all works fine even I didn't replace forward slashes with
backward slashes.
You wrote that you works under Win32 and I have once more question. Does
ROOT's GUI classes (windows, pushbuttons, dialogs, etc)  work on Win32?
Thank you.



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