[Gate-users] Question: Gate Installation on XP with MS Visual C++ 2008 Express Edition

Dark Durian ripesweetfruit at gmail.com
Thu Aug 27 07:57:11 CEST 2009


Hi,

Does anyone use MS Visual C++ 2008 instead of 2005 for the compiler?

The newest Geant4 installation guide for PC suggests to use the 2008 Ed. One
benefit is that it eliminates the need to install MS Windows Server 2003
Platform SDK.

I was able to succesfully install the Geant4 using MS Visual C++ 2008 months
ago.  I am currently trying to install the GATE on my PC.  Since the GATE
installation guide suggests some codes editting involving MS Windows Server
Platform SDK, I am wondering if I can use MS Visual C++ 2008 without MS
Windows Server.  Any "heads-up" will be much appreciated.

Thank you in advance for your help.

best,

Siman
Graduate Student in Medical Physics
Columbia University

On Tue, Aug 25, 2009 at 12:14 PM,
<gate-users-request at lists.healthgrid.org>wrote:

> Send Gate-users mailing list submissions to
>        gate-users at lists.healthgrid.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.healthgrid.org/mailman/listinfo/gate-users
> or, via email, send a message with subject or body 'help' to
>        gate-users-request at lists.healthgrid.org
>
> You can reach the person managing the list at
>        gate-users-owner at lists.healthgrid.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Gate-users digest..."
>
>
> Today's Topics:
>
>   1. ion_source definition... (AliAsghar Parach)
>   2. Re: compilation of Gate 5.0.0 (Cui, Yonggang)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 25 Aug 2009 15:16:32 +0430
> From: AliAsghar Parach <aaparach at gmail.com>
> Subject: [Gate-users] ion_source definition...
> To: gate-users-request at lists.healthgrid.org,
>        Gate-users at lists.healthgrid.org
> Message-ID:
>        <ebd3a0160908250346l1f75a92cy4df736f9b9981cfb at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Daer all users,
> I defined Lu-177(with all of it's emissions) in GATE4.0.0 and I set all of
> relevant parameters for it.
> at first, I set G4LEVELGAMMADATA as following:
>
> export G4LEVELGAMMADATA=/g4/GATE4/geant4.9.1.p02/data/PhotonEvaporation2.0
>
> The commands for definition of Lu-177 ion source are in below:
> /gate/source/addSource LuSource
> /gate/source/LuSource/setActivity 10000. becquerel
> /gate/source/LuSource/gps/particle ion
> /gate/source/LuSource/gps/ion 71 177 0 0
> /gate/source/LuSource/gps/energytype Mono
> /gate/source/LuSource/gps/monoenergy 0. keV
> /gate/source/LuSource/gps/number 1
> /gate/source/LuSource/setForcedUnstableFlag true
> /gate/source/LuSource/setForcedHalfLife 581472. s
> /gate/source/LuSource/gps/type Point
> /gate/source/LuSource/gps/angtype iso
> /gate/source/LuSource/gps/mintheta 0. deg
> /gate/source/LuSource/gps/maxtheta 180. deg
> /gate/source/LuSource/gps/minphi 0. deg
> /gate/source/LuSource/gps/maxphi 360. deg
> /gate/source/LuSource/gps/centre 0. 0. 0. cm
> /gate/source/LuSource/gps/confine NULL
> /gate/source/list
>
> but GATE didn't recognized any source in the running page and shows the
> following error and complete the simulation without any source.
>
>
> parameter value is not listed in the candidate List.
> > *****llegal parameter (1) </gate/source/gamma/setActivity 10000.
> becquerel
>
> what is the reason of this effect?
>
> note: when i use gamma point source (not ion source) the GATE runs well.
>
> regards
>
>
>
>
> --
> Ali Asghar Parach,Ph.D. student in Medical Physics,Tarbiat Modares
> University,Tehran,Iran
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.healthgrid.org/archives/gate-users/attachments/20090825/d68233da/attachment-0001.htm
> >
>
> ------------------------------
>
> Message: 2
> Date: Tue, 25 Aug 2009 11:08:07 -0400
> From: "Cui, Yonggang" <ycui at bnl.gov>
> Subject: Re: [Gate-users] compilation of Gate 5.0.0
> To: "Simon Stute" <gate.stute at gmail.com>, Ida H?ggstr?m
>        <ida.haggstrom at radfys.umu.se>
> Cc: gate-users at lists.healthgrid.org
> Message-ID:
>        <85FA28559CB0734FA6AABF430740D7A503A9D896 at exchangemb2.bnl.gov>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Dear All,
>
>
>
> I fixed the problem by unzip GATE 5 to a brand new folder, then go to the
> folder, modify the env_gate.sh, source it, unset G4WORKDIR, and go.  In this
> way, everything is okay.
>
>
>
> Yonggang
>
>
>
>
>
> ________________________________
>
> From: Simon Stute [mailto:gate.stute at gmail.com]
> Sent: Tuesday, August 25, 2009 3:57 AM
> To: Ida H?ggstr?m
> Cc: Cui, Yonggang; gate-users at lists.healthgrid.org
> Subject: Re: [Gate-users] compilation of Gate 5.0.0
>
>
>
> Hi,
>
> As a non-durty solution you can set G4WORKDIR to ./ (I think it is the
> default) and you add $GATEHOME/tmp/bin/Linux-g++ to your LD_LIBRARY_PATH.
> That's it !
>
> Cheers,
> Simon
>
> 2009/8/24 Ida H?ggstr?m <ida.haggstrom at radfys.umu.se>
>
> Hello again!
> I found another solution that I think works just as well, maybe even a
> better idea!
> Instead of changing the G4TMP and G4BIN in your make-files, type "make"
> once first so you get the error about not finding libGate.so....
> Look in your gate home directory under temp
> (gate_v5.0.0/tmp/Linux-g++/Gate) where you should hopefully find a bunch of
> files, including libGate.so. Copy all those files and move to your working
> directory under the same path: G4Work/tmp/Linux-g+/Gate.
> type "make" in your terminal again and I think it should work! It now find
> all those files... anyway, you should get the executable file "Gate" in your
> working directory under bin/Linux-g++ I think. You have to copy the
> libGate.so file into that same directory otherwise it will not be found when
> trying to run Gate...
> hope this helps! worked for me anyways!
> Ida
>
>
>
> Den 24 augusti 2009 08.15 skrev Ida H?ggstr?m <ida.haggstrom at radfys.umu.se
> >:
>
>
>
>        Hi Yonggang!
>        I encountered the exact same error when I tried to compile Gate
> 5.0.0... (could not find libGate.so). I noticed that the compilation of the
> subdirs (arf, physics, management etc) was ok and that all those .o-files
> ended up in my G4INSTALL directory under G4INSTALL/tmp/Linux-g++/Gate. If
> you open the GATE GNUMakefile that you run you see that G4TMP and G4BIN
> paths are set to your working directory by default (at least for me):
>        G4WORKDIR/tmp
>        G4WORKDIR/bin
>        When compiling I think it looks there for the just created .o-files!
> Anyway, I changed those paths to
>        G4INSTALL/tmp
>        G4INSTALL/bin
>        In all the subdirs (arf, physics etc) there's another makefile where
> G4TMP and G4BIN are defined again (don't know why!). I simply commented
> those commands so I only had to set them in the main make-file and
> everything compiled without problems for me...
>        Good luck!
>        Ida
>
>        2009/8/22 Cui, Yonggang <ycui at bnl.gov>
>
>        Hi All,
>
>
>
>        I have compiled GATE 4.0.0 successfully before.  Today, I tried to
> install GATE 5.0.0.
>
>
>
>        When I compile it, I got the following errors:
>
>
>
>        ***************************************************
>
>        Making dependency for file Gate.cc ...
>
>        In file included from
> ./source/mandatory_G4_classes/include/GateSteppingAction.h
>
>        h:34,
>
>                         from Gate.cc:34:
>
>        ./source/output/include/GateTrack.hh:10:19: TROOT.h: No such file or
> directory
>
>        ./source/output/include/GateTrack.hh:11:19: TTree.h: No such file or
> directory
>
>        Entering source/arf ...
>
>        make[1]: Nothing to be done for `obj'.
>
>        source/arf finished
>
>        Entering source/geometry ...
>
>        make[1]: Nothing to be done for `obj'.
>
>        source/geometry finished
>
>        Entering source/digitizer ...
>
>        make[1]: Nothing to be done for `obj'.
>
>        source/digitizer finished
>
>        Entering source/output ...
>
>        make[1]: Nothing to be done for `obj'.
>
>        source/output finished
>
>        Entering source/physics ...
>
>        make[1]: Nothing to be done for `obj'.
>
>        source/physics finished
>
>        Entering source/voxel ...
>
>        make[1]: Nothing to be done for `obj'.
>
>        source/voxel finished
>
>        Entering source/mandatory_G4_classes ...
>
>        make[1]: Nothing to be done for `obj'.
>
>        source/mandatory_G4_classes finished
>
>        Entering source/management ...
>
>        make[1]: Nothing to be done for `obj'.
>
>        source/management finished
>
>        Creating shared library
> /home1/ycui/G4Work/tmp/Linux-g++/Gate/libGate.so ...
>
>        g++: *.o: No such file or directory
>
>        make: *** [/home1/ycui/G4Work/tmp/Linux-g++/Gate/libGate.so] Error 1
>
>        ****************************************************
>
>
>
>        It seems that GateTrack.hh is a new header file introduced in Gate
> 5.0.0.  How can I correct the error?
>
>
>
>        Thanks in advance.
>
>
>
>        Yonggang
>
>
>
>        _______________________________________________
>        Gate-users mailing list
>        Gate-users at lists.healthgrid.org
>        http://lists.healthgrid.org/mailman/listinfo/gate-users
>
>
>
>
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.healthgrid.org
> http://lists.healthgrid.org/mailman/listinfo/gate-users
>
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.healthgrid.org/archives/gate-users/attachments/20090825/cebd19f6/attachment.htm
> >
>
> ------------------------------
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.healthgrid.org
> http://lists.healthgrid.org/mailman/listinfo/gate-users
>
>
> End of Gate-users Digest, Vol 39, Issue 31
> ******************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20090827/fa2ee14a/attachment.htm>


More information about the Gate-users mailing list