<div dir="ltr">Dear gate users,<div><br></div><div>I'm attempting to compile GATE v7.2 (Commit #66 from the develop branch) with the GPU option and I received the following errors when building GATE:</div><div><br>[100%] Linking CXX executable Gate<br></div><div>CMakeFiles/Gate.dir/source/geometry/src/GateCylinder.cc.o: In function `G4Tubs::SetOuterRadius(double)':<br>GateCylinder.cc:(.text._ZN6G4Tubs14SetOuterRadiusEd[_ZN6G4Tubs14SetOuterRadiusEd]+0x323): undefined reference to `G4Exception(char const*, char const*, G4ExceptionSeverity, std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >&)'<br>CMakeFiles/Gate.dir/source/geometry/src/GateCylinder.cc.o: In function `G4Tubs::SetZHalfLength(double)':<br>GateCylinder.cc:(.text._ZN6G4Tubs14SetZHalfLengthEd[_ZN6G4Tubs14SetZHalfLengthEd]+0x26a): undefined reference to `G4Exception(char const*, char const*, G4ExceptionSeverity, std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >&)'<br>CMakeFiles/Gate.dir/source/geometry/src/GateCylinder.cc.o: In function `G4Tubs::CheckDPhiAngle(double)':<br>GateCylinder.cc:(.text._ZN6G4Tubs14CheckDPhiAngleEd[_ZN6G4Tubs14CheckDPhiAngleEd]+0x286): undefined reference to `G4Exception(char const*, char const*, G4ExceptionSeverity, std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >&)'<br>CMakeFiles/Gate.dir/source/geometry/src/GateCylinder.cc.o: In function `G4Tubs::SetInnerRadius(double)':<br>GateCylinder.cc:(.text._ZN6G4Tubs14SetInnerRadiusEd[_ZN6G4Tubs14SetInnerRadiusEd]+0x323): undefined reference to `G4Exception(char const*, char const*, G4ExceptionSeverity, std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >&)'<br>CMakeFiles/Gate.dir/source/geometry/src/GateSphere.cc.o: In function `G4Sphere::CheckDPhiAngle(double)':<br>GateSphere.cc:(.text._ZN8G4Sphere14CheckDPhiAngleEd[_ZN8G4Sphere14CheckDPhiAngleEd]+0x286): undefined reference to `G4Exception(char const*, char const*, G4ExceptionSeverity, std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >&)'<br>CMakeFiles/Gate.dir/source/geometry/src/GateSphere.cc.o:GateSphere.cc:(.text._ZN8G4Sphere16CheckThetaAnglesEdd[_ZN8G4Sphere16CheckThetaAnglesEdd]+0x218): more undefined references to `G4Exception(char const*, char const*, G4ExceptionSeverity, std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >&)' follow<br>collect2: error: ld returned 1 exit status<br>CMakeFiles/Gate.dir/build.make:16737: 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></div><div>Can anyone help? I'm currently running the following hardware and software configurations after many attempts:<br><br></div><div>Motherboard: Gigabyte Z170N-Gaming-5<br></div><div>CPU: i7-6600K (Skylake)<br></div><div>GPU: GTX 1080 Armor<br></div><div>OS: Ubuntu 16.04.1 LTS<br></div><div>GPU driver version: 367.35<br></div><div>CUDA version: 8.0RC<br></div><div>gcc version: 4.9.3 (Used the default 5.4.0 for everything else except GATE and used --override when installing CUDA 8.0RC from *.run file)<br></div><div><br></div><div>Many thanks,<br><br></div><div>Ed<br></div></div>