Message: problems with ROOT in Geant4 under Cygwin Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question problems with ROOT in Geant4 under Cygwin 

Forum: Installation and Configuration
Date: 08 Aug, 2008
From: jerimy <jerimy>

I am encountering the following error message when trying to compile a Geant4 simulation containing ROOT using Cygwin. When I issue the make comand i get the following error message:

Compiling ...
src/ : fatal error C1083: Cannot open include file: 'TROOT.h': No
 such file or directory
make: *** [/cygdrive/c/geant4/g4apps/tmp/WIN32-VC/85GammaNozzleTrackSimplev1/Analysis.o] Error 2 contains line the #include TROOT.h. THis same simulation comiles and runs fine on our Linux system.

The specifics of my install are as follows:


Cygwin 1.5.25 - cygwin is using compiler from Visual C++ 2005 Express Edition

ROOT 5.20.00

I think this may be a problem wih the enviroment variables, but I cannot confirm this. Changing the format of the enviroment variable definitions from ROOTSYS=c:/root to ROOTSYS=cygdrive/c/root allowed the compiler to find the several other root files, but now I get the error for TRROT.h.

any ideas anyone?? (besides buying a mac)

cheers, Jerimy Polf

 Add Message Add Message
to: "problems with ROOT in Geant4 under Cygwin"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]