rootcint failes with geant4.9 application

View: New views
4 Messages — Rating Filter:   Alert me  

rootcint failes with geant4.9 application

by Dr Yuri A Shitov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi to all,

I have problem with rootcint (root v. 5.19/03) failed to compile geant
4.9.1.p01 application with the log attached.
What's could be wrong in the basic G4 headers? I will be grateful for
any hints to solve the problem.
The same code compiles and works ok with root ROOT 5.15.05/G4.8.2

This is copy from message sent to cint root forum, sorry to diturb you
by repost as I think that mail list is more effective.
All the best,

Yuri

make[2]: Entering directory `/vols/snemo/nd/TPIX/trunk/geant4/src'
Generating dictionary MyG4Dict.cc...
/vols/snemo/root/new/bin/rootcint -f MyG4Dict.cc -c -pipe -I../include
-I../MyEM/include -I/vols/snemo/vmc_g4/new/include
-I/vols/snemo/vmc_g3/new/TGeant3
-I/vols/snemo/vgm/new/packages/VGM/include
-I/vols/snemo/vgm/new/packages/BaseVGM/include
-I/vols/snemo/vgm/new/packages/Geant4GM/include
-I/vols/snemo/vgm/new/packages/RootGM/include -DG4_VER_9
-I/home/hep/shitov/snemo/geant4/new/include/ -DG4DEBUG -DG4VERBOSE
-DG4_STORE_TRAJECTORY -DG4USE_STL -DG4VIS_USE
-DG4VIS_BUILD_OPENGLX_DRIVER -DG4VIS_USE_OPENGLX -DG4UI_USE_TCSH
-I/vols/snemo/root/5.19.03/include
-I/home/hep/shitov/snemo/nd/VerGen/devel/include
-I/home/hep/shitov/snemo/nd/TDGen/devel/include
-I/home/hep/shitov/snemo/nd/NemoTools/devel/include
-I/vols/snemo/clhep/pro/include -Df2cFortran
../include/MyG4RunConfigPar.h ../include/MyG4RunConfiguration.h
../include/MyG4LinkDef.h
Error: Symbol ostreamG4cout is not defined in current scope
/home/hep/shitov/snemo/geant4/new/include//G4ios.hh:48:
Error: Symbol ostreamG4cerr is not defined in current scope
/home/hep/shitov/snemo/geant4/new/include//G4ios.hh:49:
Error: no such template numeric_limits<double>
/home/hep/shitov/snemo/geant4/new/include//templates.hh:76:
Error: no such template numeric_limits<double>
/home/hep/shitov/snemo/geant4/new/include//templates.hh:80:
Error: no such template numeric_limits<double>
/home/hep/shitov/snemo/geant4/new/include//templates.hh:84:
Error: no such template numeric_limits<double>
/home/hep/shitov/snemo/geant4/new/include//templates.hh:88:
Error: no such template numeric_limits<float>
/home/hep/shitov/snemo/geant4/new/include//templates.hh:92:
Error: no such template numeric_limits<float>
/home/hep/shitov/snemo/geant4/new/include//templates.hh:96:
Error: no such template numeric_limits<float>
/home/hep/shitov/snemo/geant4/new/include//templates.hh:100:
Error: no such template numeric_limits<float>
/home/hep/shitov/snemo/geant4/new/include//templates.hh:104:
Error: no such template numeric_limits<float>
/home/hep/shitov/snemo/geant4/new/include//templates.hh:108:




RE: rootcint failes with geant4.9 application

by Philippe Canal :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Try running rootcint with an external preprocessor by adding the -p option
to the command line:

Code:
/vols/snemo/root/new/bin/rootcint -f MyG4Dict.cc -c     -p   -pipe
-I../include


Cheers,
Philippe.

-----Original Message-----
From: owner-cint@... [mailto:owner-cint@...] On Behalf Of
Dr Yuri A Shitov
Sent: Friday, April 18, 2008 7:56 AM
To: cint@...
Subject: [CINT] rootcint failes with geant4.9 application

Hi to all,

I have problem with rootcint (root v. 5.19/03) failed to compile geant
4.9.1.p01 application with the log attached.
What's could be wrong in the basic G4 headers? I will be grateful for
any hints to solve the problem.
The same code compiles and works ok with root ROOT 5.15.05/G4.8.2

This is copy from message sent to cint root forum, sorry to diturb you
by repost as I think that mail list is more effective.
All the best,

Yuri

make[2]: Entering directory `/vols/snemo/nd/TPIX/trunk/geant4/src'
Generating dictionary MyG4Dict.cc...
/vols/snemo/root/new/bin/rootcint -f MyG4Dict.cc -c -pipe -I../include
-I../MyEM/include -I/vols/snemo/vmc_g4/new/include
-I/vols/snemo/vmc_g3/new/TGeant3
-I/vols/snemo/vgm/new/packages/VGM/include
-I/vols/snemo/vgm/new/packages/BaseVGM/include
-I/vols/snemo/vgm/new/packages/Geant4GM/include
-I/vols/snemo/vgm/new/packages/RootGM/include -DG4_VER_9
-I/home/hep/shitov/snemo/geant4/new/include/ -DG4DEBUG -DG4VERBOSE
-DG4_STORE_TRAJECTORY -DG4USE_STL -DG4VIS_USE
-DG4VIS_BUILD_OPENGLX_DRIVER -DG4VIS_USE_OPENGLX -DG4UI_USE_TCSH
-I/vols/snemo/root/5.19.03/include
-I/home/hep/shitov/snemo/nd/VerGen/devel/include
-I/home/hep/shitov/snemo/nd/TDGen/devel/include
-I/home/hep/shitov/snemo/nd/NemoTools/devel/include
-I/vols/snemo/clhep/pro/include -Df2cFortran
../include/MyG4RunConfigPar.h ../include/MyG4RunConfiguration.h
../include/MyG4LinkDef.h
Error: Symbol ostreamG4cout is not defined in current scope
/home/hep/shitov/snemo/geant4/new/include//G4ios.hh:48:
Error: Symbol ostreamG4cerr is not defined in current scope
/home/hep/shitov/snemo/geant4/new/include//G4ios.hh:49:
Error: no such template numeric_limits<double>
/home/hep/shitov/snemo/geant4/new/include//templates.hh:76:
Error: no such template numeric_limits<double>
/home/hep/shitov/snemo/geant4/new/include//templates.hh:80:
Error: no such template numeric_limits<double>
/home/hep/shitov/snemo/geant4/new/include//templates.hh:84:
Error: no such template numeric_limits<double>
/home/hep/shitov/snemo/geant4/new/include//templates.hh:88:
Error: no such template numeric_limits<float>
/home/hep/shitov/snemo/geant4/new/include//templates.hh:92:
Error: no such template numeric_limits<float>
/home/hep/shitov/snemo/geant4/new/include//templates.hh:96:
Error: no such template numeric_limits<float>
/home/hep/shitov/snemo/geant4/new/include//templates.hh:100:
Error: no such template numeric_limits<float>
/home/hep/shitov/snemo/geant4/new/include//templates.hh:104:
Error: no such template numeric_limits<float>
/home/hep/shitov/snemo/geant4/new/include//templates.hh:108:





Re: rootcint failes with geant4.9 application

by Dr Yuri A Shitov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Philippe,

It works, thank you very much! I have forgot about this option.

Best,
Yuri

Philippe Canal wrote:

> Try running rootcint with an external preprocessor by adding the -p option
> to the command line:
>
> Code:
> /vols/snemo/root/new/bin/rootcint -f MyG4Dict.cc -c     -p   -pipe
> -I../include
>
>
> Cheers,
> Philippe.
>
> -----Original Message-----
> From: owner-cint@... [mailto:owner-cint@...] On Behalf Of
> Dr Yuri A Shitov
> Sent: Friday, April 18, 2008 7:56 AM
> To: cint@...
> Subject: [CINT] rootcint failes with geant4.9 application
>
> Hi to all,
>
> I have problem with rootcint (root v. 5.19/03) failed to compile geant
> 4.9.1.p01 application with the log attached.
> What's could be wrong in the basic G4 headers? I will be grateful for
> any hints to solve the problem.
> The same code compiles and works ok with root ROOT 5.15.05/G4.8.2
>
> This is copy from message sent to cint root forum, sorry to diturb you
> by repost as I think that mail list is more effective.
> All the best,
>
> Yuri
>
> make[2]: Entering directory `/vols/snemo/nd/TPIX/trunk/geant4/src'
> Generating dictionary MyG4Dict.cc...
> /vols/snemo/root/new/bin/rootcint -f MyG4Dict.cc -c -pipe -I../include
> -I../MyEM/include -I/vols/snemo/vmc_g4/new/include
> -I/vols/snemo/vmc_g3/new/TGeant3
> -I/vols/snemo/vgm/new/packages/VGM/include
> -I/vols/snemo/vgm/new/packages/BaseVGM/include
> -I/vols/snemo/vgm/new/packages/Geant4GM/include
> -I/vols/snemo/vgm/new/packages/RootGM/include -DG4_VER_9
> -I/home/hep/shitov/snemo/geant4/new/include/ -DG4DEBUG -DG4VERBOSE
> -DG4_STORE_TRAJECTORY -DG4USE_STL -DG4VIS_USE
> -DG4VIS_BUILD_OPENGLX_DRIVER -DG4VIS_USE_OPENGLX -DG4UI_USE_TCSH
> -I/vols/snemo/root/5.19.03/include
> -I/home/hep/shitov/snemo/nd/VerGen/devel/include
> -I/home/hep/shitov/snemo/nd/TDGen/devel/include
> -I/home/hep/shitov/snemo/nd/NemoTools/devel/include
> -I/vols/snemo/clhep/pro/include -Df2cFortran
> ../include/MyG4RunConfigPar.h ../include/MyG4RunConfiguration.h
> ../include/MyG4LinkDef.h
> Error: Symbol ostreamG4cout is not defined in current scope
> /home/hep/shitov/snemo/geant4/new/include//G4ios.hh:48:
> Error: Symbol ostreamG4cerr is not defined in current scope
> /home/hep/shitov/snemo/geant4/new/include//G4ios.hh:49:
> Error: no such template numeric_limits<double>
> /home/hep/shitov/snemo/geant4/new/include//templates.hh:76:
> Error: no such template numeric_limits<double>
> /home/hep/shitov/snemo/geant4/new/include//templates.hh:80:
> Error: no such template numeric_limits<double>
> /home/hep/shitov/snemo/geant4/new/include//templates.hh:84:
> Error: no such template numeric_limits<double>
> /home/hep/shitov/snemo/geant4/new/include//templates.hh:88:
> Error: no such template numeric_limits<float>
> /home/hep/shitov/snemo/geant4/new/include//templates.hh:92:
> Error: no such template numeric_limits<float>
> /home/hep/shitov/snemo/geant4/new/include//templates.hh:96:
> Error: no such template numeric_limits<float>
> /home/hep/shitov/snemo/geant4/new/include//templates.hh:100:
> Error: no such template numeric_limits<float>
> /home/hep/shitov/snemo/geant4/new/include//templates.hh:104:
> Error: no such template numeric_limits<float>
> /home/hep/shitov/snemo/geant4/new/include//templates.hh:108:
>
>
>
>  


Re: rootcint failes with geant4.9 application

by Axel Naumann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

for the records, the answer can be found here:
<http://root.cern.ch/phpBB2/viewtopic.php?t=6554>

Cheers, Axel.

On 2008-04-18 14:56, Dr Yuri A Shitov wrote:

> Hi to all,
>
> I have problem with rootcint (root v. 5.19/03) failed to compile geant
> 4.9.1.p01 application with the log attached.
> What's could be wrong in the basic G4 headers? I will be grateful for
> any hints to solve the problem.
> The same code compiles and works ok with root ROOT 5.15.05/G4.8.2
>
> This is copy from message sent to cint root forum, sorry to diturb you
> by repost as I think that mail list is more effective.
> All the best,
>
> Yuri
>
> make[2]: Entering directory `/vols/snemo/nd/TPIX/trunk/geant4/src'
> Generating dictionary MyG4Dict.cc...
> /vols/snemo/root/new/bin/rootcint -f MyG4Dict.cc -c -pipe -I../include
> -I../MyEM/include -I/vols/snemo/vmc_g4/new/include
> -I/vols/snemo/vmc_g3/new/TGeant3
> -I/vols/snemo/vgm/new/packages/VGM/include
> -I/vols/snemo/vgm/new/packages/BaseVGM/include
> -I/vols/snemo/vgm/new/packages/Geant4GM/include
> -I/vols/snemo/vgm/new/packages/RootGM/include -DG4_VER_9
> -I/home/hep/shitov/snemo/geant4/new/include/ -DG4DEBUG -DG4VERBOSE
> -DG4_STORE_TRAJECTORY -DG4USE_STL -DG4VIS_USE
> -DG4VIS_BUILD_OPENGLX_DRIVER -DG4VIS_USE_OPENGLX -DG4UI_USE_TCSH
> -I/vols/snemo/root/5.19.03/include
> -I/home/hep/shitov/snemo/nd/VerGen/devel/include
> -I/home/hep/shitov/snemo/nd/TDGen/devel/include
> -I/home/hep/shitov/snemo/nd/NemoTools/devel/include
> -I/vols/snemo/clhep/pro/include -Df2cFortran
> ../include/MyG4RunConfigPar.h ../include/MyG4RunConfiguration.h
> ../include/MyG4LinkDef.h
> Error: Symbol ostreamG4cout is not defined in current scope
> /home/hep/shitov/snemo/geant4/new/include//G4ios.hh:48:
> Error: Symbol ostreamG4cerr is not defined in current scope
> /home/hep/shitov/snemo/geant4/new/include//G4ios.hh:49:
> Error: no such template numeric_limits<double>
> /home/hep/shitov/snemo/geant4/new/include//templates.hh:76:
> Error: no such template numeric_limits<double>
> /home/hep/shitov/snemo/geant4/new/include//templates.hh:80:
> Error: no such template numeric_limits<double>
> /home/hep/shitov/snemo/geant4/new/include//templates.hh:84:
> Error: no such template numeric_limits<double>
> /home/hep/shitov/snemo/geant4/new/include//templates.hh:88:
> Error: no such template numeric_limits<float>
> /home/hep/shitov/snemo/geant4/new/include//templates.hh:92:
> Error: no such template numeric_limits<float>
> /home/hep/shitov/snemo/geant4/new/include//templates.hh:96:
> Error: no such template numeric_limits<float>
> /home/hep/shitov/snemo/geant4/new/include//templates.hh:100:
> Error: no such template numeric_limits<float>
> /home/hep/shitov/snemo/geant4/new/include//templates.hh:104:
> Error: no such template numeric_limits<float>
> /home/hep/shitov/snemo/geant4/new/include//templates.hh:108:
>
>
>
>

LightInTheBox - Buy quality products at wholesale price