Hi, there should be no /lib/libXpm.a (it's not part of a current cygwin x11 as far as I know). configure found it, and win32gcc trusts configure. $LD_LIBRARY_PATH is meaningless under cygwin (doesn't hurt, doesn't help), $PATH is where cygwin searches libraries (this is due to a compatibility issue with the win32 dll loader). Cheers, Axel. > Hi Kevin, > > I have the same CYGWIN/gcc setup that you have. I have no problems > building ROOT. I am setting the following variables: > > export ROOTSYS=/home/brun/root > export PATH=$ROOTSYS/bin:$MAINPATH > export INCLUDE=$ROOTSYS/include:$MAININCLUDE > > with: > > (pcbrun2) [136] echo $MAINPATH > /cygdrive/c/Program Files/Microsoft Visual Studio > .NET/Common7/IDE:/cygdrive/c/Program Files/Microsoft Visual Studio .NE > T/Vc7/bin:/cygdrive/c/Program Files/Microsoft Visual Studio > .NET/Common7/Tools:/cygdrive/c/Program Files/Microsoft Visua > l Studio .NET/Common7/Tools/Bin/prerelease:/cygdrive/c/Program > Files/Microsoft Visual Studio .NET/Common7/Tools/Bin:/cyg > drive/c/Program Files/Microsoft Visual Studio > .NET/FrameworkSDK/Bin:/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v1.0.370 > 5:/cygdrive/c/Msdev/BIN:/cygdrive/c/Program Files/Microsoft Visual > Studio/DF98/BIN:/cygdrive/c/Program Files/Microsoft V > isual > Studio/VC98/BIN:/home/brun/bin:/usr/local/bin:/usr/local/bin/X11:/opt/bin:/bin:/usr/bin:/usr/bin/X11:/usr/ucb:/usr > /X11R6/bin:/sbin:/usr/sbin:./bin:.:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem > (pcbrun2) [137] echo $MAININCLUDE > .:c:\Program Files\Microsoft Visual Studio > .NET\Vc7\atlmfc\include;c:\Program Files\Microsoft Visual Studio > .NET\Vc7\inc > lude;c:\Program Files\Microsoft Visual Studio > .NET\Vc7\PlatformSDK\Include\prerelease;c:\Program Files\Microsoft > Visual > Studio .NET\Vc7\PlatformSDK\Include;c:\Program Files\Microsoft Visual > Studio .NET\FrameworkSDK\include;C:\Program Files\ > Microsoft Visual Studio\DF98\INCLUDE;C:\Program Files\Microsoft Visual > Studio\VC98\INCLUDE;c:\Program Files\Microsoft Vi > sual Studio .NET\FrameworkSDK\include\ > > I configure ROOT with: > > ./configure win32gcc > > Rene Brun > > > On Tue, 6 May 2003, > Kevin Reil wrote: > >> 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