[Gate-users] Gate-users Digest, Vol 110, Issue 18

Taherparvar p.taherparvar at gmail.com
Sat Jul 18 06:20:03 CEST 2015


Dear all
I have the same problem, in Gtae7.1 compilation.
I am very grateful to help me.

make[2]: *** [CMakeFiles/Gate.dir/source/geometry/src/GateImageRegularParametrisedVolume.cc.o]
 Error 1
 CMakeFiles/Gate.dir/build.make:1989: recipe for target
 'CMakeFiles/Gate.dir/source/geometry/src/GateVImageVolume.cc.o' failed
 make[2]: *** [CMakeFiles/Gate.dir/source/geometry/src/GateVImageVolume.cc.o]
 Error 1
 CMakeFiles/Makefile2:622: recipe for target 'CMakeFiles/Gate.dir/all' failed
 make[1]: *** [CMakeFiles/Gate.dir/all] Error 2
 Makefile:126: recipe for target 'all' failed
 make: *** [all] Error 2


Regards







On 7/18/15, gate-users-request at lists.opengatecollaboration.org
<gate-users-request at lists.opengatecollaboration.org> wrote:
> Send Gate-users mailing list submissions to
> 	gate-users at lists.opengatecollaboration.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
> or, via email, send a message with subject or body 'help' to
> 	gate-users-request at lists.opengatecollaboration.org
>
> You can reach the person managing the list at
> 	gate-users-owner at lists.opengatecollaboration.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Gate-users digest..."
>
>
> Today's Topics:
>
>    1. Installation of GATE (P. T.)
>    2. Gate 7.1 on VMware (P. T.)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 17 Jul 2015 16:08:38 +0430
> From: "P. T." <ptpphysics at gmail.com>
> To: gate-users <gate-users at lists.opengatecollaboration.org>
> Subject: [Gate-users] Installation of GATE
> Message-ID:
> 	<CAJ9ZRTJQ9zrFoTR4EbdctTSyYWyo+qZ86SX2yguVgBjFyzVYQA at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Dear Gater
>
>  I want to  to install Gate v7.1 on my VMware.
>  GEANT4 (geant4.10.01.p01.tar) and CLHEP (clhep-2.2.0.4) and root have
> been installed successfully on the Ubuntu 14.10.  But when I  use make
> -j4 or make -j4 to install gate 7.1, the error below occurs:
>
> ---------------------------------------------------------------------------------------------------------
> /home/gate7/GATE/gate_v7.1/source/arf/src/GateARFTableMgr.cc:226:1:
> error: ?dest? was not declared in this scope
>  dest.open ( theFN.c_str() );
>  ^
> /home/gate7/GATE/gate_v7.1/source/arf/src/GateARFTableMgr.cc: In
> member function ?void
> GateARFTableMgr::LoadARFFromBinaryFile(G4String)?:
> /home/gate7/GATE/gate_v7.1/source/arf/src/GateARFTableMgr.cc:301:3:
> error: ?ifstream? was not declared in this scope
>    ifstream dest;
>    ^
> /home/gate7/GATE/gate_v7.1/source/arf/src/GateARFTableMgr.cc:301:3:
> note: suggested alternative:
> In file included from /usr/include/c++/4.9/ios:38:0,
>                  from /usr/include/c++/4.9/istream:38,
>                  from /usr/include/c++/4.9/sstream:38,
>                  from /usr/include/c++/4.9/complex:45,
>                  from
> /home/gate7/GATE/geant4.10.01-install/include/Geant4/G4Types.hh:67,
>                  from
> /home/gate7/GATE/geant4.10.01-install/include/Geant4/G4ios.hh:39,
>                  from
> /home/gate7/GATE/geant4.10.01-install/include/Geant4/globals.hh:49,
>                  from
> /home/gate7/GATE/gate_v7.1/source/arf/include/GateARFTableMgr.hh:12,
>                  from
> /home/gate7/GATE/gate_v7.1/source/arf/src/GateARFTableMgr.cc:13:
> /usr/include/c++/4.9/iosfwd:157:34: note:   ?std::ifstream?
>    typedef basic_ifstream<char>   ifstream;
>                                   ^
> /home/gate7/GATE/gate_v7.1/source/arf/src/GateARFTableMgr.cc:302:3:
> error: ?dest? was not declared in this scope
>    dest.open ( theFileName.c_str(),std::ios::binary );
>    ^
> CMakeFiles/Gate.dir/build.make:57: recipe for target
> 'CMakeFiles/Gate.dir/Gate.cc.o' failed
> make[2]: *** [CMakeFiles/Gate.dir/Gate.cc.o] Error 1
> CMakeFiles/Gate.dir/build.make:149: recipe for target
> 'CMakeFiles/Gate.dir/source/arf/src/GateARFTableMgr.cc.o' failed
> make[2]: *** [CMakeFiles/Gate.dir/source/arf/src/GateARFTableMgr.cc.o] Error
> 1
> CMakeFiles/Gate.dir/build.make:1161: recipe for target
> 'CMakeFiles/Gate.dir/source/geometry/src/GateImageRegionalizedSubVolumeMessenger.cc.o'
> failed
> make[2]: ***
> [CMakeFiles/Gate.dir/source/geometry/src/GateImageRegionalizedSubVolumeMessenger.cc.o]
> Error 1
> CMakeFiles/Gate.dir/build.make:103: recipe for target
> 'CMakeFiles/Gate.dir/source/arf/src/GateARFDataToRoot.cc.o' failed
> make[2]: *** [CMakeFiles/Gate.dir/source/arf/src/GateARFDataToRoot.cc.o]
> Error 1
> CMakeFiles/Makefile2:622: recipe for target 'CMakeFiles/Gate.dir/all'
> failed
> make[1]: *** [CMakeFiles/Gate.dir/all] Error 2
> Makefile:126: recipe for target 'all' failed
> make: *** [all] Error 2
> ------------------------------------------------------------------------------------------------------------------
> Or:
>
> must be enable with the -std=gnu++11 or -std=c++11
>
>
> I would be very grateful if you could help me
>
> Regards,
> Pat
>
>
> ------------------------------
>
> Message: 2
> Date: Sat, 18 Jul 2015 03:51:40 +0430
> From: "P. T." <ptpphysics at gmail.com>
> To: gate-users <gate-users at lists.opengatecollaboration.org>
> Subject: [Gate-users] Gate 7.1 on VMware
> Message-ID:
> 	<CAJ9ZRT+G3SV06H1GmiTMs3FuFC=qLjcoNEQUWqQ3F40hoMXGog at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Dear all
>
> I used geant4.10.01.tar.gz, but i have some problems!
> Do you have any recommand for me?
>
> my output is as following:
>
> /usr/include/c++/4.9/atomic:699:15: error: expected ?;? at end of
> member declaration
>        ~atomic() noexcept = default;
>                ^
> /usr/include/c++/4.9/atomic:699:17: error: ?noexcept? does not name a type
>        ~atomic() noexcept = default;
>                  ^
> /usr/include/c++/4.9/atomic:704:7: error: ?constexpr? does not name a type
>        constexpr atomic(__integral_type __i) noexcept : __base_type(__i) {
> }
>        ^
> /usr/include/c++/4.9/atomic:704:7: note: C++11 ?constexpr? only
> available with -std=c++11 or -std=gnu++11
> /usr/include/c++/4.9/atomic:717:14: error: expected ?;? at end of
> member declaration
>        atomic() noexcept = default;
>               ^
> /usr/include/c++/4.9/atomic:717:16: error: ?noexcept? does not name a type
>        atomic() noexcept = default;
>                 ^
> /usr/include/c++/4.9/atomic:718:15: error: expected ?;? at end of
> member declaration
>        ~atomic() noexcept = default;
>                ^
> /usr/include/c++/4.9/atomic:718:17: error: ?noexcept? does not name a type
>        ~atomic() noexcept = default;
>                  ^
> /usr/include/c++/4.9/atomic:723:7: error: ?constexpr? does not name a type
>        constexpr atomic(__integral_type __i) noexcept : __base_type(__i) {
> }
>        ^
> /usr/include/c++/4.9/atomic:723:7: note: C++11 ?constexpr? only
> available with -std=c++11 or -std=gnu++11
> /usr/include/c++/4.9/atomic:731:19: error: ?char16_t? was not declared
> in this scope
>      struct atomic<char16_t> : public atomic_char16_t
>                    ^
> /usr/include/c++/4.9/atomic:731:27: error: template argument 1 is invalid
>      struct atomic<char16_t> : public atomic_char16_t
>                            ^
> /usr/include/c++/4.9/atomic:732:5: error: expected class-name before ?{?
> token
>      {
>      ^
> /usr/include/c++/4.9/atomic:750:19: error: ?char32_t? was not declared
> in this scope
>      struct atomic<char32_t> : public atomic_char32_t
>                    ^
> /usr/include/c++/4.9/atomic:750:27: error: template argument 1 is invalid
>      struct atomic<char32_t> : public atomic_char32_t
>                            ^
> /usr/include/c++/4.9/atomic:751:5: error: expected class-name before ?{?
> token
>      {
>      ^
> /usr/include/c++/4.9/atomic:771:27: error: expected initializer before
> ?noexcept?
>          memory_order __m) noexcept
>                            ^
> /usr/include/c++/4.9/atomic:776:27: error: expected initializer before
> ?noexcept?
>          memory_order __m) noexcept
>                            ^
> /usr/include/c++/4.9/atomic:780:66: error: expected initializer before
> ?noexcept?
>    atomic_flag_clear_explicit(atomic_flag* __a, memory_order __m) noexcept
>                                                                   ^
> /usr/include/c++/4.9/atomic:785:27: error: expected initializer before
> ?noexcept?
>          memory_order __m) noexcept
>                            ^
> /usr/include/c++/4.9/atomic:789:46: error: expected initializer before
> ?noexcept?
>    atomic_flag_test_and_set(atomic_flag* __a) noexcept
>                                               ^
> /usr/include/c++/4.9/atomic:793:55: error: expected initializer before
> ?noexcept?
>    atomic_flag_test_and_set(volatile atomic_flag* __a) noexcept
>                                                        ^
> /usr/include/c++/4.9/atomic:797:39: error: expected initializer before
> ?noexcept?
>    atomic_flag_clear(atomic_flag* __a) noexcept
>                                        ^
> /usr/include/c++/4.9/atomic:801:48: error: expected initializer before
> ?noexcept?
>    atomic_flag_clear(volatile atomic_flag* __a) noexcept
>                                                 ^
> /usr/include/c++/4.9/atomic:808:50: error: expected initializer before
> ?noexcept?
>      atomic_is_lock_free(const atomic<_ITp>* __a) noexcept
>                                                   ^
> /usr/include/c++/4.9/atomic:813:59: error: expected initializer before
> ?noexcept?
>      atomic_is_lock_free(const volatile atomic<_ITp>* __a) noexcept
>                                                            ^
> /usr/include/c++/4.9/atomic:818:46: error: expected initializer before
> ?noexcept?
>      atomic_init(atomic<_ITp>* __a, _ITp __i) noexcept;
>                                               ^
> /usr/include/c++/4.9/atomic:822:55: error: expected initializer before
> ?noexcept?
>      atomic_init(volatile atomic<_ITp>* __a, _ITp __i) noexcept;
>                                                        ^
> /usr/include/c++/4.9/atomic:827:24: error: expected initializer before
> ?noexcept?
>       memory_order __m) noexcept
>                         ^
> /usr/include/c++/4.9/atomic:833:24: error: expected initializer before
> ?noexcept?
>       memory_order __m) noexcept
>                         ^
> /usr/include/c++/4.9/atomic:838:69: error: expected initializer before
> ?noexcept?
>      atomic_load_explicit(const atomic<_ITp>* __a, memory_order __m)
> noexcept
>                                                                      ^
> /usr/include/c++/4.9/atomic:844:23: error: expected initializer before
> ?noexcept?
>      memory_order __m) noexcept
>                        ^
> /usr/include/c++/4.9/atomic:850:27: error: expected initializer before
> ?noexcept?
>          memory_order __m) noexcept
>                            ^
> /usr/include/c++/4.9/atomic:856:27: error: expected initializer before
> ?noexcept?
>          memory_order __m) noexcept
>                            ^
> /usr/include/c++/4.9/atomic:864:27: error: expected initializer before
> ?noexcept?
>         memory_order __m2) noexcept
>                            ^
> /usr/include/c++/4.9/atomic:872:27: error: expected initializer before
> ?noexcept?
>         memory_order __m2) noexcept
>                            ^
> /usr/include/c++/4.9/atomic:880:29: error: expected initializer before
> ?noexcept?
>           memory_order __m2) noexcept
>                              ^
> /usr/include/c++/4.9/atomic:888:29: error: expected initializer before
> ?noexcept?
>           memory_order __m2) noexcept
>                              ^
> /usr/include/c++/4.9/atomic:894:47: error: expected initializer before
> ?noexcept?
>      atomic_store(atomic<_ITp>* __a, _ITp __i) noexcept
>                                                ^
> /usr/include/c++/4.9/atomic:899:56: error: expected initializer before
> ?noexcept?
>      atomic_store(volatile atomic<_ITp>* __a, _ITp __i) noexcept
>                                                         ^
> /usr/include/c++/4.9/atomic:904:42: error: expected initializer before
> ?noexcept?
>      atomic_load(const atomic<_ITp>* __a) noexcept
>                                           ^
> /usr/include/c++/4.9/atomic:909:51: error: expected initializer before
> ?noexcept?
>      atomic_load(const volatile atomic<_ITp>* __a) noexcept
>                                                    ^
> /usr/include/c++/4.9/atomic:914:50: error: expected initializer before
> ?noexcept?
>      atomic_exchange(atomic<_ITp>* __a, _ITp __i) noexcept
>                                                   ^
> /usr/include/c++/4.9/atomic:919:59: error: expected initializer before
> ?noexcept?
>      atomic_exchange(volatile atomic<_ITp>* __a, _ITp __i) noexcept
>                                                            ^
> /usr/include/c++/4.9/atomic:925:29: error: expected initializer before
> ?noexcept?
>       _ITp* __i1, _ITp __i2) noexcept
>                              ^
> /usr/include/c++/4.9/atomic:935:29: error: expected initializer before
> ?noexcept?
>       _ITp* __i1, _ITp __i2) noexcept
>                              ^
> /usr/include/c++/4.9/atomic:945:31: error: expected initializer before
> ?noexcept?
>         _ITp* __i1, _ITp __i2) noexcept
>                                ^
> /usr/include/c++/4.9/atomic:955:31: error: expected initializer before
> ?noexcept?
>         _ITp* __i1, _ITp __i2) noexcept
>                                ^
> /usr/include/c++/4.9/atomic:969:28: error: expected initializer before
> ?noexcept?
>           memory_order __m) noexcept
>                             ^
> /usr/include/c++/4.9/atomic:975:28: error: expected initializer before
> ?noexcept?
>           memory_order __m) noexcept
>                             ^
> /usr/include/c++/4.9/atomic:981:28: error: expected initializer before
> ?noexcept?
>           memory_order __m) noexcept
>                             ^
> /usr/include/c++/4.9/atomic:987:28: error: expected initializer before
> ?noexcept?
>           memory_order __m) noexcept
>                             ^
> /usr/include/c++/4.9/atomic:993:28: error: expected initializer before
> ?noexcept?
>           memory_order __m) noexcept
>                             ^
> /usr/include/c++/4.9/atomic:999:28: error: expected initializer before
> ?noexcept?
>           memory_order __m) noexcept
>                             ^
> /usr/include/c++/4.9/atomic:1005:27: error: expected initializer
> before ?noexcept?
>          memory_order __m) noexcept
>                            ^
> /usr/include/c++/4.9/atomic:1011:27: error: expected initializer
> before ?noexcept?
>          memory_order __m) noexcept
>                            ^
> /usr/include/c++/4.9/atomic:1017:28: error: expected initializer
> before ?noexcept?
>           memory_order __m) noexcept
>                             ^
> /usr/include/c++/4.9/atomic:1023:28: error: expected initializer
> before ?noexcept?
>           memory_order __m) noexcept
>                             ^
> /usr/include/c++/4.9/atomic:1028:58: error: expected initializer
> before ?noexcept?
>      atomic_fetch_add(__atomic_base<_ITp>* __a, _ITp __i) noexcept
>                                                           ^
> /usr/include/c++/4.9/atomic:1033:67: error: expected initializer
> before ?noexcept?
>      atomic_fetch_add(volatile __atomic_base<_ITp>* __a, _ITp __i) noexcept
>                                                                    ^
> /usr/include/c++/4.9/atomic:1038:58: error: expected initializer
> before ?noexcept?
>      atomic_fetch_sub(__atomic_base<_ITp>* __a, _ITp __i) noexcept
>                                                           ^
> /usr/include/c++/4.9/atomic:1043:67: error: expected initializer
> before ?noexcept?
>      atomic_fetch_sub(volatile __atomic_base<_ITp>* __a, _ITp __i) noexcept
>                                                                    ^
> /usr/include/c++/4.9/atomic:1048:58: error: expected initializer
> before ?noexcept?
>      atomic_fetch_and(__atomic_base<_ITp>* __a, _ITp __i) noexcept
>                                                           ^
> /usr/include/c++/4.9/atomic:1053:67: error: expected initializer
> before ?noexcept?
>      atomic_fetch_and(volatile __atomic_base<_ITp>* __a, _ITp __i) noexcept
>                                                                    ^
> /usr/include/c++/4.9/atomic:1058:57: error: expected initializer
> before ?noexcept?
>      atomic_fetch_or(__atomic_base<_ITp>* __a, _ITp __i) noexcept
>                                                          ^
> /usr/include/c++/4.9/atomic:1063:66: error: expected initializer
> before ?noexcept?
>      atomic_fetch_or(volatile __atomic_base<_ITp>* __a, _ITp __i) noexcept
>                                                                   ^
> /usr/include/c++/4.9/atomic:1068:58: error: expected initializer
> before ?noexcept?
>      atomic_fetch_xor(__atomic_base<_ITp>* __a, _ITp __i) noexcept
>                                                           ^
> /usr/include/c++/4.9/atomic:1073:67: error: expected initializer
> before ?noexcept?
>      atomic_fetch_xor(volatile __atomic_base<_ITp>* __a, _ITp __i) noexcept
>                                                                    ^
> /usr/include/c++/4.9/atomic:1081:28: error: expected initializer
> before ?noexcept?
>           memory_order __m) noexcept
>                             ^
> /usr/include/c++/4.9/atomic:1087:28: error: expected initializer
> before ?noexcept?
>           memory_order __m) noexcept
>                             ^
> /usr/include/c++/4.9/atomic:1092:66: error: expected initializer
> before ?noexcept?
>      atomic_fetch_add(volatile atomic<_ITp*>* __a, ptrdiff_t __d) noexcept
>                                                                   ^
> /usr/include/c++/4.9/atomic:1097:57: error: expected initializer
> before ?noexcept?
>      atomic_fetch_add(atomic<_ITp*>* __a, ptrdiff_t __d) noexcept
>                                                          ^
> /usr/include/c++/4.9/atomic:1103:43: error: expected initializer
> before ?noexcept?
>           ptrdiff_t __d, memory_order __m) noexcept
>                                            ^
> /usr/include/c++/4.9/atomic:1109:28: error: expected initializer
> before ?noexcept?
>           memory_order __m) noexcept
>                             ^
> /usr/include/c++/4.9/atomic:1114:66: error: expected initializer
> before ?noexcept?
>      atomic_fetch_sub(volatile atomic<_ITp*>* __a, ptrdiff_t __d) noexcept
>                                                                   ^
> /usr/include/c++/4.9/atomic:1119:57: error: expected initializer
> before ?noexcept?
>      atomic_fetch_sub(atomic<_ITp*>* __a, ptrdiff_t __d) noexcept
>                                                          ^
> In file included from /home/gate7/GATE/root-6.02.05/include/TString.h:36:0,
>                  from /home/gate7/GATE/root-6.02.05/include/TNamed.h:29,
>                  from
> /home/gate7/GATE/root-6.02.05/include/TDirectory.h:25,
>                  from
> /home/gate7/GATE/root-6.02.05/include/TDirectoryFile.h:25,
>                  from /home/gate7/GATE/root-6.02.05/include/TFile.h:26,
>                  from
> /home/gate7/GATE/gate_v7.1/source/general/include/GateImageT.hh:36,
>                  from
> /home/gate7/GATE/gate_v7.1/source/general/include/GateImage.hh:22,
>                  from
> /home/gate7/GATE/gate_v7.1/source/physics/include/GateVSource.hh:27,
>                  from
> /home/gate7/GATE/gate_v7.1/source/physics/include/GateSourceMgr.hh:17,
>                  from /home/gate7/GATE/gate_v7.1/Gate.cc:30:
> /home/gate7/GATE/root-6.02.05/include/TMathBase.h: In function
> ?Float_t TMath::Sign(Float_t, Float_t)?:
> /home/gate7/GATE/root-6.02.05/include/TMathBase.h:144:13: error:
> ?copysign? is not a member of ?std?
>     { return std::copysign(a,b);  }
>              ^
> /home/gate7/GATE/root-6.02.05/include/TMathBase.h:144:13: note:
> suggested alternative:
> In file included from /usr/include/features.h:374:0,
>                  from /usr/include/ctype.h:25,
>                  from /usr/include/getopt.h:33,
>                  from /home/gate7/GATE/gate_v7.1/Gate.cc:16:
> /usr/include/i386-linux-gnu/bits/mathcalls.h:217:1: note:   ?copysign?
>  __MATHCALLX (copysign,, (_Mdouble_ __x, _Mdouble_ __y), (__const__));
>  ^
> In file included from /home/gate7/GATE/root-6.02.05/include/TString.h:36:0,
>                  from /home/gate7/GATE/root-6.02.05/include/TNamed.h:29,
>                  from
> /home/gate7/GATE/root-6.02.05/include/TDirectory.h:25,
>                  from
> /home/gate7/GATE/root-6.02.05/include/TDirectoryFile.h:25,
>                  from /home/gate7/GATE/root-6.02.05/include/TFile.h:26,
>                  from
> /home/gate7/GATE/gate_v7.1/source/general/include/GateImageT.hh:36,
>                  from
> /home/gate7/GATE/gate_v7.1/source/general/include/GateImage.hh:22,
>                  from
> /home/gate7/GATE/gate_v7.1/source/physics/include/GateVSource.hh:27,
>                  from
> /home/gate7/GATE/gate_v7.1/source/physics/include/GateSourceMgr.hh:17,
>                  from /home/gate7/GATE/gate_v7.1/Gate.cc:30:
> /home/gate7/GATE/root-6.02.05/include/TMathBase.h: In function
> ?Double_t TMath::Sign(Double_t, Double_t)?:
> /home/gate7/GATE/root-6.02.05/include/TMathBase.h:147:13: error:
> ?copysign? is not a member of ?std?
>     { return std::copysign(a,b);  }
>              ^
> /home/gate7/GATE/root-6.02.05/include/TMathBase.h:147:13: note:
> suggested alternative:
> In file included from /usr/include/features.h:374:0,
>                  from /usr/include/ctype.h:25,
>                  from /usr/include/getopt.h:33,
>                  from /home/gate7/GATE/gate_v7.1/Gate.cc:16:
> /usr/include/i386-linux-gnu/bits/mathcalls.h:217:1: note:   ?copysign?
>  __MATHCALLX (copysign,, (_Mdouble_ __x, _Mdouble_ __y), (__const__));
>  ^
> In file included from /home/gate7/GATE/root-6.02.05/include/TTree.h:62:0,
>                  from
> /home/gate7/GATE/gate_v7.1/source/physics/include/GateSourcePhaseSpace.hh:16,
>                  from
> /home/gate7/GATE/gate_v7.1/source/physics/include/GateSourceMgr.hh:18,
>                  from /home/gate7/GATE/gate_v7.1/Gate.cc:30:
> /home/gate7/GATE/root-6.02.05/include/TClass.h: At global scope:
> /home/gate7/GATE/root-6.02.05/include/TClass.h:154:24: warning:
> non-static data member initializers only available with -std=c++11 or
> -std=gnu++11
>        Int_t fVerbLevel=0;
>                         ^
> /home/gate7/GATE/root-6.02.05/include/TClass.h:155:12: error:
> ?unordered_set? in namespace ?std? does not name a template type
>        std::unordered_set<std::string> fClassNamesSet;
>             ^
> /home/gate7/GATE/root-6.02.05/include/TClass.h:313:31: warning:
> defaulted and deleted functions only available with -std=c++11 or
> -std=gnu++11
>     TClass(const TClass& tc) = delete;
>                                ^
> /home/gate7/GATE/root-6.02.05/include/TClass.h:314:39: warning:
> defaulted and deleted functions only available with -std=c++11 or
> -std=gnu++11
>     TClass& operator=(const TClass&) = delete;
>                                        ^
> In file included from /usr/include/c++/4.9/atomic:41:0,
>                  from /home/gate7/GATE/root-6.02.05/include/TFile.h:24,
>                  from
> /home/gate7/GATE/gate_v7.1/source/general/include/GateImageT.hh:36,
>                  from
> /home/gate7/GATE/gate_v7.1/source/general/include/GateImage.hh:22,
>                  from
> /home/gate7/GATE/gate_v7.1/source/physics/include/GateVSource.hh:27,
>                  from
> /home/gate7/GATE/gate_v7.1/source/physics/include/GateSourceMgr.hh:17,
>                  from /home/gate7/GATE/gate_v7.1/Gate.cc:30:
> /home/gate7/GATE/root-6.02.05/include/TClass.h:156:44: error: could
> not convert ?{0}? from ?<brace-enclosed initializer list>? to
> ?std::atomic_flag?
>        mutable std::atomic_flag fSpinLock = ATOMIC_FLAG_INIT;
>                                             ^
> In file included from
> /home/gate7/GATE/root-6.02.05/include/TMethodCall.h:35:0,
>                  from
> /home/gate7/GATE/root-6.02.05/include/TPluginManager.h:95,
>                  from /home/gate7/GATE/gate_v7.1/Gate.cc:45:
> /home/gate7/GATE/root-6.02.05/include/TInterpreter.h:63:4: warning:
> scoped enums only available with -std=c++11 or -std=gnu++11
>     enum class EReturnType { kLong, kDouble, kString, kOther, kNoReturnType
> };
>     ^
> In file included from
> /home/gate7/GATE/root-6.02.05/include/TMethodCall.h:35:0,
>                  from
> /home/gate7/GATE/root-6.02.05/include/TPluginManager.h:95,
>                  from /home/gate7/GATE/gate_v7.1/Gate.cc:45:
> /home/gate7/GATE/root-6.02.05/include/TInterpreter.h:315:34: warning:
> variadic templates only available with -std=c++11 or -std=gnu++11
>     template <typename U, typename... T>
>                                   ^
> /home/gate7/GATE/root-6.02.05/include/TInterpreter.h:316:74: warning:
> variadic templates only available with -std=c++11 or -std=gnu++11
>     void CallFunc_SetArgImpl(CallFunc_t *func, const U& head, const T&...
> tail)
>                                                                           ^
> /home/gate7/GATE/root-6.02.05/include/TInterpreter.h:322:22: warning:
> variadic templates only available with -std=c++11 or -std=gnu++11
>     template <typename... T>
>                       ^
> /home/gate7/GATE/root-6.02.05/include/TInterpreter.h:323:61: warning:
> variadic templates only available with -std=c++11 or -std=gnu++11
>     void CallFunc_SetArguments(CallFunc_t *func, const T&... args)
>                                                              ^
> In file included from
> /home/gate7/GATE/root-6.02.05/include/TPluginManager.h:95:0,
>                  from /home/gate7/GATE/gate_v7.1/Gate.cc:45:
> /home/gate7/GATE/root-6.02.05/include/TMethodCall.h:44:10: error:
> expected nested-name-specifier before ?EReturnType?
>     using EReturnType = TInterpreter::EReturnType;
>           ^
> /home/gate7/GATE/root-6.02.05/include/TMethodCall.h:47:17: error:
> ?EReturnType? does not name a type
>     static const EReturnType kLong = TInterpreter::EReturnType::kLong;
>                  ^
> /home/gate7/GATE/root-6.02.05/include/TMethodCall.h:48:17: error:
> ?EReturnType? does not name a type
>     static const EReturnType kDouble = TInterpreter::EReturnType::kDouble;
>                  ^
> /home/gate7/GATE/root-6.02.05/include/TMethodCall.h:49:17: error:
> ?EReturnType? does not name a type
>     static const EReturnType kString = TInterpreter::EReturnType::kString;
>                  ^
> /home/gate7/GATE/root-6.02.05/include/TMethodCall.h:50:17: error:
> ?EReturnType? does not name a type
>     static const EReturnType kOther = TInterpreter::EReturnType::kOther;
>                  ^
> /home/gate7/GATE/root-6.02.05/include/TMethodCall.h:51:17: error:
> ?EReturnType? does not name a type
>     static const EReturnType kNoReturnType =
> TInterpreter::EReturnType::kNoReturnType;
>                  ^
> /home/gate7/GATE/root-6.02.05/include/TMethodCall.h:53:17: error:
> ?EReturnType? does not name a type
>     static const EReturnType kNone =
> TInterpreter::EReturnType::kNoReturnType;
>                  ^
> /home/gate7/GATE/root-6.02.05/include/TMethodCall.h:66:4: error:
> ?EReturnType? does not name a type
>     EReturnType    fRetType;   //method return type
>     ^
> In file included from
> /home/gate7/GATE/root-6.02.05/include/TPluginManager.h:95:0,
>                  from /home/gate7/GATE/gate_v7.1/Gate.cc:45:
> /home/gate7/GATE/root-6.02.05/include/TMethodCall.h:97:4: error:
> ?EReturnType? does not name a type
>     EReturnType    ReturnType();
>     ^
> /home/gate7/GATE/root-6.02.05/include/TMethodCall.h:107:22: warning:
> variadic templates only available with -std=c++11 or -std=gnu++11
>     template <typename... T> void SetParams(const T&... params) {
>                       ^
> /home/gate7/GATE/root-6.02.05/include/TMethodCall.h:107:56: warning:
> variadic templates only available with -std=c++11 or -std=gnu++11
>     template <typename... T> void SetParams(const T&... params) {
>                                                         ^
> In file included from /home/gate7/GATE/gate_v7.1/Gate.cc:45:0:
> /home/gate7/GATE/root-6.02.05/include/TPluginManager.h:156:22:
> warning: variadic templates only available with -std=c++11 or
> -std=gnu++11
>     template <typename... T> Long_t ExecPluginImpl(const T&... params)
>                       ^
> /home/gate7/GATE/root-6.02.05/include/TPluginManager.h:156:63:
> warning: variadic templates only available with -std=c++11 or
> -std=gnu++11
>     template <typename... T> Long_t ExecPluginImpl(const T&... params)
>                                                                ^
> /home/gate7/GATE/root-6.02.05/include/TPluginManager.h:169:22:
> warning: variadic templates only available with -std=c++11 or
> -std=gnu++11
>     template <typename... T> Long_t ExecPlugin(int nargs, const T&...
> params)
>                       ^
> /home/gate7/GATE/root-6.02.05/include/TPluginManager.h:169:70:
> warning: variadic templates only available with -std=c++11 or
> -std=gnu++11
>     template <typename... T> Long_t ExecPlugin(int nargs, const T&...
> params)
>                                                                       ^
> /home/gate7/GATE/root-6.02.05/include/TPluginManager.h: In member
> function ?Long_t TPluginHandler::ExecPluginImpl(const T& ...)?:
> /home/gate7/GATE/root-6.02.05/include/TPluginManager.h:158:7: warning:
> ?auto? changes meaning in C++11; please remove it [-Wc++0x-compat]
>        auto nargs = sizeof...(params);
>        ^
> /home/gate7/GATE/root-6.02.05/include/TPluginManager.h:158:12: error:
> ?nargs? does not name a type
>        auto nargs = sizeof...(params);
>             ^
> /home/gate7/GATE/root-6.02.05/include/TPluginManager.h:159:31: error:
> ?nargs? was not declared in this scope
>        if (!CheckForExecPlugin(nargs)) return 0;
>                                ^
> /home/gate7/GATE/root-6.02.05/include/TPluginManager.h: In member
> function ?Long_t TPluginHandler::ExecPlugin(int, const T& ...)?:
> /home/gate7/GATE/root-6.02.05/include/TPluginManager.h:174:46:
> warning: variadic templates only available with -std=c++11 or
> -std=gnu++11
>                   nargs, (unsigned long)sizeof...(params) );
>                                               ^
> CMakeFiles/Gate.dir/build.make:195: recipe for target
> 'CMakeFiles/Gate.dir/source/arf/src/GateARFSD.cc.o' failed
> make[2]: *** [CMakeFiles/Gate.dir/source/arf/src/GateARFSD.cc.o] Error 1
> CMakeFiles/Gate.dir/build.make:57: recipe for target
> 'CMakeFiles/Gate.dir/Gate.cc.o' failed
> make[2]: *** [CMakeFiles/Gate.dir/Gate.cc.o] Error 1
> CMakeFiles/Makefile2:622: recipe for target 'CMakeFiles/Gate.dir/all'
> failed
> make[1]: *** [CMakeFiles/Gate.dir/all] Error 2
> Makefile:126: recipe for target 'all' failed
> make: *** [all] Error 2
> gate7 at ubuntu:~/GATE/gate_v7.1-build$
>
>
> Regards,
> Pat
>
>
> ------------------------------
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
> End of Gate-users Digest, Vol 110, Issue 18
> *******************************************
>


More information about the Gate-users mailing list