[Gate-users] ECAT7 installation
Miguel Couceiro
couceiro at lipc.fis.uc.pt
Wed May 2 14:38:14 CEST 2007
Hi
Open the file "machine_indep.h", and comment line 23. It should look
like this
#ifdef linux
/* WHERE IS swab on redhat ??? */
#include <sys/types.h>
//void swab(const void *src, void *dest, size_t nbytes);
#endif
Hope this helps
Miguel
김진수 wrote:
>
> Hello Gate users
>
> I have downloaded ecat.tar.gz and I followed the instructions
>
> After extraction I placed the files into the directories specified in
> the GATE User's Guide.
>
> /usr/local/ecat7/lib/Linux-g++/libecat.a
> /usr/local/ecat7/include/matrix.h
> /usr/local/ecat7/include/machine_indep.h
>
> the enviromental variable ECAT7_HOME was set to
> "setenv ECAT7_HOME=/usr/local/ecat7"
> in the gate_env.csh
>
> However, during compiling GATE, some errors message was occured as
> followings
>
>
> error **************************************
> Compiling GateEcatAccelSystem.cc ...
> /usr/local/ecat7/include/machine_indep.h:23: error: declaration of C
> function ? void swab(const void*, void*, size_t)??conflicts with
> /usr/include/unistd.h:1032: error: previous declaration? void
> swab(const void*, void*, ssize_t)??here
> make: *** [tmp/Linux-g++/Gate/GateEcatAccelSystem.o] Error 1
>
> *******************************************
>
> Why this error message was occured?
>
> Best regards
>
> JS
>
>
>
>
>
> Following message was displayed when type"source gate_env.csh"
>
> The current value of G4INSTALL is: /home/gate/geant4.8.1.p02
> The current value of G4VERSION is: 8.0
> Launching Geant4 configuration script /home/gate/geant4.8.1.p02/env.csh
>
> On this machine the G4SYSTEM=Linux-g++
> On this machine the G4INSTALL=/home/gate/geant4.8.1.p02
> On this machine the G4LIB=/home/gate/geant4.8.1.p02/lib
> On this machine the
> G4LEVELGAMMADATA=/home/gate/geant4.8.1.p02/data/PhotonEvaporation2.0
> On this machine the
> G4RADIOACTIVEDATA=/home/gate/geant4.8.1.p02/data/RadiativeDecay3.0
> On this machine the G4LEDATA=/home/gate/geant4.8.1.p02/data/G4EMLOW4.0
> On this machine the
> NeutronHPCrossSections=/home/gate/geant4.8.1.p02/data/G4NDL3.9
> On this machine the
> G4ELASTICDATA=/home/gate/geant4.8.1.p02/data/G4ELASTIC1.1
> On this machine the CLHEP_BASE_DIR=/home/gate/clhep_1.9.2.3
> On this machine the CLHEP_INCLUDE_DIR=/home/gate/clhep_1.9.2.3/include
> On this machine the CLHEP_LIB_DIR=/home/gate/clhep_1.9.2.3/lib
> On this machine the CLHEP_LIB=CLHEP
> On this machine the G4VIS_BUILD_OPENGLX_DRIVER=1
> On this machine the G4VIS_USE_OPENGLX=1
> On this machine the XMFLAGS=
> On this machine the XMLIBS=
> On this machine the XMFLAGS=
> On this machine the XMLIBS=
> On this machine the XAWFLAGS=
> On this machine the XAWLIBS=
> On this machine the G4LIB_BUILD_STATIC=1
> On this machine the G4LIB_USE_GRANULAR=1
> On this machine the G4UI_USE_TCSH=1
> In your environment you have the G4WORKDIR=.
> Checking your LD_LIBRARY_PATH variable
> ==> /home/gate/clhep_1.9.2.3/lib is already in your LD_LIBRARY_PATH
>
> 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 enabled
> Checking your LD_LIBRARY_PATH variable...
> ==> OK: /home/gate/root/lib is already in your LD_LIBRARY_PATH
> Use of ROOT enabled
> ROOT real-time plotter disabled
> Checking your LD_LIBRARY_PATH variable...
> ==> OK: /home/gate/LMF/lib added to your LD_LIBRARY_PATH
> LMF data output enabled
> ECAT7 data output enabled
> GATEHOME is set to /home/gate/gate_v3.0.0
> Checking your path variable...
> ==> OK: /home/gate/gate_v3.0.0/bin/Linux-g++ is already in your path
> variable
> G4VERSION7_1 is not set: GATE is not compatible with the geant4
> version 7.1
> G4VERSION8_0 is set: GATE is compatible with the geant4 version 8.0
>
> Done
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.healthgrid.org
> http://lists.healthgrid.org/mailman/listinfo/gate-users
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: couceiro.vcf
Type: text/x-vcard
Size: 472 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20070502/77a7ac4f/attachment.vcf>
More information about the Gate-users
mailing list