[ROOT] win32gcc build

From: Kevin Reil (reil@SLAC.stanford.edu)
Date: Tue May 06 2003 - 18:23:26 MEST


Hi,

I updated cygwin last week (notable only so you know what version of gcc
etc)

reilnote:~/root/bin/>gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.2/specs
Configured with: /netrel/src/gcc-3.2-3/configure
--enable-languages=c,c++,f77,java --enable-libgcj --enable-threads=posix
 --with-system-zlib --enable-nls --without-included-gettext
--enable-interpreter --disable-sjlj-exceptions --disable-vers
ion-specific-runtime-libs --enable-shared --build=i686-pc-linux
--host=i686-pc-cygwin --target=i686-pc-cygwin --enable-ha
ifa --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib
--includedir=/nonexistent/include --libexecdir=/
usr/sbin
Thread model: posix
gcc version 3.2 20020927 (prerelease)


and attempted a win32gcc build this morning (from cvs of last
friday (3.05/04).

build/unix/wingcc_ld.sh -shared --enable-auto-image-base
-Wl,-soname,libGX11.dll -O3 -foptimize-sibling-calls -finline-f
nctions -Wl,--export-all-symbols -Wl,--export-dynamic
-Wl,--enable-auto-import -Wl,-Bdynamic -L/usr/X11R6/lib -o lib/lib
X11.dll -Wl,--whole-archive x11/src/GX11Gui.o x11/src/Rotated.o
x11/src/TGX11.o x11/src/gifdecode.o x11/src/gifencode.o
11/src/gifquantize.o x11/src/G__X11.o -Wl,--no-whole-archive /lib/libXpm.a
-lX11 -Llib -lCore -lCint

Creating library file: lib/libGX11.dll.a
x11/src/GX11Gui.o(.text+0x12d6):GX11Gui.cxx: undefined reference to
`_XpmReadFileToPixmap'
etc...


reilnote://>cd lib
reilnote:/lib/>mv libXpm.a libXpm.a.old
reilnote:/lib/>ln -sf /usr/X11R6/lib/libXpm.a .

Allows the compile to go ahead (since missing library stuff is in that
version.  At the end of compile I get

make install
>root

Pop up window cannot find libCore.dll
what variable am I not setting (it's not LD_LIBRARY_PATH)?

Also, do I still need ROOTSYS=c:\cygwin\home\reil\root. as make install
takes that to be ./cygwinhomereilroot/? Switching ROOTSYS=/home/reil/root
gets the files where they are supposed to be bit libCore still cannot be
found.

Cheers,
Kevin

|------------------------------------|---------------------------------|
| http://www.slac.stanford.edu/~reil | Office (650) 926-2447           |
| reil@slac.stanford.edu             | Home   (650) 938-1767           |
| http://reil.no-ip.org              | Fax    (650) 926-5368           |
|----------------------------------------------------------------------|
|                    And my father dwelt in a tent.                    |
|----------------------------------------------------------------------|

On Fri, 18 Apr 2003, Rene Brun wrote:

>Hi Jean-Eric,
>
>May be you can get some inspiration from the macro in attachement.
>Use the x3d viewer (solid mode) to rotate/zoom the picture.
>
>In case you adapt this macro to the problem that you describe, let me
>know.
>
>Rene Brun
>
>On Fri,
>18 Apr 2003, Jean-Eric Campagne wrote:
>
>> Hello,
>>
>> I would like to plot in 3D a particle flow with at (X,Y,Z) a vector
>> (Vx,Vy,Vz) corresponding to the speed of the flow.
>> How I can do it in ROOT?
>>
>> Cheers
>> Jean-Eric
>>
>> .............................................................................
>> .LAL - IN2P3 - CNRS
>> .LAL - B.P 34 - 91898 Orsay Cedex - France
>> .Piece 108
>> .Tel +33 (0)1 64 46 84 29
>> .Fax +33 (0)1 64 46 83 97
>> ...........................................................................
>>
>



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:11 MET