[Gate-users] GATE 6.0 - File Merge installation problem

Davi Ezequiel François davifrancois at hotmail.com
Wed Mar 10 06:00:11 CET 2010


Thank you Simon and Wolfram!!!
I realized the suggested change and now the File Merge works fine!
RegardsDavi François

Date: Tue, 9 Mar 2010 10:36:09 +0100
Subject: Re: [Gate-users] GATE 6.0 - File Merge installation problem
From: gate.stute at gmail.com
To: Wolfram.Stiller at med.uni-heidelberg.de
CC: davifrancois at hotmail.com; gate-users at lists.opengatecollaboration.org

Hi all,

Sorry for that ... and Wolfram is right.
You have to add #include <cstdlib> in the main program gjm.cc and in the header file GateMergeManager.hh.
It should work.

Sorry again,
Simon


On Tue, Mar 9, 2010 at 9:13 AM, Stiller, Wolfram <Wolfram.Stiller at med.uni-heidelberg.de> wrote:

Dear Davi,



the errors you get are from (missing) headers that need to be explicitly included with a "#include<...>" statement. This comes with the newer versions of gcc. The functions gentenv(), atoi(), exit() are defined in headers you need to state at the beginning of your "GateMergeManager.hh"-file. Unfortunately I am not in the office, so I cannot look them up for you. If you search for these function names together with the keyword c++ on the web you will be able to find out in which header(s) they are defined (e.g. on cplusplus.com) and can simpy include these.




Good luck with compilation,



Wolfram







Dr. Wolfram Stiller

Diplom-Physiker



Universitätsklinikum Heidelberg

Abteilung für Diagnostische und Interventionelle Radiologie

Im Neuenheimer Feld 110

D-69120 Heidelberg

Germany



E-mail: wolfram.stiller at med.uni-heidelberg.de



Tel.: +49 (0) 6221 56 37240 or

       +49 (0) 6221 56 6434





Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.




This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.


________________________________________

Von: gate-users-bounces at lists.opengatecollaboration.org [gate-users-bounces at lists.opengatecollaboration.org] im Auftrag von Davi Ezequiel François [davifrancois at hotmail.com]


Gesendet: Dienstag, 9. März 2010 05:12

An: gate-users at lists.opengatecollaboration.org

Betreff: [Gate-users] GATE 6.0 - File Merge installation problem



Dear Gate Users.

I've installed the GATE 6.0 in Fedora 12.

My environment is:-     Fedora 12;-     clhep 2.0.4.2;-  geant4.9.2.p03.tar.gz;-        root_v5.26.00b.source.tar.gz;-  lmf 3.0;-       gate 6.0.

I've also installed the Job Spliter. However, I have a problem with File Merge installation.

Creating object file for ./gjm.cc ...In file included from gjm.cc:16:include/GateMergeManager.hh: In constructor‘GateMergeManager::GateMergeManager(bool, int, bool, Long64_t,std::string)’:include/GateMergeManager.hh:35: error: ‘getenv’ was not declared in this scopeinclude/GateMergeManager.hh:37: error: ‘exit’ was not declared in this scopeinclude/GateMergeManager.hh:39: error: ‘getenv’ was not declared in this scopeinclude/GateMergeManager.hh:45: error: ‘exit’ was not declared in this scopegjm.cc: In function ‘void showhelp()’:gjm.cc:46: error: ‘exit’ was not declared in this scopegjm.cc: In function ‘int main(int, char**)’:gjm.cc:69: error: ‘exit’ was not declared in this scopegjm.cc:71: error: ‘atoi’ was not declared in this scopegjm.cc:97: error: ‘exit’ was not declared in this scopegjm.cc:106: error: ‘atol’ was not declared in this scopegjm.cc:120: error: ‘exit’ was not declared in this scopegjm.cc:124: error: ‘exit’ was not declared in this scopegjm.cc:134: error: ‘exit’ was not declared in this scopegjm.cc: At global scope:gjm.cc:147: fatal error: opening dependency file tmp/./gjm.dd: Permission deniedcompilation terminated.make: *** [tmp/./gjm.o] Error 1


Anyone have a idea about this problem?

RegardsDavi Ezequiel François

_________________________________________________________________

Não deixe rastros ao navegar na Internet. Instale Grátis o Internet Explorer 8 agora.

http://go.microsoft.com/?linkid=9707132

_______________________________________________

Gate-users mailing list

Gate-users at lists.opengatecollaboration.org

http://lists.opengatecollaboration.org/mailman/listinfo/gate-users

_______________________________________________

Gate-users mailing list

Gate-users at lists.opengatecollaboration.org

http://lists.opengatecollaboration.org/mailman/listinfo/gate-users


 		 	   		  
_________________________________________________________________
Não deixe rastros ao navegar na Internet. Instale Grátis o Internet Explorer 8 agora.
http://go.microsoft.com/?linkid=9707132


More information about the Gate-users mailing list