It seems like this is some problem with Ubuntu, but I'm not very sure how to fix them
seems very similar to this one, but since I'm not a c++ developer, I don't know how to fix it.
cmu-db/peloton#651
[ 3%] Building CXX object CMakeFiles/resources.dir/__cmrc_resources/lib.cpp.o
In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h:33:0,
from /usr/include/c++/5/bits/allocator.h:46,
from /usr/include/c++/5/string:41,
from /usr/include/c++/5/stdexcept:39,
from /usr/include/c++/5/array:38,
from /usr/include/c++/5/tuple:39,
from /usr/include/c++/5/functional:55,
from /home/andy/executor/build/_cmrc/include/cmrc/cmrc.hpp:5,
from /home/andy/executor/build/__cmrc_resources/lib.cpp:1:
/usr/include/c++/5/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = std::pair<const std::__cxx11::basic_string<char>, cmrc::detail::file_or_directory>; _Args = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, cmrc::detail::directory&}; _Tp = std::_Rb_tree_node<std::pair<const std::__cxx11::basic_string<char>, cmrc::detail::file_or_directory> >]’:
/usr/include/c++/5/bits/alloc_traits.h:530:4: required from ‘static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = std::pair<const std::__cxx11::basic_string<char>, cmrc::detail::file_or_directory>; _Args = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, cmrc::detail::directory&}; _Tp = std::_Rb_tree_node<std::pair<const std::__cxx11::basic_string<char>, cmrc::detail::file_or_directory> >; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<std::_Rb_tree_node<std::pair<const std::__cxx11::basic_string<char>, cmrc::detail::file_or_directory> > >]’
/usr/include/c++/5/bits/stl_tree.h:529:32: required from ‘void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_construct_node(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type, _Args&& ...) [with _Args = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, cmrc::detail::directory&}; _Key = std::__cxx11::basic_string<char>; _Val = std::pair<const std::__cxx11::basic_string<char>, cmrc::detail::file_or_directory>; _KeyOfValue = std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, cmrc::detail::file_or_directory> >; _Compare = std::less<std::__cxx11::basic_string<char> >; _Alloc = std::allocator<std::pair<const std::__cxx11::basic_string<char>, cmrc::detail::file_or_directory> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node<std::pair<const std::__cxx11::basic_string<char>, cmrc::detail::file_or_directory> >*]’
/usr/include/c++/5/bits/stl_tree.h:546:21: required from ‘std::_Rb_tree_node<_Val>* std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, cmrc::detail::directory&}; _Key = std::__cxx11::basic_string<char>; _Val = std::pair<const std::__cxx11::basic_string<char>, cmrc::detail::file_or_directory>; _KeyOfValue = std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, cmrc::detail::file_or_directory> >; _Compare = std::less<std::__cxx11::basic_string<char> >; _Alloc = std::allocator<std::pair<const std::__cxx11::basic_string<char>, cmrc::detail::file_or_directory> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node<std::pair<const std::__cxx11::basic_string<char>, cmrc::detail::file_or_directory> >*]’
/usr/include/c++/5/bits/stl_tree.h:2123:33: required from ‘std::pair<std::_Rb_tree_iterator<_Val>, bool> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_unique(_Args&& ...) [with _Args = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, cmrc::detail::directory&}; _Key = std::__cxx11::basic_string<char>; _Val = std::pair<const std::__cxx11::basic_string<char>, cmrc::detail::file_or_directory>; _KeyOfValue = std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, cmrc::detail::file_or_directory> >; _Compare = std::less<std::__cxx11::basic_string<char> >; _Alloc = std::allocator<std::pair<const std::__cxx11::basic_string<char>, cmrc::detail::file_or_directory> >]’
/usr/include/c++/5/bits/stl_map.h:559:64: required from ‘std::pair<typename std::_Rb_tree<_Key, std::pair<const _Key, _Tp>, std::_Select1st<std::pair<const _Key, _Tp> >, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<std::pair<const _Key, _Tp> >::other>::iterator, bool> std::map<_Key, _Tp, _Compare, _Alloc>::emplace(_Args&& ...) [with _Args = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, cmrc::detail::directory&}; _Key = std::__cxx11::basic_string<char>; _Tp = cmrc::detail::file_or_directory; _Compare = std::less<std::__cxx11::basic_string<char> >; _Alloc = std::allocator<std::pair<const std::__cxx11::basic_string<char>, cmrc::detail::file_or_directory> >; typename std::_Rb_tree<_Key, std::pair<const _Key, _Tp>, std::_Select1st<std::pair<const _Key, _Tp> >, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<std::pair<const _Key, _Tp> >::other>::iterator = std::_Rb_tree_iterator<std::pair<const std::__cxx11::basic_string<char>, cmrc::detail::file_or_directory> >]’
/home/andy/executor/build/_cmrc/include/cmrc/cmrc.hpp:119:46: required from here
/usr/include/c++/5/ext/new_allocator.h:120:4: error: no matching function for call to ‘std::pair<const std::__cxx11::basic_string<char>, cmrc::detail::file_or_directory>::pair(std::__cxx11::basic_string<char>&, cmrc::detail::directory&)’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^
In file included from /usr/include/c++/5/utility:70:0,
from /usr/include/c++/5/tuple:38,
from /usr/include/c++/5/functional:55,
from /home/andy/executor/build/_cmrc/include/cmrc/cmrc.hpp:5,
from /home/andy/executor/build/__cmrc_resources/lib.cpp:1:
/usr/include/c++/5/bits/stl_pair.h:206:9: note: candidate: template<class ... _Args1, long unsigned int ..._Indexes1, class ... _Args2, long unsigned int ..._Indexes2> std::pair<_T1, _T2>::pair(std::tuple<_Args1 ...>&, std::tuple<_Args2 ...>&, std::_Index_tuple<_Indexes1 ...>, std::_Index_tuple<_Indexes2 ...>)
pair(tuple<_Args1...>&, tuple<_Args2...>&,
^
/usr/include/c++/5/bits/stl_pair.h:206:9: note: template argument deduction/substitution failed:
In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h:33:0,
from /usr/include/c++/5/bits/allocator.h:46,
from /usr/include/c++/5/string:41,
from /usr/include/c++/5/stdexcept:39,
from /usr/include/c++/5/array:38,
from /usr/include/c++/5/tuple:39,
from /usr/include/c++/5/functional:55,
from /home/andy/executor/build/_cmrc/include/cmrc/cmrc.hpp:5,
from /home/andy/executor/build/__cmrc_resources/lib.cpp:1:
/usr/include/c++/5/ext/new_allocator.h:120:4: note: ‘std::__cxx11::basic_string<char>’ is not derived from ‘std::tuple<_Elements ...>’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^
In file included from /usr/include/c++/5/utility:70:0,
from /usr/include/c++/5/tuple:38,
from /usr/include/c++/5/functional:55,
from /home/andy/executor/build/_cmrc/include/cmrc/cmrc.hpp:5,
from /home/andy/executor/build/__cmrc_resources/lib.cpp:1:
/usr/include/c++/5/bits/stl_pair.h:155:9: note: candidate: template<class ... _Args1, class ... _Args2> std::pair<_T1, _T2>::pair(std::piecewise_construct_t, std::tuple<_Args1 ...>, std::tuple<_Args2 ...>)
pair(piecewise_construct_t, tuple<_Args1...>, tuple<_Args2...>);
^
/usr/include/c++/5/bits/stl_pair.h:155:9: note: template argument deduction/substitution failed:
In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h:33:0,
from /usr/include/c++/5/bits/allocator.h:46,
from /usr/include/c++/5/string:41,
from /usr/include/c++/5/stdexcept:39,
from /usr/include/c++/5/array:38,
from /usr/include/c++/5/tuple:39,
from /usr/include/c++/5/functional:55,
from /home/andy/executor/build/_cmrc/include/cmrc/cmrc.hpp:5,
from /home/andy/executor/build/__cmrc_resources/lib.cpp:1:
/usr/include/c++/5/ext/new_allocator.h:120:4: note: cannot convert ‘std::forward<std::__cxx11::basic_string<char>&>((* & __args#0))’ (type ‘std::__cxx11::basic_string<char>’) to type ‘std::piecewise_construct_t’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^
In file included from /usr/include/c++/5/utility:70:0,
from /usr/include/c++/5/tuple:38,
from /usr/include/c++/5/functional:55,
from /home/andy/executor/build/_cmrc/include/cmrc/cmrc.hpp:5,
from /home/andy/executor/build/__cmrc_resources/lib.cpp:1:
/usr/include/c++/5/bits/stl_pair.h:150:12: note: candidate: template<class _U1, class _U2, class> constexpr std::pair<_T1, _T2>::pair(std::pair<_U1, _U2>&&)
constexpr pair(pair<_U1, _U2>&& __p)
^
/usr/include/c++/5/bits/stl_pair.h:150:12: note: template argument deduction/substitution failed:
In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h:33:0,
from /usr/include/c++/5/bits/allocator.h:46,
from /usr/include/c++/5/string:41,
from /usr/include/c++/5/stdexcept:39,
from /usr/include/c++/5/array:38,
from /usr/include/c++/5/tuple:39,
from /usr/include/c++/5/functional:55,
from /home/andy/executor/build/_cmrc/include/cmrc/cmrc.hpp:5,
from /home/andy/executor/build/__cmrc_resources/lib.cpp:1:
/usr/include/c++/5/ext/new_allocator.h:120:4: note: ‘std::__cxx11::basic_string<char>’ is not derived from ‘std::pair<_T1, _T2>’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^
In file included from /usr/include/c++/5/utility:70:0,
from /usr/include/c++/5/tuple:38,
from /usr/include/c++/5/functional:55,
from /home/andy/executor/build/_cmrc/include/cmrc/cmrc.hpp:5,
from /home/andy/executor/build/__cmrc_resources/lib.cpp:1:
/usr/include/c++/5/bits/stl_pair.h:144:12: note: candidate: template<class _U1, class _U2, class> constexpr std::pair<_T1, _T2>::pair(_U1&&, _U2&&)
constexpr pair(_U1&& __x, _U2&& __y)
^
/usr/include/c++/5/bits/stl_pair.h:144:12: note: template argument deduction/substitution failed:
/usr/include/c++/5/bits/stl_pair.h:141:38: error: no type named ‘type’ in ‘struct std::enable_if<false, void>’
template<class _U1, class _U2, class = typename
^
/usr/include/c++/5/bits/stl_pair.h:138:12: note: candidate: template<class _U2, class> constexpr std::pair<_T1, _T2>::pair(const _T1&, _U2&&)
constexpr pair(const _T1& __x, _U2&& __y)
^
/usr/include/c++/5/bits/stl_pair.h:138:12: note: template argument deduction/substitution failed:
/usr/include/c++/5/bits/stl_pair.h:136:27: error: no type named ‘type’ in ‘struct std::enable_if<false, void>’
template<class _U2, class = typename
^
/usr/include/c++/5/bits/stl_pair.h:133:12: note: candidate: template<class _U1, class> constexpr std::pair<_T1, _T2>::pair(_U1&&, const _T2&)
constexpr pair(_U1&& __x, const _T2& __y)
^
/usr/include/c++/5/bits/stl_pair.h:133:12: note: template argument deduction/substitution failed:
In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h:33:0,
from /usr/include/c++/5/bits/allocator.h:46,
from /usr/include/c++/5/string:41,
from /usr/include/c++/5/stdexcept:39,
from /usr/include/c++/5/array:38,
from /usr/include/c++/5/tuple:39,
from /usr/include/c++/5/functional:55,
from /home/andy/executor/build/_cmrc/include/cmrc/cmrc.hpp:5,
from /home/andy/executor/build/__cmrc_resources/lib.cpp:1:
/usr/include/c++/5/ext/new_allocator.h:120:4: note: cannot convert ‘std::forward<cmrc::detail::directory&>((* & __args#1))’ (type ‘cmrc::detail::directory’) to type ‘const cmrc::detail::file_or_directory&’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^
In file included from /usr/include/c++/5/utility:70:0,
from /usr/include/c++/5/tuple:38,
from /usr/include/c++/5/functional:55,
from /home/andy/executor/build/_cmrc/include/cmrc/cmrc.hpp:5,
from /home/andy/executor/build/__cmrc_resources/lib.cpp:1:
/usr/include/c++/5/bits/stl_pair.h:128:17: note: candidate: constexpr std::pair<_T1, _T2>::pair(std::pair<_T1, _T2>&&) [with _T1 = const std::__cxx11::basic_string<char>; _T2 = cmrc::detail::file_or_directory]
constexpr pair(pair&&) = default;
^
/usr/include/c++/5/bits/stl_pair.h:128:17: note: candidate expects 1 argument, 2 provided
/usr/include/c++/5/bits/stl_pair.h:127:17: note: candidate: constexpr std::pair<_T1, _T2>::pair(const std::pair<_T1, _T2>&) [with _T1 = const std::__cxx11::basic_string<char>; _T2 = cmrc::detail::file_or_directory]
constexpr pair(const pair&) = default;
^
/usr/include/c++/5/bits/stl_pair.h:127:17: note: candidate expects 1 argument, 2 provided
/usr/include/c++/5/bits/stl_pair.h:124:12: note: candidate: template<class _U1, class _U2, class> constexpr std::pair<_T1, _T2>::pair(const std::pair<_U1, _U2>&)
constexpr pair(const pair<_U1, _U2>& __p)
^
/usr/include/c++/5/bits/stl_pair.h:124:12: note: template argument deduction/substitution failed:
In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h:33:0,
from /usr/include/c++/5/bits/allocator.h:46,
from /usr/include/c++/5/string:41,
from /usr/include/c++/5/stdexcept:39,
from /usr/include/c++/5/array:38,
from /usr/include/c++/5/tuple:39,
from /usr/include/c++/5/functional:55,
from /home/andy/executor/build/_cmrc/include/cmrc/cmrc.hpp:5,
from /home/andy/executor/build/__cmrc_resources/lib.cpp:1:
/usr/include/c++/5/ext/new_allocator.h:120:4: note: ‘std::__cxx11::basic_string<char>’ is not derived from ‘const std::pair<_T1, _T2>’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^
In file included from /usr/include/c++/5/utility:70:0,
from /usr/include/c++/5/tuple:38,
from /usr/include/c++/5/functional:55,
from /home/andy/executor/build/_cmrc/include/cmrc/cmrc.hpp:5,
from /home/andy/executor/build/__cmrc_resources/lib.cpp:1:
/usr/include/c++/5/bits/stl_pair.h:112:26: note: candidate: constexpr std::pair<_T1, _T2>::pair(const _T1&, const _T2&) [with _T1 = const std::__cxx11::basic_string<char>; _T2 = cmrc::detail::file_or_directory]
_GLIBCXX_CONSTEXPR pair(const _T1& __a, const _T2& __b)
^
/usr/include/c++/5/bits/stl_pair.h:112:26: note: no known conversion for argument 2 from ‘cmrc::detail::directory’ to ‘const cmrc::detail::file_or_directory&’
/usr/include/c++/5/bits/stl_pair.h:108:26: note: candidate: constexpr std::pair<_T1, _T2>::pair() [with _T1 = const std::__cxx11::basic_string<char>; _T2 = cmrc::detail::file_or_directory]
_GLIBCXX_CONSTEXPR pair()
^
/usr/include/c++/5/bits/stl_pair.h:108:26: note: candidate expects 0 arguments, 2 provided
In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h:33:0,
from /usr/include/c++/5/bits/allocator.h:46,
from /usr/include/c++/5/string:41,
from /usr/include/c++/5/stdexcept:39,
from /usr/include/c++/5/array:38,
from /usr/include/c++/5/tuple:39,
from /usr/include/c++/5/functional:55,
from /home/andy/executor/build/_cmrc/include/cmrc/cmrc.hpp:5,
from /home/andy/executor/build/__cmrc_resources/lib.cpp:1:
/usr/include/c++/5/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = std::pair<const std::__cxx11::basic_string<char>, cmrc::detail::file_or_directory>; _Args = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, cmrc::detail::file_data&}; _Tp = std::_Rb_tree_node<std::pair<const std::__cxx11::basic_string<char>, cmrc::detail::file_or_directory> >]’:
/usr/include/c++/5/bits/alloc_traits.h:530:4: required from ‘static void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = std::pair<const std::__cxx11::basic_string<char>, cmrc::detail::file_or_directory>; _Args = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, cmrc::detail::file_data&}; _Tp = std::_Rb_tree_node<std::pair<const std::__cxx11::basic_string<char>, cmrc::detail::file_or_directory> >; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<std::_Rb_tree_node<std::pair<const std::__cxx11::basic_string<char>, cmrc::detail::file_or_directory> > >]’
/usr/include/c++/5/bits/stl_tree.h:529:32: required from ‘void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_construct_node(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type, _Args&& ...) [with _Args = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, cmrc::detail::file_data&}; _Key = std::__cxx11::basic_string<char>; _Val = std::pair<const std::__cxx11::basic_string<char>, cmrc::detail::file_or_directory>; _KeyOfValue = std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, cmrc::detail::file_or_directory> >; _Compare = std::less<std::__cxx11::basic_string<char> >; _Alloc = std::allocator<std::pair<const std::__cxx11::basic_string<char>, cmrc::detail::file_or_directory> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node<std::pair<const std::__cxx11::basic_string<char>, cmrc::detail::file_or_directory> >*]’
/usr/include/c++/5/bits/stl_tree.h:546:21: required from ‘std::_Rb_tree_node<_Val>* std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, cmrc::detail::file_data&}; _Key = std::__cxx11::basic_string<char>; _Val = std::pair<const std::__cxx11::basic_string<char>, cmrc::detail::file_or_directory>; _KeyOfValue = std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, cmrc::detail::file_or_directory> >; _Compare = std::less<std::__cxx11::basic_string<char> >; _Alloc = std::allocator<std::pair<const std::__cxx11::basic_string<char>, cmrc::detail::file_or_directory> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node<std::pair<const std::__cxx11::basic_string<char>, cmrc::detail::file_or_directory> >*]’
/usr/include/c++/5/bits/stl_tree.h:2123:33: required from ‘std::pair<std::_Rb_tree_iterator<_Val>, bool> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_unique(_Args&& ...) [with _Args = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, cmrc::detail::file_data&}; _Key = std::__cxx11::basic_string<char>; _Val = std::pair<const std::__cxx11::basic_string<char>, cmrc::detail::file_or_directory>; _KeyOfValue = std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, cmrc::detail::file_or_directory> >; _Compare = std::less<std::__cxx11::basic_string<char> >; _Alloc = std::allocator<std::pair<const std::__cxx11::basic_string<char>, cmrc::detail::file_or_directory> >]’
/usr/include/c++/5/bits/stl_map.h:559:64: required from ‘std::pair<typename std::_Rb_tree<_Key, std::pair<const _Key, _Tp>, std::_Select1st<std::pair<const _Key, _Tp> >, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<std::pair<const _Key, _Tp> >::other>::iterator, bool> std::map<_Key, _Tp, _Compare, _Alloc>::emplace(_Args&& ...) [with _Args = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, cmrc::detail::file_data&}; _Key = std::__cxx11::basic_string<char>; _Tp = cmrc::detail::file_or_directory; _Compare = std::less<std::__cxx11::basic_string<char> >; _Alloc = std::allocator<std::pair<const std::__cxx11::basic_string<char>, cmrc::detail::file_or_directory> >; typename std::_Rb_tree<_Key, std::pair<const _Key, _Tp>, std::_Select1st<std::pair<const _Key, _Tp> >, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<std::pair<const _Key, _Tp> >::other>::iterator = std::_Rb_tree_iterator<std::pair<const std::__cxx11::basic_string<char>, cmrc::detail::file_or_directory> >]’
/home/andy/executor/build/_cmrc/include/cmrc/cmrc.hpp:126:51: required from here
/usr/include/c++/5/ext/new_allocator.h:120:4: error: no matching function for call to ‘std::pair<const std::__cxx11::basic_string<char>, cmrc::detail::file_or_directory>::pair(std::__cxx11::basic_string<char>&, cmrc::detail::file_data&)’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^
In file included from /usr/include/c++/5/utility:70:0,
from /usr/include/c++/5/tuple:38,
from /usr/include/c++/5/functional:55,
from /home/andy/executor/build/_cmrc/include/cmrc/cmrc.hpp:5,
from /home/andy/executor/build/__cmrc_resources/lib.cpp:1:
/usr/include/c++/5/bits/stl_pair.h:206:9: note: candidate: template<class ... _Args1, long unsigned int ..._Indexes1, class ... _Args2, long unsigned int ..._Indexes2> std::pair<_T1, _T2>::pair(std::tuple<_Args1 ...>&, std::tuple<_Args2 ...>&, std::_Index_tuple<_Indexes1 ...>, std::_Index_tuple<_Indexes2 ...>)
pair(tuple<_Args1...>&, tuple<_Args2...>&,
^
/usr/include/c++/5/bits/stl_pair.h:206:9: note: template argument deduction/substitution failed:
In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h:33:0,
from /usr/include/c++/5/bits/allocator.h:46,
from /usr/include/c++/5/string:41,
from /usr/include/c++/5/stdexcept:39,
from /usr/include/c++/5/array:38,
from /usr/include/c++/5/tuple:39,
from /usr/include/c++/5/functional:55,
from /home/andy/executor/build/_cmrc/include/cmrc/cmrc.hpp:5,
from /home/andy/executor/build/__cmrc_resources/lib.cpp:1:
/usr/include/c++/5/ext/new_allocator.h:120:4: note: ‘std::__cxx11::basic_string<char>’ is not derived from ‘std::tuple<_Elements ...>’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^
In file included from /usr/include/c++/5/utility:70:0,
from /usr/include/c++/5/tuple:38,
from /usr/include/c++/5/functional:55,
from /home/andy/executor/build/_cmrc/include/cmrc/cmrc.hpp:5,
from /home/andy/executor/build/__cmrc_resources/lib.cpp:1:
/usr/include/c++/5/bits/stl_pair.h:155:9: note: candidate: template<class ... _Args1, class ... _Args2> std::pair<_T1, _T2>::pair(std::piecewise_construct_t, std::tuple<_Args1 ...>, std::tuple<_Args2 ...>)
pair(piecewise_construct_t, tuple<_Args1...>, tuple<_Args2...>);
^
/usr/include/c++/5/bits/stl_pair.h:155:9: note: template argument deduction/substitution failed:
In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h:33:0,
from /usr/include/c++/5/bits/allocator.h:46,
from /usr/include/c++/5/string:41,
from /usr/include/c++/5/stdexcept:39,
from /usr/include/c++/5/array:38,
from /usr/include/c++/5/tuple:39,
from /usr/include/c++/5/functional:55,
from /home/andy/executor/build/_cmrc/include/cmrc/cmrc.hpp:5,
from /home/andy/executor/build/__cmrc_resources/lib.cpp:1:
/usr/include/c++/5/ext/new_allocator.h:120:4: note: cannot convert ‘std::forward<std::__cxx11::basic_string<char>&>((* & __args#0))’ (type ‘std::__cxx11::basic_string<char>’) to type ‘std::piecewise_construct_t’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^
In file included from /usr/include/c++/5/utility:70:0,
from /usr/include/c++/5/tuple:38,
from /usr/include/c++/5/functional:55,
from /home/andy/executor/build/_cmrc/include/cmrc/cmrc.hpp:5,
from /home/andy/executor/build/__cmrc_resources/lib.cpp:1:
/usr/include/c++/5/bits/stl_pair.h:150:12: note: candidate: template<class _U1, class _U2, class> constexpr std::pair<_T1, _T2>::pair(std::pair<_U1, _U2>&&)
constexpr pair(pair<_U1, _U2>&& __p)
^
/usr/include/c++/5/bits/stl_pair.h:150:12: note: template argument deduction/substitution failed:
In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h:33:0,
from /usr/include/c++/5/bits/allocator.h:46,
from /usr/include/c++/5/string:41,
from /usr/include/c++/5/stdexcept:39,
from /usr/include/c++/5/array:38,
from /usr/include/c++/5/tuple:39,
from /usr/include/c++/5/functional:55,
from /home/andy/executor/build/_cmrc/include/cmrc/cmrc.hpp:5,
from /home/andy/executor/build/__cmrc_resources/lib.cpp:1:
/usr/include/c++/5/ext/new_allocator.h:120:4: note: ‘std::__cxx11::basic_string<char>’ is not derived from ‘std::pair<_T1, _T2>’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^
In file included from /usr/include/c++/5/utility:70:0,
from /usr/include/c++/5/tuple:38,
from /usr/include/c++/5/functional:55,
from /home/andy/executor/build/_cmrc/include/cmrc/cmrc.hpp:5,
from /home/andy/executor/build/__cmrc_resources/lib.cpp:1:
/usr/include/c++/5/bits/stl_pair.h:144:12: note: candidate: template<class _U1, class _U2, class> constexpr std::pair<_T1, _T2>::pair(_U1&&, _U2&&)
constexpr pair(_U1&& __x, _U2&& __y)
^
/usr/include/c++/5/bits/stl_pair.h:144:12: note: template argument deduction/substitution failed:
/usr/include/c++/5/bits/stl_pair.h:141:38: error: no type named ‘type’ in ‘struct std::enable_if<false, void>’
template<class _U1, class _U2, class = typename
^
/usr/include/c++/5/bits/stl_pair.h:138:12: note: candidate: template<class _U2, class> constexpr std::pair<_T1, _T2>::pair(const _T1&, _U2&&)
constexpr pair(const _T1& __x, _U2&& __y)
^
/usr/include/c++/5/bits/stl_pair.h:138:12: note: template argument deduction/substitution failed:
/usr/include/c++/5/bits/stl_pair.h:136:27: error: no type named ‘type’ in ‘struct std::enable_if<false, void>’
template<class _U2, class = typename
^
/usr/include/c++/5/bits/stl_pair.h:133:12: note: candidate: template<class _U1, class> constexpr std::pair<_T1, _T2>::pair(_U1&&, const _T2&)
constexpr pair(_U1&& __x, const _T2& __y)
^
/usr/include/c++/5/bits/stl_pair.h:133:12: note: template argument deduction/substitution failed:
In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h:33:0,
from /usr/include/c++/5/bits/allocator.h:46,
from /usr/include/c++/5/string:41,
from /usr/include/c++/5/stdexcept:39,
from /usr/include/c++/5/array:38,
from /usr/include/c++/5/tuple:39,
from /usr/include/c++/5/functional:55,
from /home/andy/executor/build/_cmrc/include/cmrc/cmrc.hpp:5,
from /home/andy/executor/build/__cmrc_resources/lib.cpp:1:
/usr/include/c++/5/ext/new_allocator.h:120:4: note: cannot convert ‘std::forward<cmrc::detail::file_data&>((* & __args#1))’ (type ‘cmrc::detail::file_data’) to type ‘const cmrc::detail::file_or_directory&’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^
In file included from /usr/include/c++/5/utility:70:0,
from /usr/include/c++/5/tuple:38,
from /usr/include/c++/5/functional:55,
from /home/andy/executor/build/_cmrc/include/cmrc/cmrc.hpp:5,
from /home/andy/executor/build/__cmrc_resources/lib.cpp:1:
/usr/include/c++/5/bits/stl_pair.h:128:17: note: candidate: constexpr std::pair<_T1, _T2>::pair(std::pair<_T1, _T2>&&) [with _T1 = const std::__cxx11::basic_string<char>; _T2 = cmrc::detail::file_or_directory]
constexpr pair(pair&&) = default;
^
/usr/include/c++/5/bits/stl_pair.h:128:17: note: candidate expects 1 argument, 2 provided
/usr/include/c++/5/bits/stl_pair.h:127:17: note: candidate: constexpr std::pair<_T1, _T2>::pair(const std::pair<_T1, _T2>&) [with _T1 = const std::__cxx11::basic_string<char>; _T2 = cmrc::detail::file_or_directory]
constexpr pair(const pair&) = default;
^
/usr/include/c++/5/bits/stl_pair.h:127:17: note: candidate expects 1 argument, 2 provided
/usr/include/c++/5/bits/stl_pair.h:124:12: note: candidate: template<class _U1, class _U2, class> constexpr std::pair<_T1, _T2>::pair(const std::pair<_U1, _U2>&)
constexpr pair(const pair<_U1, _U2>& __p)
^
/usr/include/c++/5/bits/stl_pair.h:124:12: note: template argument deduction/substitution failed:
In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/c++allocator.h:33:0,
from /usr/include/c++/5/bits/allocator.h:46,
from /usr/include/c++/5/string:41,
from /usr/include/c++/5/stdexcept:39,
from /usr/include/c++/5/array:38,
from /usr/include/c++/5/tuple:39,
from /usr/include/c++/5/functional:55,
from /home/andy/executor/build/_cmrc/include/cmrc/cmrc.hpp:5,
from /home/andy/executor/build/__cmrc_resources/lib.cpp:1:
/usr/include/c++/5/ext/new_allocator.h:120:4: note: ‘std::__cxx11::basic_string<char>’ is not derived from ‘const std::pair<_T1, _T2>’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^
In file included from /usr/include/c++/5/utility:70:0,
from /usr/include/c++/5/tuple:38,
from /usr/include/c++/5/functional:55,
from /home/andy/executor/build/_cmrc/include/cmrc/cmrc.hpp:5,
from /home/andy/executor/build/__cmrc_resources/lib.cpp:1:
/usr/include/c++/5/bits/stl_pair.h:112:26: note: candidate: constexpr std::pair<_T1, _T2>::pair(const _T1&, const _T2&) [with _T1 = const std::__cxx11::basic_string<char>; _T2 = cmrc::detail::file_or_directory]
_GLIBCXX_CONSTEXPR pair(const _T1& __a, const _T2& __b)
^
/usr/include/c++/5/bits/stl_pair.h:112:26: note: no known conversion for argument 2 from ‘cmrc::detail::file_data’ to ‘const cmrc::detail::file_or_directory&’
/usr/include/c++/5/bits/stl_pair.h:108:26: note: candidate: constexpr std::pair<_T1, _T2>::pair() [with _T1 = const std::__cxx11::basic_string<char>; _T2 = cmrc::detail::file_or_directory]
_GLIBCXX_CONSTEXPR pair()
^
/usr/include/c++/5/bits/stl_pair.h:108:26: note: candidate expects 0 arguments, 2 provided
CMakeFiles/resources.dir/build.make:127: recipe for target 'CMakeFiles/resources.dir/__cmrc_resources/lib.cpp.o' failed
make[2]: *** [CMakeFiles/resources.dir/__cmrc_resources/lib.cpp.o] Error 1
CMakeFiles/Makefile2:453: recipe for target 'CMakeFiles/resources.dir/all' failed
make[1]: *** [CMakeFiles/resources.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2