Thanks for your reply~! I’ve compiled successfully.
By the following:
[ 2%] Built target fetch_cry_data
[ 2%] Building CXX object src/objects/CMakeFiles/AllpixObjectsDictionary.dir/AllpixObjectsDictionary.cxx.o
[ 4%] Built target apf_dump
[ 7%] Building CXX object tools/mesh_converter/CMakeFiles/mesh_plotter.dir/MeshPlotter.cpp.o
[ 9%] Built target field_converter
[ 9%] Building CXX object src/modules/CorryvreckanWriter/CMakeFiles/CorryvreckanWriterObjects.dir/corryvreckan/Object.cpp.o
[ 9%] Building CXX object src/modules/CorryvreckanWriter/CMakeFiles/CorryvreckanWriterObjects.dir/corryvreckan/Pixel.cpp.o
[ 12%] Building CXX object src/modules/CorryvreckanWriter/CMakeFiles/CorryvreckanWriterObjects.dir/corryvreckan/Event.cpp.o
[ 12%] Building CXX object tools/weightingpotential_generator/CMakeFiles/generate_potential.dir///src/core/config/ConfigReader.cpp.o
[ 12%] Building CXX object tools/weightingpotential_generator/CMakeFiles/generate_potential.dir/WeightingPotentialGenerator.cpp.o
[ 12%] Building CXX object tools/mesh_converter/CMakeFiles/mesh_converter.dir/MeshConverter.cpp.o
In file included from /opt/root/include/TString.h:29,
from /opt/root/include/TNamed.h:26,
from /opt/root/include/TDictionary.h:44,
from /opt/root/include/TClass.h:23,
from /opt/root/include/TTree.h:36,
from /home/geant4/allpix-squared-v2.3.0/src/modules/CorryvreckanWriter/corryvreckan/Object.hpp:19,
from /home/geant4/allpix-squared-v2.3.0/src/modules/CorryvreckanWriter/corryvreckan/Object.cpp:11:
/opt/root/include/ROOT/RStringView.hxx:32:10: error: conflicting declaration of template ‘template<class _CharT, class _Traits> using basic_string_view = std::experimental::fundamentals_v1::basic_string_view<_CharT, _Traits>’
32 | using basic_string_view = ::std::experimental::basic_string_view<_CharT,_Traits>;
| ^~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9/bits/basic_string.h:48,
from /usr/include/c++/9/string:55,
from /opt/root/include/TSchemaHelper.h:17,
from /opt/root/include/TGenericClassInfo.h:21,
from /opt/root/include/Rtypes.h:191,
from /opt/root/include/ROOT/TIOFeatures.hxx:14,
from /opt/root/include/TTree.h:30,
from /home/geant4/allpix-squared-v2.3.0/src/modules/CorryvreckanWriter/corryvreckan/Object.hpp:19,
from /home/geant4/allpix-squared-v2.3.0/src/modules/CorryvreckanWriter/corryvreckan/Object.cpp:11:
/usr/include/c++/9/string_view:90:11: note: previous declaration ‘template<class _CharT, class _Traits> class std::basic_string_view’
90 | class basic_string_view
| ^~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9/memory:74,
from /opt/root/include/ROOT/TypeTraits.hxx:15,
from /opt/root/include/TString.h:30,
from /opt/root/include/TNamed.h:26,
from /opt/root/include/TDictionary.h:44,
from /opt/root/include/TClass.h:23,
from /opt/root/include/TTree.h:36,
from /home/geant4/allpix-squared-v2.3.0/src/modules/CorryvreckanWriter/corryvreckan/Object.hpp:19,
from /home/geant4/allpix-squared-v2.3.0/src/modules/CorryvreckanWriter/corryvreckan/Object.cpp:11:
/usr/include/c++/9/ext/concurrence.h:53:16: error: ‘_Lock_policy’ does not name a type
53 | static const _Lock_policy __default_lock_policy =
| ^~~~~~~~~~~~
In file included from /usr/include/c++/9/cstddef:49,
from /opt/root/include/RtypesCore.h:28,
from /opt/root/include/Compression.h:15,
from /opt/root/include/TTree.h:29,
from /home/geant4/allpix-squared-v2.3.0/src/modules/CorryvreckanWriter/corryvreckan/Object.hpp:19,
from /home/geant4/allpix-squared-v2.3.0/src/modules/CorryvreckanWriter/corryvreckan/Object.cpp:11:
/usr/include/c++/9/ext/concurrence.h: In function ‘void std::__throw_concurrence_lock_error()’:
/usr/include/c++/9/ext/concurrence.h:99:5: error: ‘__concurrence_lock_error’ was not declared in this scope; did you mean ‘__gnu_cxx::__concurrence_lock_error’?
99 | { _GLIBCXX_THROW_OR_ABORT(__concurrence_lock_error()); }
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9/memory:74,
from /opt/root/include/ROOT/TypeTraits.hxx:15,
from /opt/root/include/TString.h:30,
from /opt/root/include/TNamed.h:26,
from /opt/root/include/TDictionary.h:44,
from /opt/root/include/TClass.h:23,
from /opt/root/include/TTree.h:36,
from /home/geant4/allpix-squared-v2.3.0/src/modules/CorryvreckanWriter/corryvreckan/Object.hpp:19,
from /home/geant4/allpix-squared-v2.3.0/src/modules/CorryvreckanWriter/corryvreckan/Object.cpp:11:
/usr/include/c++/9/ext/concurrence.h:64:9: note: ‘__gnu_cxx::__concurrence_lock_error’ declared here
64 | class __concurrence_lock_error : public std::exception
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9/cstddef:49,
from /opt/root/include/RtypesCore.h:28,
from /opt/root/include/Compression.h:15,
from /opt/root/include/TTree.h:29,
from /home/geant4/allpix-squared-v2.3.0/src/modules/CorryvreckanWriter/corryvreckan/Object.hpp:19,
from /home/geant4/allpix-squared-v2.3.0/src/modules/CorryvreckanWriter/corryvreckan/Object.cpp:11:
/usr/include/c++/9/ext/concurrence.h: In function ‘void std::__throw_concurrence_unlock_error()’:
/usr/include/c++/9/ext/concurrence.h:103:5: error: ‘__concurrence_unlock_error’ was not declared in this scope; did you mean ‘__gnu_cxx::__concurrence_unlock_error’?
103 | { _GLIBCXX_THROW_OR_ABORT(__concurrence_unlock_error()); }
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9/memory:74,
from /opt/root/include/ROOT/TypeTraits.hxx:15,
from /opt/root/include/TString.h:30,
from /opt/root/include/TNamed.h:26,
from /opt/root/include/TDictionary.h:44,
from /opt/root/include/TClass.h:23,
from /opt/root/include/TTree.h:36,
from /home/geant4/allpix-squared-v2.3.0/src/modules/CorryvreckanWriter/corryvreckan/Object.hpp:19,
from /home/geant4/allpix-squared-v2.3.0/src/modules/CorryvreckanWriter/corryvreckan/Object.cpp:11:
/usr/include/c++/9/ext/concurrence.h:72:9: note: ‘__gnu_cxx::__concurrence_unlock_error’ declared here
72 | class __concurrence_unlock_error : public std::exception
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9/cstddef:49,
from /opt/root/include/RtypesCore.h:28,
from /opt/root/include/Compression.h:15,
from /opt/root/include/TTree.h:29,
from /home/geant4/allpix-squared-v2.3.0/src/modules/CorryvreckanWriter/corryvreckan/Object.hpp:19,
from /home/geant4/allpix-squared-v2.3.0/src/modules/CorryvreckanWriter/corryvreckan/Object.cpp:11:
/usr/include/c++/9/ext/concurrence.h: In function ‘void std::__throw_concurrence_broadcast_error()’:
/usr/include/c++/9/ext/concurrence.h:108:5: error: ‘__concurrence_broadcast_error’ was not declared in this scope; did you mean ‘__gnu_cxx::__concurrence_broadcast_error’?
108 | { _GLIBCXX_THROW_OR_ABORT(__concurrence_broadcast_error()); }
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9/memory:74,
from /opt/root/include/ROOT/TypeTraits.hxx:15,
from /opt/root/include/TString.h:30,
from /opt/root/include/TNamed.h:26,
from /opt/root/include/TDictionary.h:44,
from /opt/root/include/TClass.h:23,
from /opt/root/include/TTree.h:36,
from /home/geant4/allpix-squared-v2.3.0/src/modules/CorryvreckanWriter/corryvreckan/Object.hpp:19,
from /home/geant4/allpix-squared-v2.3.0/src/modules/CorryvreckanWriter/corryvreckan/Object.cpp:11:
/usr/include/c++/9/ext/concurrence.h:80:9: note: ‘__gnu_cxx::__concurrence_broadcast_error’ declared here
80 | class __concurrence_broadcast_error : public std::exception
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9/cstddef:49,
from /opt/root/include/RtypesCore.h:28,
from /opt/root/include/Compression.h:15,
from /opt/root/include/TTree.h:29,
from /home/geant4/allpix-squared-v2.3.0/src/modules/CorryvreckanWriter/corryvreckan/Object.hpp:19,
from /home/geant4/allpix-squared-v2.3.0/src/modules/CorryvreckanWriter/corryvreckan/Object.cpp:11:
/usr/include/c++/9/ext/concurrence.h: In function ‘void std::__throw_concurrence_wait_error()’:
/usr/include/c++/9/ext/concurrence.h:112:5: error: ‘__concurrence_wait_error’ was not declared in this scope; did you mean ‘__gnu_cxx::__concurrence_wait_error’?
112 | { _GLIBCXX_THROW_OR_ABORT(__concurrence_wait_error()); }
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9/memory:74,
from /opt/root/include/ROOT/TypeTraits.hxx:15,
from /opt/root/include/TString.h:30,
from /opt/root/include/TNamed.h:26,
from /opt/root/include/TDictionary.h:44,
from /opt/root/include/TClass.h:23,
from /opt/root/include/TTree.h:36,
from /home/geant4/allpix-squared-v2.3.0/src/modules/CorryvreckanWriter/corryvreckan/Object.hpp:19,
from /home/geant4/allpix-squared-v2.3.0/src/modules/CorryvreckanWriter/corryvreckan/Object.cpp:11:
/usr/include/c++/9/ext/concurrence.h:88:9: note: ‘__gnu_cxx::__concurrence_wait_error’ declared here
88 | class __concurrence_wait_error : public std::exception
| ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/9/ext/concurrence.h: In member function ‘void __gnu_cxx::__mutex::lock()’:
/usr/include/c++/9/ext/concurrence.h:150:6: error: ‘__throw_concurrence_lock_error’ was not declared in this scope; did you mean ‘std::__throw_concurrence_lock_error’?
150 | __throw_concurrence_lock_error();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| std::__throw_concurrence_lock_error
/usr/include/c++/9/ext/concurrence.h:98:3: note: ‘std::__throw_concurrence_lock_error’ declared here
98 | __throw_concurrence_lock_error()
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/9/ext/concurrence.h: In member function ‘void __gnu_cxx::__mutex::unlock()’:
/usr/include/c++/9/ext/concurrence.h:161:6: error: ‘__throw_concurrence_unlock_error’ was not declared in this scope; did you mean ‘std::__throw_concurrence_unlock_error’?
161 | __throw_concurrence_unlock_error();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| std::__throw_concurrence_unlock_error
/usr/include/c++/9/ext/concurrence.h:102:3: note: ‘std::__throw_concurrence_unlock_error’ declared here
102 | __throw_concurrence_unlock_error()
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/root/include/TString.h:29,
from /opt/root/include/TNamed.h:26,
from /opt/root/include/TDictionary.h:44,
from /opt/root/include/TClass.h:23,
from /opt/root/include/TTree.h:36,
from /home/geant4/allpix-squared-v2.3.0/src/modules/CorryvreckanWriter/corryvreckan/Object.hpp:19,
from /home/geant4/allpix-squared-v2.3.0/src/modules/CorryvreckanWriter/corryvreckan/Event.hpp:4,
from /home/geant4/allpix-squared-v2.3.0/src/modules/CorryvreckanWriter/corryvreckan/Event.cpp:11:
/opt/root/include/ROOT/RStringView.hxx:32:10: error: conflicting declaration of template ‘template<class _CharT, class _Traits> using basic_string_view = std::experimental::fundamentals_v1::basic_string_view<_CharT, _Traits>’
32 | using basic_string_view = ::std::experimental::basic_string_view<_CharT,_Traits>;
| ^~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/9/bits/basic_string.h:48,
from /usr/include/c++/9/string:55,
from /opt/root/include/TSchemaHelper.h:17,
from /opt/root/include/TGenericClassInfo.h:21,
from /opt/root/include/Rtypes.h:191,
from /opt/root/include/ROOT/TIOFeatures.hxx:14,
from /opt/root/include/TTree.h:30,
from /home/geant4/allpix-squared-v2.3.0/src/modules/CorryvreckanWriter/corryvreckan/Object.hpp:19,
from /home/geant4/allpix-squared-v2.3.0/src/modules/CorryvreckanWriter/corryvreckan/Event.hpp:4,
from /home/geant4/allpix-squared-v2.3.0/src/modules/CorryvreckanWriter/corryvreckan/Event.cpp:11:
/usr/include/c++/9/string_view:90:11: note: previous declaration ‘template<class _CharT, class _Traits> class std::basic_string_view’
90 | class basic_string_view
| ^~~~~~~~~~~~~~~~~
/usr/include/c++/9/ext/concurrence.h: In member function ‘void __gnu_cxx::__recursive_mutex::lock()’:
/usr/include/c++/9/ext/concurrence.h:205:6: error: ‘__throw_concurrence_lock_error’ was not declared in this scope; did you mean ‘std::__throw_concurrence_lock_error’?
205 | __throw_concurrence_lock_error();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| std::__throw_concurrence_lock_error
/usr/include/c++/9/ext/concurrence.h:98:3: note: ‘std::__throw_concurrence_lock_error’ declared here
98 | __throw_concurrence_lock_error()
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/9/ext/concurrence.h: In member function ‘void __gnu_cxx::__recursive_mutex::unlock()’:
/usr/include/c++/9/ext/concurrence.h:216:6: error: ‘__throw_concurrence_unlock_error’ was not declared in this scope; did you mean ‘std::__throw_concurrence_unlock_error’?
216 | __throw_concurrence_unlock_error();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| std::__throw_concurrence_unlock_error
/usr/include/c++/9/ext/concurrence.h:102:3: note: ‘std::__throw_concurrence_unlock_error’ > declared here
102 | __throw_concurrence_unlock_error()
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/9/ext/concurrence.h: At global scope:
/usr/include/c++/9/ext/concurrence.h:231:13: error: ‘__mutex’ does not name a type
231 | typedef __mutex __mutex_type;
| ^~~~~~~
In file included from /usr/include/c++/9/memory:74,
/home/geant4/allpix-squared-v2.3.0/src/core/utils/log.h:256:43: error: ‘allpix::Log’ has not been declared
256 | if(allpix::LogLevel::level <= allpix::Log::getReportingLevel() && !allpix::Log::getStreams().empty())
| ^~~
/home/geant4/allpix-squared-v2.3.0/src/core/utils/log.h:256:43: note: in definition of macro ‘LOG’
256 | if(allpix::LogLevel::level <= allpix::Log::getReportingLevel() && !allpix::Log::getStreams().empty())
| ^~~
/home/geant4/allpix-squared-v2.3.0/src/core/utils/log.h:256:80: error: ‘allpix::Log’ has not been declared
256 | if(allpix::LogLevel::level <= allpix::Log::getReportingLevel() && !allpix::Log::getStreams().empty())
| ^~~
/home/geant4/allpix-squared-v2.3.0/src/core/utils/log.h:256:80: note: in definition of macro ‘LOG’
256 | if(allpix::LogLevel::level <= allpix::Log::getReportingLevel() && !allpix::Log::getStreams().empty())
| ^~~
/home/geant4/allpix-squared-v2.3.0/src/core/utils/log.h:257:13: error: ‘Log’ is not a member of ‘allpix’
257 | allpix::Log().getStream(
| ^~~
/home/geant4/allpix-squared-v2.3.0/src/core/utils/log.h:257:13: note: in definition of macro ‘LOG’
257 | allpix::Log().getStream(
| ^~~
/home/geant4/allpix-squared-v2.3.0/src/core/utils/log.h:256:43: error: ‘allpix::Log’ has not been declared
256 | if(allpix::LogLevel::level <= allpix::Log::getReportingLevel() && !allpix::Log::getStreams().empty())
| ^~~
/home/geant4/allpix-squared-v2.3.0/src/core/utils/log.h:256:43: note: in definition of macro ‘LOG’
256 | if(allpix::LogLevel::level <= allpix::Log::getReportingLevel() && !allpix::Log::getStreams().empty())
| ^~~
/home/geant4/allpix-squared-v2.3.0/src/core/utils/log.h:256:80: error: ‘allpix::Log’ has not been declared
256 | if(allpix::LogLevel::level <= allpix::Log::getReportingLevel() && !allpix::Log::getStreams().empty())
| ^~~
/home/geant4/allpix-squared-v2.3.0/src/core/utils/log.h:256:80: note: in definition of macro ‘LOG’
256 | if(allpix::LogLevel::level <= allpix::Log::getReportingLevel() && !allpix::Log::getStreams().empty())
| ^~~
/home/geant4/allpix-squared-v2.3.0/src/core/utils/log.h:257:13: error: ‘Log’ is not a member of ‘allpix’
257 | allpix::Log().getStream(
| ^~~
/home/geant4/allpix-squared-v2.3.0/src/core/utils/log.h:257:13: note: in definition of macro ‘LOG’
257 | allpix::Log().getStream(
| ^~~
/home/geant4/allpix-squared-v2.3.0/tools/mesh_converter/MeshConverter.cpp:513:25: error: ‘class allpix::ConfigurationError’ has no member named ‘what’
513 | << e.what() << std::endl
| ^~~~
In file included from /home/geant4/allpix-squared-v2.3.0/tools/mesh_converter/MeshConverter.cpp:22:
/home/geant4/allpix-squared-v2.3.0/src/core/utils/log.h:256:43: error: ‘allpix::Log’ has not been declared
256 | if(allpix::LogLevel::level <= allpix::Log::getReportingLevel() && !allpix::Log::getStreams().empty())
| ^~~
/home/geant4/allpix-squared-v2.3.0/src/core/utils/log.h:256:43: note: in definition of macro ‘LOG’
256 | if(allpix::LogLevel::level <= allpix::Log::getReportingLevel() && !allpix::Log::getStreams().empty())
| ^~~
/home/geant4/allpix-squared-v2.3.0/src/core/utils/log.h:256:80: error: ‘allpix::Log’ has not been declared
256 | if(allpix::LogLevel::level <= allpix::Log::getReportingLevel() && !allpix::Log::getStreams().empty())
| ^~~
/home/geant4/allpix-squared-v2.3.0/src/core/utils/log.h:256:80: note: in definition of macro ‘LOG’
256 | if(allpix::LogLevel::level <= allpix::Log::getReportingLevel() && !allpix::Log::getStreams().empty())
| ^~~
/home/geant4/allpix-squared-v2.3.0/src/core/utils/log.h:257:13: error: ‘Log’ is not a member of ‘allpix’
257 | allpix::Log().getStream(
| ^~~
/home/geant4/allpix-squared-v2.3.0/src/core/utils/log.h:257:13: note: in definition of macro ‘LOG’
257 | allpix::Log().getStream(
| ^~~
/home/geant4/allpix-squared-v2.3.0/tools/mesh_converter/MeshConverter.cpp:522:5: error: ‘Log’ has not been declared
522 | Log::finish();
| ^~~
In file included from /usr/include/c++/9/algorithm:62,
from /home/geant4/allpix-squared-v2.3.0/tools/mesh_converter/MeshConverter.cpp:1:
/usr/include/c++/9/bits/stl_algo.h: At global scope:
/usr/include/c++/9/bits/stl_algo.h:5674:5: warning: ‘constexpr _FIter std::min_element(_FIter, _FIter, _Compare) [with _FIter = __gnu_cxx::__normal_iterator<mesh_converter::Point*, std::vector<mesh_converter::Point> >; _Compare = std::main(int, char**)::<lambda(auto:29&, auto:30&)>]’ used but never defined
5674 | min_element(_ForwardIterator __first, _ForwardIterator __last,
| ^~~~~~~~~~~
/usr/include/c++/9/bits/stl_algo.h:5738:5: warning: ‘constexpr _FIter std::max_element(_FIter, _FIter, _Compare) [with _FIter = __gnu_cxx::__normal_iterator<mesh_converter::Point*, std::vector<mesh_converter::Point> >; _Compare = std::main(int, char**)::<lambda(auto:27&, auto:28&)>]’ used but never defined
5738 | max_element(_ForwardIterator __first, _ForwardIterator __last,
| ^~~~~~~~~~~
/usr/include/c++/9/bits/stl_algo.h:5674:5: warning: ‘constexpr _FIter std::min_element(_FIter, _FIter, _Compare) [with _FIter = __gnu_cxx::__normal_iterator<mesh_converter::Point*, std::vector<mesh_converter::Point> >; _Compare = std::main(int, char**)::<lambda(auto:25&, auto:26&)>]’ used but never defined
5674 | min_element(_ForwardIterator __first, _ForwardIterator __last,
| ^~~~~~~~~~~
/usr/include/c++/9/bits/stl_algo.h:5738:5: warning: ‘constexpr _FIter std::max_element(_FIter, _FIter, _Compare) [with _FIter = __gnu_cxx::__normal_iterator<mesh_converter::Point*, std::vector<mesh_converter::Point> >; _Compare = std::main(int, char**)::<lambda(auto:23&, auto:24&)>]’ used but never defined
5738 | max_element(_ForwardIterator __first, _ForwardIterator __last,
| ^~~~~~~~~~~
/usr/include/c++/9/bits/stl_algo.h:5674:5: warning: ‘constexpr _FIter std::min_element(_FIter, _FIter, _Compare) [with _FIter = __gnu_cxx::__normal_iterator<mesh_converter::Point*, std::vector<mesh_converter::Point> >; _Compare = std::main(int, char**)::<lambda(auto:21&, auto:22&)>]’ used but never defined
5674 | min_element(_ForwardIterator __first, _ForwardIterator __last,
| ^~~~~~~~~~~
make[2]: *** [tools/mesh_converter/CMakeFiles/mesh_converter.dir/build.make:76:tools/mesh_converter/CMakeFiles/mesh_converter.dir/MeshConverter.cpp.o] 错误 1
make[1]: *** [CMakeFiles/Makefile2:2464:tools/mesh_converter/CMakeFiles/mesh_converter.dir/all] 错误 2