Installation problem ROOT qith QtROOT

Hi,

I am a newbie to ROOT and QtROOT. I follow the INSTALL_QTROOT.sh on WindowsXP using cygwin shell. But I still get below error messages that were identified as non QtROOT related problem. The author of QtROOT suggested that I might not have the complete set of packages on cygwin installed. Would you please help me and point out what cygwin packages are needed for ROOT installation from source? If below messages indicate otherwise, please advise me a solution. Thank you very much.

best,
xunlei


Creating library utils/src/rootcint_tmp.lib and object
utils/src/rootcint_tmp.exp
bin/rmkdepend.exe -R -futils/src/rootcint.d -Y -w 1000 – -nologo
-FIw32pragma.h -MDd -GR -EHsc- -W3
-wd4244 -RTC1 -Iinclude -DR__QT -D_WIN32_WINNT=0x0400 -D__cplusplus
– utils/src/rootcint.cxx
cl -Zi -nologo -FIw32pragma.h -MDd -GR -EHsc- -W3 -wd4244 -RTC1
-Iinclude -DR__QT -D_WIN32_WINNT=0
x0400 -Foutils/src/rootcint.o -c utils/src/rootcint.cxx
rootcint.cxx
bin/rmkdepend.exe -R -futils/src/RStl.d -Y -w 1000 – -nologo
-FIw32pragma.h -MDd -GR -EHsc- -W3 -wd
4244 -RTC1 -Iinclude -DR__QT -D_WIN32_WINNT=0x0400 -D__cplusplus –
utils/src/RStl.cxx
cl -Zi -nologo -FIw32pragma.h -MDd -GR -EHsc- -W3 -wd4244 -RTC1
-Iinclude -DR__QT -D_WIN32_WINNT=0
x0400 -Foutils/src/RStl.o -c utils/src/RStl.cxx
RStl.cxx
build/win/ld.sh -nologo -ignore:4049,4075,4217,4221 -incremental:no
-debug -o bin/rootcint.exe uti
ls/src/rootcint.o utils/src/RStl.o metautils/src/TClassEdit.o
lib/libCint.lib
bin/rmkdepend.exe -R -futils/src/rlibmap.d -Y -w 1000 – -nologo
-FIw32pragma.h -MDd -GR -EHsc- -W3
-wd4244 -RTC1 -Iinclude -DR__QT -D_WIN32_WINNT=0x0400 -D__cplusplus

utils/src/rlibmap.cxx
cl -Zi -nologo -FIw32pragma.h -MDd -GR -EHsc- -W3 -wd4244 -RTC1
-Iinclude -DR__QT -D_WIN32_WINNT=0
x0400 -Foutils/src/rlibmap.o -c utils/src/rlibmap.cxx
rlibmap.cxx
build/win/ld.sh -nologo -ignore:4049,4075,4217,4221 -incremental:no
-debug -o bin/rlibmap.exe util
s/src/rlibmap.o imagehlp.lib
rm utils/src/RStl_tmp.cxx utils/src/rootcint_tmp.cxx

SOME FATAL ERROR DURING EXECUTION, SORRY…

Just a simple thing to check. Have you enough disk space? Can you check this first?

Thanks for your reply.
Currently I still have 47.5GB free space on my WindowsXP (32bit) box.

Your root.cern.ch/phpBB2/viewtopic.php?t=7091 indicates there is some Visual C++ compiler / Cywgin installation issue on your machine. Let’s resolve that first and then come back to QtRoot installation.

Hi Valeri,

My other post has been idle for a couple of days. Is Root Talk really active? Or just my problem too simple? Thanks for your help.

Hi,

Our main windows expert is currently in vacation :slight_smile:.
Your problem is “hard” in the sense that we can not reproduce it …

Philippe.

[quote=“pcanal”]Hi,

Our main windows expert is currently in vacation :slight_smile:.
Your problem is “hard” in the sense that we can not reproduce it …

Philippe.[/quote]If I understand properly his question was,"What is the minimum set of Cygwin packages one needs to install to compile the ROOT?". I can install ROOT with my Cygwin. However my collection of the Cygwin packages is not minimal. I did send him my list.

[quote=“xunlei”]Hi Valeri,

My other post has been idle for a couple of days. Is Root Talk really active? Or just my problem too simple? Thanks for your help.[/quote]Did you remove /usr/bin/link.exe?

yes, I did.
It is VC’s link.exe and cl.exe running the show.
thanks a lot.

Hi Valeri,
I used TortoiseCVS frontend to update the qtgui\src directory. And INSTALL_QTROOT.sh finished w/o a hitch.
After run the set_environment.sh and set_environment.cmd.bat in both cygwin and DOS cmd, I launched root. The welcome screen suggests some demos programs to run. Here are the error messages.

I checked the set_envrionment and make sure it is using the correct directory.

Do I need to repeat the installation from a clean start? Thank you very much.

root [3] .x demoshelp.C
Error in TGQt::TGQt::CopyPixmap: Wrong TGuiFactory implementation was provided
. Please, check your plugin settings
Assertion failed: dst != (QPaintDevice *)-1, file qt/src/TGQt.cxx, line 1185

root [1] .x RootShower.CC
Error in TWinNTSystem::DynamicPathName: libRootShower does not exist in $(ROOT
SYS)/cint/include;.;c:\root\root/bin;c:\Qt\bin;c:\root\root\bin;c:\root\Coin3D\c
oin3d\CYGWIN_NT-5.1\coin3d\bin;C:\Program Files\Microsoft Visual Studio 9.0\Comm
on7\IDE;C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN;C:\Program Files\Mic
rosoft Visual Studio 9.0\Common7\Tools;C:\Program Files\Microsoft Visual Studio
9.0\Common7\Tools\bin;Framework32;Framework32\Microsoft .NET Framework 3.5 (Pr
e-Release Version);Framework32\v2.0.50727;C:\Program Files\Microsoft Visual Stud
io 9.0\VC\VCPackages;C:\Program Files\Microsoft SDKs\Windows\v6.1\bin;C:\Program
Files\Microsoft Visual Studio 9.0\Common7\IDE;C:\Program Files\Microsoft Visual
Studio 9.0\VC\BIN;C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools;C:
\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\bin;Framework32;Framew
ork32\Microsoft .NET Framework 3.5 (Pre-Release Version);Framework32\v2.0.50727
;C:\Program Files\Microsoft Visual Studio 9.0\VC\VCPackages;C:\Program Files\Mic
rosoft SDKs\Windows\v6.1\bin;C:\MinGW\bin;C:\Program Files\Microsoft DirectX SDK
(August 2007)\Utilities\Bin\x86;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Syste
m32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared;C:\Program Files
Common Files\Roxio Shared\DLLShared;C:\Program Files\Common Files\Roxio Shared
9.0\DLLShared;C:\Program Files\HPQ\IAM\bin;C:\Program Files\Common Files\Adobe
AGL;C:\Program Files\Intel\DMIX;C:\Program Files\QuickTime\QTSystem;C:\Program
Files\OpenCV\bin;C:\Program Files\SSH Communications Security\SSH Secure Shell;C
:\Program Files\CVSNT;C:\Program Files\StormII\Codec;C:\Program Files\StormII;C:
\root\bin;C:\Program Files\Visual Leak Detector\bin;C:\MinGW\bin;C:\Program File
s\Microsoft Visual Studio 9.0\VC\bin;C:\Program Files\Microsoft Visual Studio 9.
0\Common7\IDE;C:\Qt\bin;c:\root\root/test/qtRootShower;c:\root\root/lib;c:\root
root/test/qtRootShower,
or has wrong file extension (.dll)
Error: Symbol ShowerMain is not defined in current scope c:\root\root\test\qtRo
otShower\RootShower.CC(27)
Error: type ShowerMain not defined FILE:c:\root\root\test\qtRootShower\RootShowe
r.CC LINE:27
*** Interpreter error recovered ***
root [2]

Great[quote=“xunlei”]After run the set_environment.sh and set_environment.cmd.bat in both cygwin and DOS cmd, I launched root. The welcome screen suggests some demos programs to run. Here are the error messages.
[/quote]Did you start from cygwin prompt or from CMD prompt?
Anyway, can you try:

[code] - STAR Windows Command Prompt - cmd

  • invoke the Windows version from the command file, i.e. set_environment.cmd
    Pay your attention, there is no “set_environment.cmd.bat” file at all
  • Start ROOT from that commnad prompt.
  • Create the TCanvas *c = new TCanvas
  • Tell me the outcome.[/code][quote=“xunlei”]Do I need to repeat the installation from a clean start? [/quote]It may be useful thing to do anyway; there were too many missteps. However, first thing to do is to try what I suggested above.

Hi Valeri,
Here it is. Thanks a lot. And “root” crashed by popping up a error message box saying:

Debug Error!
Program: c:\root\root\bin\root.exe

This application has requested the Runtime to terminate it in an unusual way. Please contact the application’s support team for more information.

(press Retry to debug the application)

Abort Retry Ignore

C:\root>root
** $Id: TGQt.cxx,v 1.187 2008/07/21 03:46:57 fine Exp $ this=0156A100
Error in TWinNTSystem::DynamicPathName: QtRootGui does not exist in $(ROOTSYS)
/cint/include;.;c:\root\root/bin;c:\Qt\bin;c:\root\root\bin;c:\root\Coin3D\coin3
d\CYGWIN_NT-5.1\coin3d\bin;C:\Program Files\Microsoft Visual Studio 9.0\Common7
IDE;C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN;C:\Program Files\Microso
ft Visual Studio 9.0\Common7\Tools;C:\Program Files\Microsoft Visual Studio 9.0
Common7\Tools\bin;Framework32;Framework32\Microsoft .NET Framework 3.5 (Pre-Re
lease Version);Framework32\v2.0.50727;C:\Program Files\Microsoft Visual Studio 9
.0\VC\VCPackages;C:\Program Files\Microsoft SDKs\Windows\v6.1\bin;c:\Qt\bin;c:\r
oot\root\bin;c:\root\Coin3D\coin3d\CYGWIN_NT-5.1\coin3d\bin;C:\Program Files\Mic
rosoft Visual Studio 9.0\Common7\IDE;C:\Program Files\Microsoft Visual Studio 9.
0\VC\BIN;C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools;C:\Program F
iles\Microsoft Visual Studio 9.0\Common7\Tools\bin;Framework32;Framework32\Mic
rosoft .NET Framework 3.5 (Pre-Release Version);Framework32\v2.0.50727;C:\Progra
m Files\Microsoft Visual Studio 9.0\VC\VCPackages;C:\Program Files\Microsoft SDK
s\Windows\v6.1\bin;C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE;C:\P
rogram Files\Microsoft Visual Studio 9.0\VC\BIN;C:\Program Files\Microsoft Visua
l Studio 9.0\Common7\Tools;C:\Program Files\Microsoft Visual Studio 9.0\Common7
Tools\bin;Framework32;Framework32\Microsoft .NET Framework 3.5 (Pre-Release Ve
rsion);Framework32\v2.0.50727;C:\Program Files\Microsoft Visual Studio 9.0\VC\VC
Packages;C:\Program Files\Microsoft SDKs\Windows\v6.1\bin;C:\MinGW\bin;C:\Progra
m Files\Microsoft DirectX SDK (August 2007)\Utilities\Bin\x86;C:\WINDOWS\system3
2;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Roxio Shared
\DLLShared;C:\Program Files\Common Files\Roxio Shared\DLLShared;C:\Program Fil
es\Common Files\Roxio Shared\9.0\DLLShared;C:\Program Files\HPQ\IAM\bin;C:\Prog
ram Files\Common Files\Adobe\AGL;C:\Program Files\Intel\DMIX;C:\Program Files\Qu
ickTime\QTSystem;C:\Program Files\OpenCV\bin;C:\Program Files\SSH Communication
s Security\SSH Secure Shell;C:\Program Files\CVSNT;C:\Program Files\StormII\Code
c;C:\Program Files\StormII;C:\root\bin;C:\Program Files\Visual Leak Detector\bin
;C:\MinGW\bin;C:\Program Files\Microsoft Visual Studio 9.0\VC\bin;C:\Program Fil
es\Microsoft Visual Studio 9.0\Common7\IDE;C:\Qt\bin;c:\root\root/test/qtRootSho
wer;c:\root\root/lib,
or has wrong file extension (.dll)


  •                                     *
    
  •    W E L C O M E  to  R O O T       *
    
  •                                     *
    
  • Version 5.18/00 16 January 2008 *
  •                                     *
    
  • You are welcome to visit our Web site *
  •      [root.cern.ch](http://root.cern.ch)            *
    
  •                                     *
    

ROOT 5.18/00 (trunk@21744, Aug 13 2008, 11:13: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 { }.

Welcome to the ROOT tutorials

Type “.x demos.C” to get a toolbar from which to execute the demos

Type “.x demoshelp.C” to see the help window

Type “.x xform.CC” to see the combined Qt/Root demo

Type “.x RootShower.CC” to see the RootShower complex Qt-based example

Type “.x rootgeom_coin.C” to see the animated with Coin3D classes rootgeom.C ex
ample

ATTENTION PLEASE: To use ROOT ACliC facility make sure your current directory na
me has no “space” symbol
----------------- Ask ROOT team (roottalk@root.cern.ch), "Why?"
root [0] TCanvas *c = new TCanvas
Error in TGQt::TGQt::CopyPixmap: Wrong TGuiFactory implementation was provided
. Please, check your plugin settings
Assertion failed: dst != (QPaintDevice *)-1, file qt/src/TGQt.cxx, line 1185

The message:

[quote=“xunlei”]…
C:\root>root
** $Id: TGQt.cxx,v 1.187 2008/07/21 03:46:57 fine Exp $ this=0156A100
Error in TWinNTSystem::DynamicPathName: QtRootGui does not exist in $(ROOTSYS)
… [/quote]indicates there were some problems during installation.
I am surpised you had to install Tortoise CVS .
The script in question requires your local cygwin installation to be in possession of “cvs utility”. You had said your installation has no CVS. This way the script could not have completed its job properly.

I propose

[code] - start cygwin session

Hi Valeri,
Here is the error message I got. I am also sending this to qtRoot list. Thank you for your help.

Best,
xunlei

$ cvs up qt*
cvs update: failed to create lock directory for /data01/CVS' (/data01/CVS/#cvs.lock): Permission de nied cvs update: failed to obtain dir lock in repository/data01/CVS’
cvs [update aborted]: read lock failed - giving up
: no such repository

I think we should repeat the installation.
It sounds you are the first guy installing ROOT with Visual C++ v.9.0 and SDK 6.1
Therefore, your experience and time are extremely valuable

see: lists.bnl.gov/pipermail/qt-root … 00207.html

I have applied the script root.bnl.gov/QtRoot/INSTALL_QTROOT.sh and it successfully downloaded and re-built:

  1. ROOT 5.18 (from CERN)
  2. Qt 4.4.0 (from TrollTech)
  3. QtRoot from BNL CVS HEAD
  4. Coin3D 2.5.0 (From Coin3D)

with Visual Studio 9.0

However, I realized the process sometimes cannot be completed in one pass due lack (I am guessing) of the resource on the Windows machine. The script works well with 2Gb RAM

Thanks a lot, Valeri.
I am trying your script right now.
Will report back soon.

Best,
xunlei

Make sure you apply the fresh version.

The issue has been resolved:

See: lists.bnl.gov/pipermail/qt-root … 00302.html for details.

What essentially that message lists.bnl.gov/pipermail/qt-root … 00302.html said, the user was not able to build the 64-bits ROOT version on his Win64 machine and had to make the 32-bit instead.