<div>You can use root5.34 try again!</div><div><div><br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ 原始邮件 ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>发件人:</b> "gate-users-request";<gate-users-request@lists.opengatecollaboration.org>;</div><div><b>发送时间:</b> 2016年8月26日(星期五) 晚上6:00</div><div><b>收件人:</b> "gate-users"<gate-users@lists.opengatecollaboration.org>; <wbr></div><div></div><div><b>主题:</b> Gate-users Digest, Vol 123, Issue 23</div></div><div><br></div>Send Gate-users mailing list submissions to<br>  gate-users@lists.opengatecollaboration.org<br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>       http://lists.opengatecollaboration.org/mailman/listinfo/gate-users<br>or, via email, send a message with subject or body 'help' to<br>      gate-users-request@lists.opengatecollaboration.org<br><br>You can reach the person managing the list at<br>   gate-users-owner@lists.opengatecollaboration.org<br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of Gate-users digest..."<br><br><br>Today's Topics:<br><br>   1. GATE v7.2 installation error (Devin Van Elburg)<br>   2. Re: GATE v7.2 installation error (Andrej Studen)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Thu, 25 Aug 2016 12:12:11 -0400<br>From: Devin Van Elburg <djvanel@lakeheadu.ca><br>To: gate-users@lists.opengatecollaboration.org<br>Subject: [Gate-users] GATE v7.2 installation error<br>Message-ID:<br>       <CACAgQ32fWnPFeCBB-sKZq1YSQ+Fu+ucMZ2vN51_CD4Qo102EFw@mail.gmail.com><br>Content-Type: text/plain; charset="utf-8"<br><br>Hello GATE users,<br><br>I'm trying to install GATE v7.2 on Ubuntu 16.04. I'm also using:<br><br>gcc 4.9.3<br>geant4.10.2<br>root 6.06.02<br><br>As far as I can see, geant4 and root have both been successfully compiled.<br>After configuring and generating in ccmake for gate, then running 'make<br>-j4', I get this error:<br><br>CMakeFiles/Gate.dir/source/geometry/src/GateCylinder.cc.o: In function<br>`G4Tubs::SetOuterRadius(double)':<br>GateCylinder.cc:(.text._ZN6G4Tubs14SetOuterRadiusEd[_ZN6G4Tubs14SetOuterRadiusEd]+0x323):<br>undefined reference to `G4Exception(char const*, char const*,<br>G4ExceptionSeverity, std::basic_ostringstream<char, std::char_traits<char>,<br>std::allocator<char> >&)'<br>CMakeFiles/Gate.dir/source/geometry/src/GateCylinder.cc.o: In function<br>`G4Tubs::SetZHalfLength(double)':<br>GateCylinder.cc:(.text._ZN6G4Tubs14SetZHalfLengthEd[_ZN6G4Tubs14SetZHalfLengthEd]+0x26a):<br>undefined reference to `G4Exception(char const*, char const*,<br>G4ExceptionSeverity, std::basic_ostringstream<char, std::char_traits<char>,<br>std::allocator<char> >&)'<br>CMakeFiles/Gate.dir/source/geometry/src/GateCylinder.cc.o: In function<br>`G4Tubs::CheckDPhiAngle(double)':<br>GateCylinder.cc:(.text._ZN6G4Tubs14CheckDPhiAngleEd[_ZN6G4Tubs14CheckDPhiAngleEd]+0x286):<br>undefined reference to `G4Exception(char const*, char const*,<br>G4ExceptionSeverity, std::basic_ostringstream<char, std::char_traits<char>,<br>std::allocator<char> >&)'<br>CMakeFiles/Gate.dir/source/geometry/src/GateCylinder.cc.o: In function<br>`G4Tubs::SetInnerRadius(double)':<br>GateCylinder.cc:(.text._ZN6G4Tubs14SetInnerRadiusEd[_ZN6G4Tubs14SetInnerRadiusEd]+0x323):<br>undefined reference to `G4Exception(char const*, char const*,<br>G4ExceptionSeverity, std::basic_ostringstream<char, std::char_traits<char>,<br>std::allocator<char> >&)'<br>CMakeFiles/Gate.dir/source/geometry/src/GateCone.cc.o: In function<br>`G4Cons::CheckDPhiAngle(double)':<br>GateCone.cc:(.text._ZN6G4Cons14CheckDPhiAngleEd[_ZN6G4Cons14CheckDPhiAngleEd]+0x286):<br>undefined reference to `G4Exception(char const*, char const*,<br>G4ExceptionSeverity, std::basic_ostringstream<char, std::char_traits<char>,<br>std::allocator<char> >&)'<br>CMakeFiles/Gate.dir/source/geometry/src/GateSphere.cc.o:GateSphere.cc:(.text._ZN8G4Sphere14CheckDPhiAngleEd[_ZN8G4Sphere14CheckDPhiAngleEd]+0x286):<br>more undefined references to `G4Exception(char const*, char const*,<br>G4ExceptionSeverity, std::basic_ostringstream<char, std::char_traits<char>,<br>std::allocator<char> >&)' follow<br>collect2: error: ld returned 1 exit status<br>CMakeFiles/Gate.dir/build.make:16715: recipe for target 'Gate' failed<br>make[2]: *** [Gate] Error 1<br>CMakeFiles/Makefile2:68: recipe for target 'CMakeFiles/Gate.dir/all' failed<br>make[1]: *** [CMakeFiles/Gate.dir/all] Error 2<br>Makefile:127: recipe for target 'all' failed<br>make: *** [all] Error 2<br><br><br><br><br><br>I suppose I need to define this G4Exception function somewhere, or fix a<br>path to it. Something along those lines. Does anyone have any insights, or<br>have had this problem before?<br><br>Is it possible that the G4Exception are in these .cc.o files but defined<br>after they are called by other functions (in G4Tubs, etc), i.e. I need to<br>move G4Exception before say SetOuterRadius is defined? I was going to try<br>this, but I don't know of any programs that can read and edit .cc.o files.<br><br>Thanks in advance,<br>Devin Van Elburg<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20160825/c7c5ef4b/attachment-0001.html><br><br>------------------------------<br><br>Message: 2<br>Date: Thu, 25 Aug 2016 22:17:50 +0200<br>From: Andrej Studen <andrej.studen@ijs.si><br>To: gate-users@lists.opengatecollaboration.org<br>Subject: Re: [Gate-users] GATE v7.2 installation error<br>Message-ID: <50c61bd9-8f91-1bec-7387-12f82431f9a8@ijs.si><br>Content-Type: text/plain; charset="utf-8"; Format="flowed"<br><br>Hi Devin!<br><br>This is a linking error. Somewhere in your code (be it G4Tubs or <br>GateCylinder) the function G4Exception with the specified list of <br>parameters is used. However, the library you are linking with doesn't <br>have that function. Either you are missing the library containing <br>G4Exception of the Geant library the compiler sees doesn't have that <br>particular flavor of the G4Exception class. Since all errors are just <br>for the one constructor, it could be that your header file and your <br>library for G4Exception are not compatible. Do you by chance have more <br>than one version of geant on your PC?<br><br>Hope this helps.<br><br>Andrej<br><br>Devin Van Elburg je 25. 08. 2016 ob 18:12 napisal:<br>> Hello GATE users,<br>><br>> I'm trying to install GATE v7.2 on Ubuntu 16.04. I'm also using:<br>><br>> gcc 4.9.3<br>> geant4.10.2<br>> root 6.06.02<br>><br>> As far as I can see, geant4 and root have both been successfully <br>> compiled. After configuring and generating in ccmake for gate, then <br>> running 'make -j4', I get this error:<br>><br>> CMakeFiles/Gate.dir/source/geometry/src/GateCylinder.cc.o: In function <br>> `G4Tubs::SetOuterRadius(double)':<br>> GateCylinder.cc:(.text._ZN6G4Tubs14SetOuterRadiusEd[_ZN6G4Tubs14SetOuterRadiusEd]+0x323): <br>> undefined reference to `G4Exception(char const*, char const*, <br>> G4ExceptionSeverity, std::basic_ostringstream<char, <br>> std::char_traits<char>, std::allocator<char> >&)'<br>> CMakeFiles/Gate.dir/source/geometry/src/GateCylinder.cc.o: In function <br>> `G4Tubs::SetZHalfLength(double)':<br>> GateCylinder.cc:(.text._ZN6G4Tubs14SetZHalfLengthEd[_ZN6G4Tubs14SetZHalfLengthEd]+0x26a): <br>> undefined reference to `G4Exception(char const*, char const*, <br>> G4ExceptionSeverity, std::basic_ostringstream<char, <br>> std::char_traits<char>, std::allocator<char> >&)'<br>> CMakeFiles/Gate.dir/source/geometry/src/GateCylinder.cc.o: In function <br>> `G4Tubs::CheckDPhiAngle(double)':<br>> GateCylinder.cc:(.text._ZN6G4Tubs14CheckDPhiAngleEd[_ZN6G4Tubs14CheckDPhiAngleEd]+0x286): <br>> undefined reference to `G4Exception(char const*, char const*, <br>> G4ExceptionSeverity, std::basic_ostringstream<char, <br>> std::char_traits<char>, std::allocator<char> >&)'<br>> CMakeFiles/Gate.dir/source/geometry/src/GateCylinder.cc.o: In function <br>> `G4Tubs::SetInnerRadius(double)':<br>> GateCylinder.cc:(.text._ZN6G4Tubs14SetInnerRadiusEd[_ZN6G4Tubs14SetInnerRadiusEd]+0x323): <br>> undefined reference to `G4Exception(char const*, char const*, <br>> G4ExceptionSeverity, std::basic_ostringstream<char, <br>> std::char_traits<char>, std::allocator<char> >&)'<br>> CMakeFiles/Gate.dir/source/geometry/src/GateCone.cc.o: In function <br>> `G4Cons::CheckDPhiAngle(double)':<br>> GateCone.cc:(.text._ZN6G4Cons14CheckDPhiAngleEd[_ZN6G4Cons14CheckDPhiAngleEd]+0x286): <br>> undefined reference to `G4Exception(char const*, char const*, <br>> G4ExceptionSeverity, std::basic_ostringstream<char, <br>> std::char_traits<char>, std::allocator<char> >&)'<br>> CMakeFiles/Gate.dir/source/geometry/src/GateSphere.cc.o:GateSphere.cc:(.text._ZN8G4Sphere14CheckDPhiAngleEd[_ZN8G4Sphere14CheckDPhiAngleEd]+0x286): <br>> more undefined references to `G4Exception(char const*, char const*, <br>> G4ExceptionSeverity, std::basic_ostringstream<char, <br>> std::char_traits<char>, std::allocator<char> >&)' follow<br>> collect2: error: ld returned 1 exit status<br>> CMakeFiles/Gate.dir/build.make:16715: recipe for target 'Gate' failed<br>> make[2]: *** [Gate] Error 1<br>> CMakeFiles/Makefile2:68: recipe for target 'CMakeFiles/Gate.dir/all' <br>> failed<br>> make[1]: *** [CMakeFiles/Gate.dir/all] Error 2<br>> Makefile:127: recipe for target 'all' failed<br>> make: *** [all] Error 2<br>><br>><br>><br>><br>><br>> I suppose I need to define this G4Exception function somewhere, or fix <br>> a path to it. Something along those lines. Does anyone have any <br>> insights, or have had this problem before?<br>><br>> Is it possible that the G4Exception are in these .cc.o files but <br>> defined after they are called by other functions (in G4Tubs, etc), <br>> i.e. I need to move G4Exception before say SetOuterRadius is defined? <br>> I was going to try this, but I don't know of any programs that can <br>> read and edit .cc.o files.<br>><br>> Thanks in advance,<br>> Devin Van Elburg<br>><br>><br>> _______________________________________________<br>> Gate-users mailing list<br>> Gate-users@lists.opengatecollaboration.org<br>> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users<br><br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20160825/51d17f79/attachment-0001.html><br><br>------------------------------<br><br>Subject: Digest Footer<br><br>_______________________________________________<br>Gate-users mailing list<br>Gate-users@lists.opengatecollaboration.org<br>http://lists.opengatecollaboration.org/mailman/listinfo/gate-users<br><br>------------------------------<br><br>End of Gate-users Digest, Vol 123, Issue 23<br>*******************************************<br></div>