[Gate-users] Gate v7.1 Compilation Error

Newhook , Sam sam.newhook at rmp.uhn.ca
Tue Jul 21 22:34:23 CEST 2015


Hi Gate Users,
I am having trouble installing Gate v7.1 on my linux computer using Ubuntu 14.04. I am trying to install gate with GPU compatibility but I can't seem to get it to work. I have a cuda enabled gpu. I run into trouble after running "sudo make -j8". This is the output that I get:
[  1%] Built target GateBenchmarkData
[  3%] Built target itkzlib
[  9%] Built target GateExampleData
[  9%] [  9%] [ 10%] [ 10%] [ 10%] [ 10%] [ 11%] [ 11%] Building CXX object itk-mhd/MetaIO/CMakeFiles/MetaIO.dir/metaUtils.o
Building CXX object itk-mhd/MetaIO/CMakeFiles/MetaIO.dir/metaCommand.o
Building CXX object itk-mhd/MetaIO/CMakeFiles/MetaIO.dir/metaArrow.o
Building CXX object itk-mhd/MetaIO/CMakeFiles/MetaIO.dir/metaContour.o
Building CXX object itk-mhd/MetaIO/CMakeFiles/MetaIO.dir/metaBlob.o
Building CXX object itk-mhd/MetaIO/CMakeFiles/MetaIO.dir/metaEllipse.o
Building CXX object itk-mhd/MetaIO/CMakeFiles/MetaIO.dir/metaGroup.o
Building CXX object itk-mhd/MetaIO/CMakeFiles/MetaIO.dir/metaDTITube.o
[ 11%] Building CXX object itk-mhd/MetaIO/CMakeFiles/MetaIO.dir/metaGaussian.o
[ 11%] Building CXX object itk-mhd/MetaIO/CMakeFiles/MetaIO.dir/metaImage.o
[ 11%] Building CXX object itk-mhd/MetaIO/CMakeFiles/MetaIO.dir/metaImageUtils.o
[ 11%] Building CXX object itk-mhd/MetaIO/CMakeFiles/MetaIO.dir/metaLandmark.o
[ 11%] Building CXX object itk-mhd/MetaIO/CMakeFiles/MetaIO.dir/metaLine.o
[ 11%] Building CXX object itk-mhd/MetaIO/CMakeFiles/MetaIO.dir/metaMesh.o
[ 12%] Building CXX object itk-mhd/MetaIO/CMakeFiles/MetaIO.dir/metaObject.o
[ 12%] Building CXX object itk-mhd/MetaIO/CMakeFiles/MetaIO.dir/metaOutput.o
[ 12%] Building CXX object itk-mhd/MetaIO/CMakeFiles/MetaIO.dir/metaScene.o
[ 12%] Building CXX object itk-mhd/MetaIO/CMakeFiles/MetaIO.dir/metaSurface.o
[ 12%] Building CXX object itk-mhd/MetaIO/CMakeFiles/MetaIO.dir/metaTube.o
[ 12%] Building CXX object itk-mhd/MetaIO/CMakeFiles/MetaIO.dir/metaVesselTube.o
[ 12%] Building CXX object itk-mhd/MetaIO/CMakeFiles/MetaIO.dir/metaTransform.o
[ 13%] Building CXX object itk-mhd/MetaIO/CMakeFiles/MetaIO.dir/metaTubeGraph.o
[ 13%] Building CXX object itk-mhd/MetaIO/CMakeFiles/MetaIO.dir/metaForm.o
[ 13%] Building CXX object itk-mhd/MetaIO/CMakeFiles/MetaIO.dir/metaArray.o
[ 13%] Building CXX object itk-mhd/MetaIO/CMakeFiles/MetaIO.dir/metaFEMObject.o
Linking CXX static library libMetaIO.a
[ 13%] Built target MetaIO
[ 13%] Building NVCC (Device) object CMakeFiles/Gate.dir/source/gpu/src/./Gate_generated_GateGPUManager.cu.o
/usr/lib/gcc/x86_64-linux-gnu/4.8/include/stddef.h(432): error: identifier "nullptr" is undefined

/usr/lib/gcc/x86_64-linux-gnu/4.8/include/stddef.h(432): error: expected a ";"

/usr/include/x86_64-linux-gnu/c++/4.8/bits/c++config.h(190): error: expected a ";"

/usr/include/c++/4.8/exception(63): error: expected a ";"

/usr/include/c++/4.8/exception(68): error: expected a ";"

/usr/include/c++/4.8/exception(76): error: expected a ";"

/usr/include/c++/4.8/exception(83): error: expected a ";"

/usr/include/c++/4.8/exception(93): error: expected a "{"

/usr/include/c++/4.8/bits/exception_ptr.h(64): error: function "std::current_exception" returns incomplete type "std::__exception_ptr::exception_ptr"

/usr/include/c++/4.8/bits/exception_ptr.h(64): error: expected a "{"

/usr/include/c++/4.8/bits/exception_ptr.h(79): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(81): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(82): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(84): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(86): error: declaration is incompatible with previous "std::current_exception"
(64): here

/usr/include/c++/4.8/bits/exception_ptr.h(86): error: use of a local type to declare a function

/usr/include/c++/4.8/bits/exception_ptr.h(86): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(87): error: use of a local type to declare a function

/usr/include/c++/4.8/bits/exception_ptr.h(90): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(92): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(95): error: incomplete type is not allowed

/usr/include/c++/4.8/bits/exception_ptr.h(95): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(116): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(126): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(143): error: use of a local type to declare a function

/usr/include/c++/4.8/bits/exception_ptr.h(144): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(147): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(152): error: use of a local type to declare a function

/usr/include/c++/4.8/bits/exception_ptr.h(153): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(156): error: use of a local type to declare a function

/usr/include/c++/4.8/bits/exception_ptr.h(157): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(160): error: use of a local type to declare a function

/usr/include/c++/4.8/bits/exception_ptr.h(161): error: expected a ";"

/usr/include/c++/4.8/bits/exception_ptr.h(169): error: expected a ";"

/usr/include/c++/4.8/bits/nested_exception.h(57): error: incomplete type is not allowed

/usr/include/c++/4.8/bits/nested_exception.h(60): error: expected a ";"

/usr/include/c++/4.8/bits/nested_exception.h(66): error: expected a ";"

/usr/include/c++/4.8/bits/nested_exception.h(70): error: identifier "rethrow_exception" is undefined

/usr/include/c++/4.8/bits/nested_exception.h(73): error: function "std::nested_exception::nested_ptr" returns incomplete type "std::__exception_ptr::exception_ptr"

/usr/include/c++/4.8/new(95): error: expected a "{"

/usr/include/c++/4.8/new(110): error: identifier "__p" is undefined

/usr/include/c++/4.8/new(111): error: expected a "{"

/usr/include/c++/4.8/new(115): error: expected a "{"

/usr/include/c++/4.8/new(116): error: expected a "{"

/usr/include/c++/4.8/bits/cpp_type_traits.h(184): error: identifier "char16_t" is undefined

/usr/include/c++/4.8/bits/cpp_type_traits.h(191): error: identifier "char32_t" is undefined

/usr/include/c++/4.8/bits/cpp_type_traits.h(191): error: class "std::__is_integer<<error-type>>" has already been defined

/usr/include/c++/4.8/bits/cpp_type_traits.h(314): error: namespace "std::__gnu_cxx" has no member "__normal_iterator"

/usr/include/c++/4.8/bits/cpp_type_traits.h(314): error: expected a ">"

/usr/include/c++/4.8/cmath(80): error: inline specifier allowed on function declarations only

/usr/include/c++/4.8/cmath(80): error: expected a ";"

/usr/include/c++/4.8/cmath(105): error: inline specifier allowed on function declarations only

/usr/include/c++/4.8/cmath(105): error: variable "std::constexpr" has already been defined

/usr/include/c++/4.8/cmath(105): error: expected a ";"

/usr/include/c++/4.8/cmath(124): error: inline specifier allowed on function declarations only

/usr/include/c++/4.8/cmath(124): error: variable "std::constexpr" has already been defined

/usr/include/c++/4.8/cmath(124): error: expected a ";"

/usr/include/c++/4.8/cmath(143): error: inline specifier allowed on function declarations only

/usr/include/c++/4.8/cmath(143): error: variable "std::constexpr" has already been defined

/usr/include/c++/4.8/cmath(143): error: expected a ";"

/usr/include/c++/4.8/cmath(162): error: inline specifier allowed on function declarations only

/usr/include/c++/4.8/cmath(162): error: variable "std::constexpr" has already been defined

/usr/include/c++/4.8/cmath(162): error: expected a ";"

/usr/include/c++/4.8/cmath(183): error: inline specifier allowed on function declarations only

/usr/include/c++/4.8/cmath(183): error: variable "std::constexpr" has already been defined

/usr/include/c++/4.8/cmath(183): error: expected a ";"

/usr/include/c++/4.8/cmath(202): error: inline specifier allowed on function declarations only

/usr/include/c++/4.8/cmath(202): error: variable "std::constexpr" has already been defined

/usr/include/c++/4.8/cmath(202): error: expected a ";"

/usr/include/c++/4.8/cmath(221): error: inline specifier allowed on function declarations only

/usr/include/c++/4.8/cmath(221): error: variable "std::constexpr" has already been defined

/usr/include/c++/4.8/cmath(221): error: expected a ";"

/usr/include/c++/4.8/cmath(240): error: inline specifier allowed on function declarations only

/usr/include/c++/4.8/cmath(240): error: variable "std::constexpr" has already been defined

/usr/include/c++/4.8/cmath(240): error: expected a ";"

/usr/include/c++/4.8/cmath(259): error: inline specifier allowed on function declarations only

/usr/include/c++/4.8/cmath(259): error: variable "std::constexpr" has already been defined

/usr/include/c++/4.8/cmath(259): error: expected a ";"

/usr/include/c++/4.8/cmath(278): error: inline specifier allowed on function declarations only

/usr/include/c++/4.8/cmath(278): error: variable "std::constexpr" has already been defined

/usr/include/c++/4.8/cmath(278): error: expected a ";"

/usr/include/c++/4.8/cmath(297): error: inline specifier allowed on function declarations only

/usr/include/c++/4.8/cmath(297): error: variable "std::constexpr" has already been defined

/usr/include/c++/4.8/cmath(297): error: expected a ";"

/usr/include/c++/4.8/cmath(328): error: "constexpr" is not a function or static data member

/usr/include/c++/4.8/cmath(337): error: inline specifier allowed on function declarations only

/usr/include/c++/4.8/cmath(337): error: variable "std::constexpr" has already been defined

/usr/include/c++/4.8/cmath(337): error: expected a ";"

/usr/include/c++/4.8/cmath(356): error: inline specifier allowed on function declarations only

/usr/include/c++/4.8/cmath(356): error: variable "std::constexpr" has already been defined

/usr/include/c++/4.8/cmath(356): error: expected a ";"

/usr/include/c++/4.8/cmath(375): error: inline specifier allowed on function declarations only

/usr/include/c++/4.8/cmath(375): error: variable "std::constexpr" has already been defined

/usr/include/c++/4.8/cmath(375): error: expected a ";"

/usr/include/c++/4.8/cmath(406): error: inline specifier allowed on function declarations only

/usr/include/c++/4.8/cmath(406): error: variable "std::constexpr" has already been defined

/usr/include/c++/4.8/cmath(406): error: expected a ";"

/usr/include/c++/4.8/cmath(443): error: inline specifier allowed on function declarations only

/usr/include/c++/4.8/cmath(443): error: variable "std::constexpr" has already been defined

/usr/include/c++/4.8/cmath(443): error: expected a ";"

Error limit reached.
100 errors detected in the compilation of "/tmp/tmpxft_000071f4_00000000-10_GateGPUManager.compute_30.cpp1.ii".
Compilation terminated.
CMake Error at Gate_generated_GateGPUManager.cu.o.cmake:264 (message):
  Error generating file
  /usr/gate/gate_v7.1-build/CMakeFiles/Gate.dir/source/gpu/src/./Gate_generated_GateGPUManager.cu.o


make[2]: *** [CMakeFiles/Gate.dir/source/gpu/src/./Gate_generated_GateGPUManager.cu.o] Error 1
make[1]: *** [CMakeFiles/Gate.dir/all] Error 2
make: *** [all] Error 2
I am wondering if anyone has run into this problem before and if they could provide some help.
Thanks,
Sam

This e-mail may contain confidential and/or privileged information for the sole use of the intended recipient. 
Any review or distribution by anyone other than the person for whom it was originally intended is strictly prohibited. 
If you have received this e-mail in error, please contact the sender and delete all copies. 
Opinions, conclusions or other information contained in this e-mail may not be that of the organization.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20150721/81a1fa05/attachment-0001.html>


More information about the Gate-users mailing list