Re: Shall we not use ROOT in cygwin at all ?

From: Wei Xie <wxie_at_purdue.edu>
Date: Wed, 24 Jun 2009 21:25:18 -0400


Hi Valeri

Thanks for all the feedbacks.

I did try what's mentioned in the following. The difference is I directly downloaded the binary of VC++ from ROOT website instead building it myself. When run ROOT, it hangs after printing out the version number as the following. Will it make a difference if I build the ROOT myself? I have no problem to run the gcc version of ROOT.

////////////////////////

cygwin:c>root -b

ROOT 5.22/00 (trunk_at_26997, Jan 05 2009, 10:56:00 on win32)

CINT/ROOT C/C++ Interpreter version 5.16.29, Jan 08, 2008 Type ? for help. Commands must be C++ statements. Enclose multiple statements between { }.

//////////////////////////////////////////////

Cheers
--Wei

Fine, Valeri wrote:

>> The advantage I referred is really because I'm a Linux user. The way
> to
>> use GCC version of ROOT in cygwin is exactly the same as in a linux
>> machine. One can run ROOT in a xterm in any directory and can also use
>> mouse to copy any text into the root prompt.
> 
> You do build ROOT using Cygwin and Visual C++ right now. You can use the
> Cygwin shell console to start the ROOT (compiled with Visual C++ ) too.
> 
> To do that you need to set ROOTSYS and PATH environment variable
> (compare, on linux you need to set PATH and LD_LIBRARY_PATH) 
> 
> Let's assume you built ROOT with cygwin under "~/root" directory
> Can you keep that cygwin widget open and  set
> 
>     cd ~/root
>     export ROOTSYS=`pwd`
>     export PATH=$ROOTSYS/bin:$PATH
>     root.exe
> 
> So the only difference between Linux and Windows is the name of the
> second variable (PATH) to set.
> 
> Can you try that?
> 
> 
> Thank you.
> 


-- 
Dept. of Physics, Purdue Univ.
525 Northwestern Ave., West Lafayette, IN 47907

http://www.physics.purdue.edu/people/faculty/wxie.shtml
Tel: 765-494-8743, Fax: 765-494-0706
_______________________________________________________
Received on Thu Jun 25 2009 - 03:25:32 CEST

This archive was generated by hypermail 2.2.0 : Thu Jun 25 2009 - 05:50:03 CEST