Re: [ROOT] win32gcc build

From: Kevin Reil (reil@SLAC.stanford.edu)
Date: Wed May 07 2003 - 20:06:25 MEST


Hi,

I've tweaked and played and still get pop-up
------------------
root.exe - Unable to Locate Component (in blue)
This application has failed to start because libCore.dll was not found.
Re-installing the application may fix this problem.
--------------
I've noticed that make install creates some softlinks that are broken. Is
that the problem?
-------------------------------------------------------------------------
Here is my $ROOTSYS/bin  ($ROOTSYS/lib and env follow)
Thanks,
Kevin
-------------------------------------------------------------------------
reilnote:~/>ls -la $ROOTSYS/bin
total 1681
drwxrwxrwx+   2 reil     None            0 May  6 19:04 .
drwxrwxrwx+  15 reil     None            0 May  6 19:06 ..
-rwxrwxrwx    1 reil     None        85192 May  6 18:14 cint.exe
-rwxrwxrwx    1 reil     None       483003 May  6 18:56 hadd.exe
-rwxrwxrwx    1 reil     None        50271 May  6 18:14 makecint.exe
-rwxr-xr-x    1 reil     None         8447 May  6 17:58 memprobe
-rwxrwxrwx    1 reil     None        86428 May  6 18:56 proofserv.exe
-rwxrwxrwx    1 reil     None        48111 May  6 18:06 rmkdepend.exe
-rwxr-xr-x    1 reil     None        13734 May  6 17:58 root-config
-rwxrwxrwx    1 reil     None        86157 May  6 18:56 root.exe
-rwxrwxrwx    1 reil     None       562613 May  6 18:14 rootcint.exe
-rwxrwxrwx    1 reil     None        86157 May  6 18:56 rootn.exe
-rwxrwxrwx    1 reil     None       203972 May  6 18:56 rootx.exe
-------------------------------------------------------------------------
and $ROOTSYS/lib
-------------------------------------------------------------------------
reilnote:~/>ls -la $ROOTSYS/lib
total 28501
drwxrwxrwx+   2 reil     None            0 May  6 19:05 .
drwxrwxrwx+  15 reil     None            0 May  6 19:06 ..
lrwxrwxrwx    1 reil     None          138 May  6 19:05 libCint.dll ->
../bin/libCint.dll
-rw-rw-rw-    1 reil     None      1021006 May  6 18:14 libCint.dll.a
lrwxrwxrwx    1 reil     None          138 May  6 19:04 libCore.dll ->
../bin/libCore.dll
-rw-rw-rw-    1 reil     None      6650360 May  6 18:23 libCore.dll.a
lrwxrwxrwx    1 reil     None          134 May  6 19:05 libEG.dll ->
../bin/libEG.dll
-rw-rw-rw-    1 reil     None       382768 May  6 18:51 libEG.dll.a
lrwxrwxrwx    1 reil     None          142 May  6 19:05 libFumili.dll ->
../bin/libFumili.dll
-rw-rw-rw-    1 reil     None        86798 May  6 18:55 libFumili.dll.a
lrwxrwxrwx    1 reil     None          138 May  6 19:05 libGX11.dll ->
../bin/libGX11.dll
-rw-rw-rw-    1 reil     None       451704 May  6 18:55 libGX11.dll.a
lrwxrwxrwx    1 reil     None          144 May  6 19:05 libGX11TTF.dll ->
../bin/libGX11TTF.dll
-rw-rw-rw-    1 reil     None       213262 May  6 18:55 libGX11TTF.dll.a
lrwxrwxrwx    1 reil     None          138 May  6 19:05 libGeom.dll ->
../bin/libGeom.dll
-rw-rw-rw-    1 reil     None      2947758 May  6 18:54 libGeom.dll.a
lrwxrwxrwx    1 reil     None          152 May  6 19:05 libGeomPainter.dll
-> ../bin/libGeomPainter.dll
-rw-rw-rw-    1 reil     None       298840 May  6 18:55
libGeomPainter.dll.a
lrwxrwxrwx    1 reil     None          138 May  6 19:04 libGpad.dll ->
../bin/libGpad.dll
-rw-rw-rw-    1 reil     None      1229786 May  6 18:40 libGpad.dll.a
lrwxrwxrwx    1 reil     None          138 May  6 19:04 libGraf.dll ->
../bin/libGraf.dll
-rw-rw-rw-    1 reil     None      1911214 May  6 18:37 libGraf.dll.a
lrwxrwxrwx    1 reil     None          142 May  6 19:04 libGraf3d.dll ->
../bin/libGraf3d.dll
-rw-rw-rw-    1 reil     None      1406646 May  6 18:39 libGraf3d.dll.a
lrwxrwxrwx    1 reil     None          136 May  6 19:04 libGui.dll ->
../bin/libGui.dll
-rw-rw-rw-    1 reil     None      4639518 May  6 18:45 libGui.dll.a
lrwxrwxrwx    1 reil     None          138 May  6 19:04 libHist.dll ->
../bin/libHist.dll
-rw-rw-rw-    1 reil     None      2118646 May  6 18:28 libHist.dll.a
lrwxrwxrwx    1 reil     None          152 May  6 19:04 libHistPainter.dll
-> ../bin/libHistPainter.dll
-rw-rw-rw-    1 reil     None       271340 May  6 18:47
libHistPainter.dll.a
lrwxrwxrwx    1 reil     None          138 May  6 19:05 libHtml.dll ->
../bin/libHtml.dll
-rw-rw-rw-    1 reil     None       273460 May  6 18:51 libHtml.dll.a
lrwxrwxrwx    1 reil     None          134 May  6 19:05 libMC.dll ->
../bin/libMC.dll
-rw-rw-rw-    1 reil     None       151172 May  6 18:52 libMC.dll.a
lrwxrwxrwx    1 reil     None          142 May  6 19:04 libMatrix.dll ->
../bin/libMatrix.dll
-rw-rw-rw-    1 reil     None       671526 May  6 18:25 libMatrix.dll.a
lrwxrwxrwx    1 reil     None          142 May  6 19:04 libMinuit.dll ->
../bin/libMinuit.dll
-rw-rw-rw-    1 reil     None       159094 May  6 18:47 libMinuit.dll.a
lrwxrwxrwx    1 reil     None          136 May  6 19:04 libNew.dll ->
../bin/libNew.dll
-rw-rw-rw-    1 reil     None        19164 May  6 18:25 libNew.dll.a
lrwxrwxrwx    1 reil     None          140 May  6 19:05 libPgSQL.dll ->
../bin/libPgSQL.dll
-rw-rw-rw-    1 reil     None       115662 May  6 18:56 libPgSQL.dll.a
lrwxrwxrwx    1 reil     None          144 May  6 19:05 libPhysics.dll ->
../bin/libPhysics.dll
-rw-rw-rw-    1 reil     None       412880 May  6 18:50 libPhysics.dll.a
lrwxrwxrwx    1 reil     None          150 May  6 19:05 libPostscript.dll
-> ../bin/libPostscript.dll
-rw-rw-rw-    1 reil     None       193032 May  6 18:50
libPostscript.dll.a
lrwxrwxrwx    1 reil     None          140 May  6 19:04 libProof.dll ->
../bin/libProof.dll
-rw-rw-rw-    1 reil     None       724568 May  6 18:48 libProof.dll.a
lrwxrwxrwx    1 reil     None          146 May  6 19:05 libProofGui.dll ->
../bin/libProofGui.dll
-rw-rw-rw-    1 reil     None        85528 May  6 18:48 libProofGui.dll.a
lrwxrwxrwx    1 reil     None          136 May  6 19:05 libRGL.dll ->
../bin/libRGL.dll
-rw-rw-rw-    1 reil     None       170870 May  6 18:56 libRGL.dll.a
lrwxrwxrwx    1 reil     None          138 May  6 19:05 libRint.dll ->
../bin/libRint.dll
-rw-rw-rw-    1 reil     None       195290 May  6 18:50 libRint.dll.a
lrwxrwxrwx    1 reil     None          138 May  6 19:04 libTree.dll ->
../bin/libTree.dll
-rw-rw-rw-    1 reil     None      1260184 May  6 18:30 libTree.dll.a
lrwxrwxrwx    1 reil     None          150 May  6 19:05 libTreePlayer.dll
-> ../bin/libTreePlayer.dll
-rw-rw-rw-    1 reil     None       402926 May  6 18:49
libTreePlayer.dll.a
lrwxrwxrwx    1 reil     None          150 May  6 19:05 libTreeViewer.dll
-> ../bin/libTreeViewer.dll
-rw-rw-rw-    1 reil     None       522284 May  6 18:49
libTreeViewer.dll.a
lrwxrwxrwx    1 reil     None          136 May  6 19:05 libX3d.dll ->
../bin/libX3d.dll
-rw-rw-rw-    1 reil     None       184614 May  6 18:55 libX3d.dll.a



------------------------------------------------
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\reilloc\Application Data
COMMONPROGRAMFILES=C:\Program Files\Common Files
COMPUTERNAME=REILNOTE
COMSPEC=C:\WINNT\system32\cmd.exe
DISPAY=127.0.0.1:0
HOME=/home/reil
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\reilloc
INCLUDE=/home/reil/root/include:C:\Program Files\Microsoft Visual
Studio\VC98\atl\include;C:\Program Files\Microsoft Visu
al Studio\VC98\mfc\include;C:\Program Files\Microsoft Visual
Studio\VC98\include
LD_LIBRARY_PATH=c:\cygwin\home\reil\root/lib:/lib:
LIB=C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib;C:\Program
Files\Microsoft Visual Studio\VC98\lib
LOGONSERVER=\\REILNOTE
MAKE_MODE=unix
MANPATH=:/usr/ssl/man
MSDEVDIR=C:\Program Files\Microsoft Visual Studio\Common\MSDev98
NUMBER_OF_PROCESSORS=1
OLDPWD=/home/reil/root_cvs/root
OS=Windows_NT
PATH=/home/reil/root/bin:/home/reil/root/bin:/usr/local/bin:/usr/bin:/bin:/c/WINNT/system32:/c/WINNT:/c/WINNT/system32/WB
EM:/c/Program
Files/NetworkSimplicity/ssh:/c/WINNT/system32:/c/WINNT:/c/WINNT/System32/Wbem:/c/PROGRA~1/F-Secure/SSHTRI~1
:/c/Program Files/Microsoft Visual Studio/Common/Tools/WinNT:/c/Program
Files/Microsoft Visual Studio/Common/MSDev98/Bin:
/c/Program Files/Microsoft Visual Studio/Common/Tools:/c/Program
Files/Microsoft Visual Studio/VC98/bin:/c/Program Files/
Microsoft Visual Studio/Common/Tools/WinNT:/c/Program Files/Microsoft
Visual Studio/Common/MSDev98/Bin:/c/Program Files/M
icrosoft Visual Studio/Common/Tools:/c/Program Files/Microsoft Visual
Studio/VC98/bin:/usr/X11R6/bin:/home/reil/bin:/c/WI
NNT/system32:/c/WINNT:/c/Program Files/Microsoft Visual
Studio/Common/Tools/WinNT:/c/Program Files/Microsoft Visual Studi
o/Common/MSDev98/Bin:/c/Program Files/Microsoft Visual
Studio/Common/Tools:/c/Program Files/Microsoft Visual Studio/VC98/
bin:/c/Program Files/DevStudio/DF/bin:/c/Program
Files/DevStudio/SharedIDE/bin:/home/reil/hs/build2k:c:/cygwin//home/reil
/hs/dst2k/bin/CYGWIN_NT-5.1
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 4, GenuineIntel
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=0204
PROGRAMFILES=C:\Program Files
PROMPT=\[\]\w\[/>
PS1=reilnote:\[\]\w\[/>
PWD=/home/reil
ROOTSYS=/home/reil/root
SESSIONNAME=Console
SHLVL=1
SYSTEMDRIVE=C:
SYSTEMROOT=C:\WINNT
TEMP=/c/DOCUME~1/reilloc/LOCALS~1/Temp
TERATERM_EXTENSIONS=1
TERM=cygwin
TERMCAP=/etc/termcap
TEXMF={/usr/share/lilypond/1.6.8,/usr/share/texmf}
TMP=/c/DOCUME~1/reilloc/LOCALS~1/Temp
USER=reil
USERDOMAIN=REILNOTE
USERNAME=reil
USERPROFILE=C:\Documents and Settings\reilloc
WINDIR=C:\WINNT
_=/usr/bin/env
dstecho=cshecho.csh
dstfrom=c:/cygwin//home/reil/hs/dst2k/src
dstto=c:/cygwin//home/reil/hs/dst2k
hs=/home/reil/hs
mydstfrom=c:/cygwin//home/reil/prog/src
mydstto=c:/cygwin//home/reil/prog


|------------------------------------|---------------------------------|
| Kevin Reil                         | 2575 Sand Hill Road, MS 26      |
| X2447, 103D A&E Bldg. 041          | Menlo Park, CA 94025            |
|------------------------------------|---------------------------------|
| 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 Tue, 6 May 2003, Axel Naumann wrote:

>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