[Gate-users] installation error on mac
Tuoyu Cao
tuoyucao at bnl.gov
Thu May 7 03:28:13 CEST 2015
Hi all,
I am trying to install the newest version of GATE (7.1) on my mac (os 10.10). Root(6.02) and Geant4(10.01) are installed without problem. But when I try to install GATE, I got error messages (all default settings)
***********
[ 87%] Building CXX object CMakeFiles/Gate.dir/source/physics/src/GateVSource.cc.o
[ 87%] Building CXX object CMakeFiles/Gate.dir/source/physics/src/GateVSourceMessenger.cc.o
In file included from /Users/tuoyucao/Documents/gate_v7.1/source/physics/src/GateVSource.cc:9:
In file included from /Users/tuoyucao/Documents/geant4.10.01-install/include/Geant4/G4ParticleTable.hh:53:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:423:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__tree:16:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:1645:31: error: call to implicitly-deleted copy constructor of
'G4SPSRandomGenerator'
::new((void*)__p) _Up(_VSTD::forward<_Args>(__args)...);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:1572:18: note: in instantiation of function template specialization
'std::__1::allocator<G4SPSRandomGenerator>::construct<G4SPSRandomGenerator, G4SPSRandomGenerator>' requested here
{__a.construct(__p, _VSTD::forward<_Args>(__args)...);}
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:1453:14: note: in instantiation of function template specialization
'std::__1::allocator_traits<std::__1::allocator<G4SPSRandomGenerator> >::__construct<G4SPSRandomGenerator, G4SPSRandomGenerator>' requested here
{__construct(__has_construct<allocator_type, pointer, _Args...>(),
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/memory:1535:17: note: in instantiation of function template specialization
'std::__1::allocator_traits<std::__1::allocator<G4SPSRandomGenerator> >::construct<G4SPSRandomGenerator, G4SPSRandomGenerator>' requested here
construct(__a, _VSTD::__to_raw_pointer(__end2-1), _VSTD::move_if_noexcept(*--__end1));
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/vector:874:21: note: in instantiation of function template specialization
'std::__1::allocator_traits<std::__1::allocator<G4SPSRandomGenerator> >::__construct_backward<G4SPSRandomGenerator *>' requested here
__alloc_traits::__construct_backward(this->__alloc(), this->__begin_, this->__end_, __v.__begin_);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/vector:1039:9: note: in instantiation of member function
'std::__1::vector<G4SPSRandomGenerator, std::__1::allocator<G4SPSRandomGenerator> >::__swap_out_circular_buffer' requested here
__swap_out_circular_buffer(__v);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/vector:1979:15: note: in instantiation of member function
'std::__1::vector<G4SPSRandomGenerator, std::__1::allocator<G4SPSRandomGenerator> >::__append' requested here
this->__append(__sz - __cs);
^
/Users/tuoyucao/Documents/gate_v7.1/source/physics/src/GateVSource.cc:878:18: note: in instantiation of member function 'std::__1::vector<G4SPSRandomGenerator,
std::__1::allocator<G4SPSRandomGenerator> >::resize' requested here
mUserPosGenY.resize(resX);
^
/Users/tuoyucao/Documents/geant4.10.01-install/include/Geant4/G4SPSRandomGenerator.hh:201:19: note: copy constructor of 'G4SPSRandomGenerator' is implicitly deleted because field
'local_IPDFXBias' has an inaccessible copy constructor
G4Cache<a_check> local_IPDFXBias;
^
[ 87%] Building CXX object CMakeFiles/Gate.dir/source/physics/src/GateVSourceVoxelReader.cc.o
1 error generated.
make[2]: *** [CMakeFiles/Gate.dir/source/physics/src/GateVSource.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Gate.dir/all] Error 2
make: *** [all] Error 2
Thanks a lot for any suggestions
Best
Tuoyu
More information about the Gate-users
mailing list