[Gate-users] Trouble installing Gate

Fernandez_M at klinik.uni-wuerzburg.de Fernandez_M at klinik.uni-wuerzburg.de
Mon Aug 29 10:30:08 CEST 2011


Dear Gate users,

I am having problems installing Gate.  I am using: Windows XP, where I have installed Cygwin and the VC++10 compiler (the express edition).  Using Cygwin I could install Geant4 without problems, using the VC++10 compiler. When it came to root I was not able to compile using the compiler from Microsoft (doing ./configure win32), but then I managed by using the gcc compiler (./configure win32gcc). Nevertheless when it came to install Gate I started finding problems. Then I installed the compiled Root version that can be found at the Root website, thinking that maybe the problem was that I had used different compilers. But when I try to compile again Gate, I have similar problems. This is what I get:


---------------------------------------------------------------------------------------------------------------------
physik at wnuw241 /cygdrive/c/gate_v6.1
$ source env_gate.sh

The current value of G4INSTALL is: c:/geant4/geant4_9_4
The current value of G4VERSION is: 9.4

Launching Geant4 configuration script c:/geant4/geant4_9_4/env.sh

On this machine the G4SYSTEM=WIN32-VC
On this machine the G4INSTALL=c:/geant4/geant4_9_4
On this machine the G4INCLUDE=c:/geant4/geant4_9_4/include/
On this machine the G4LIB=c:/geant4/geant4_9_4/lib
On this machine the G4LEVELGAMMADATA=c:/geant4/geant4_9_4/data/PhotonEvaporation2.1
On this machine the G4RADIOACTIVEDATA=c:/geant4/geant4_9_4/data/RadioactiveDecay3.3
On this machine the G4LEDATA=c:/geant4/geant4_9_4/data/G4EMLOW6.19
On this machine the G4NEUTRONHPDATA=c:/geant4/geant4_9_4/data/G4NDL3.14
On this machine the G4ABLADATA=c:/geant4/geant4_9_4/data/G4ABLA3.0
On this machine the G4REALSURFACEDATA=c:/geant4/geant4_9_4/data/RealSurface1.0
On this machine the G4NEUTRONXSDATA=c:/geant4/geant4_9_4/data/G4NEUTRONXS1.0
On this machine the G4PIIDATA=c:/geant4/geant4_9_4/data/G4PII1.2
On this machine the CLHEP_BASE_DIR=c:/CLHEP
On this machine the CLHEP_INCLUDE_DIR=c:/CLHEP/include
On this machine the CLHEP_LIB_DIR=c:/CLHEP/lib
On this machine the CLHEP_LIB=CLHEP.lib
On this machine the G4VIS_BUILD_OPENGLWIN32_DRIVER=1
On this machine the G4VIS_USE_OPENGLWIN32=1
On this machine the XMFLAGS=
On this machine the XMLIBS=
On this machine the XMFLAGS=
On this machine the XAWFLAGS=
On this machine the XAWLIBS=
On this machine the G4LIB_BUILD_ZLIB=1
On this machine the G4LIB_USE_ZLIB=1
On this machine the G4LIB_BUILD_STATIC=1

Configuring GATE options

G4WORKDIR set to .
G4TMP set to ./tmp
G4BIN set to ./bin
Data analysis and output features enabled
Ascii data output enabled
Transport and generation of optical photons is disabled
Checking your LD_LIBRARY_PATH variable...
==> OK: /cygdrive/c/root/lib is already in your LD_LIBRARY_PATH
Use of ROOT enabled
ROOT real-time plotter disabled
LMF data output disabled
ECAT7 data output disabled
GATEHOME is set to /cygdrive/c/gate_v6.1
Checking your path variable...
==> OK: /cygdrive/c/gate_v6.1/bin/WIN32-VC is already in your path variable
Checking your LD_LIBRARY_PATH variable...
==> OK: /cygdrive/c/gate_v6.1/tmp/WIN32-VC/Gate is already in your path variable
G4VERSION9_3 is set: GATE is compatible with the GEANT4 version 9.3 and 9.4

Done


physik at wnuw241 /cygdrive/c/gate_v6.1
$ make
Entering source/arf ...
Making dependency for file src/GateARFSDMessenger.cc ...
g++: unrecognized option '-MDd'
g++: unrecognized option '-EHs'
g++: unrecognized option '-GR'
Making dependency for file src/GateARFSD.cc ...
g++: unrecognized option '-MDd'
g++: unrecognized option '-EHs'
g++: unrecognized option '-GR'
Making dependency for file src/GateARFDataToRootMessenger.cc ...
g++: unrecognized option '-MDd'
g++: unrecognized option '-EHs'
g++: unrecognized option '-GR'
Making dependency for file src/GateARFDataToRoot.cc ...
g++: unrecognized option '-MDd'
g++: unrecognized option '-EHs'
g++: unrecognized option '-GR'
Compiling GateARFDataToRoot.cc ...
cl : Command line warning D9025 : overriding '/MD' with '/MDd'
cl : Command line warning D9002 : ignoring unknown option '-fPIC'
GateARFDataToRoot.cc
c:\root\include\TString.h(461) : warning C4273: '_stricmp' : inconsistent dll linkage
        C:\MSVS10\VC\include\string.h(142) : see previous definition of '_stricmp'
Compiling GateARFDataToRootMessenger.cc ...
cl : Command line warning D9025 : overriding '/MD' with '/MDd'
cl : Command line warning D9002 : ignoring unknown option '-fPIC'
GateARFDataToRootMessenger.cc
c:\root\include\TString.h(461) : warning C4273: '_stricmp' : inconsistent dll linkage
        C:\MSVS10\VC\include\string.h(142) : see previous definition of '_stricmp'
Compiling GateARFSD.cc ...
cl : Command line warning D9025 : overriding '/MD' with '/MDd'
cl : Command line warning D9002 : ignoring unknown option '-fPIC'
GateARFSD.cc
c:\root\include\TString.h(461) : warning C4273: '_stricmp' : inconsistent dll linkage
        C:\MSVS10\VC\include\string.h(142) : see previous definition of '_stricmp'
c:\gate_v6.1\source\digits_hits\include\GateVActor.hh(160) : error C2079: 'Gate
VActor::mTimeOfLastSaveEvent' uses undefined struct 'timeval'
make[1]: *** [../../tmp/WIN32-VC/Gate/GateARFSD.o] Error 2
source/arf finished
Entering source/geometry ...


(and continues giving these kind of messages )

Can somebody help? I  really have no idea where the problem is.

Thank you very much,
Maria Fernandez.

---------------------------------------------------
Maria Fernandez, PhD. Physics
Klinik fuer Nuklearmedizin
Universitaetsklinikum Wuerzburg
Oberduerrbacher Str. 6
D-97080 Wuerzburg, Germany
Tel.: +49 (0)931 / 201-44831
FAX: +49 (0)931 / 201-61803
E-Mail: fernandez_m at klinik.uni-wuerzburg.de<mailto:fernandez_m at klinik.uni-wuerzburg.de>
WWW: http://www.klinik.uni-wuerzburg.de/nuklearmedizin
---------------------------------------------------




More information about the Gate-users mailing list