Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Building with 'g++'.
- Warning: You are using gcc version '7.5.0'. The version of gcc is not supported. The version currently
- supported with MEX is '6.3.x'. For a list of currently supported compilers see:
- https://www.mathworks.com/support/compilers/current_release.
- Error using mex
- In file included from /home/kameranis/MATLAB/R2020a/extern/include/mexAdapter.hpp:18:0,
- from /home/kameranis/Doctoral/graphtools/osvv/final/readPtn.cpp:22:
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp: In instantiation of ‘void
- matlab::engine::detail::validateTIsSupported() [with T = matlab::data::CharArray&]’:
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:68:40: required from
- ‘matlab::data::Array matlab::engine::detail::createRhs(matlab::data::ArrayFactory&, T&&) [with T =
- matlab::data::CharArray&]’
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:255:26: required from
- ‘ReturnType matlab::engine::MATLABEngine::feval(const u16string&, const
- std::shared_ptr<std::basic_streambuf<char16_t> >&, const std::shared_ptr<std::basic_streambuf<char16_t> >&,
- RhsArgs&& ...) [with ReturnType = void; RhsArgs = {matlab::data::CharArray&}; std::__cxx11::u16string =
- std::__cxx11::basic_string<char16_t>]’
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:276:29: required from
- ‘ReturnType matlab::engine::MATLABEngine::feval(const u16string&, RhsArgs&& ...) [with ReturnType = void;
- RhsArgs = {matlab::data::CharArray&}; std::__cxx11::u16string = std::__cxx11::basic_string<char16_t>]’
- /home/kameranis/Doctoral/graphtools/osvv/final/readPtn.cpp:68:46: required from here
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:51:17: error: static
- assertion failed: Attempted to use unsupported types.
- static_assert(
- ^~~~~~~~~~~~~
- In file included from /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray.hpp:22:0,
- from /home/kameranis/MATLAB/R2020a/extern/include/mexAdapter.hpp:10,
- from /home/kameranis/Doctoral/graphtools/osvv/final/readPtn.cpp:22:
- /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray/ArrayFactory.hpp: In instantiation of
- ‘matlab::data::TypedArray<typename matlab::data::GetReturnType<T>::type>
- matlab::data::ArrayFactory::createArray(matlab::data::ArrayDimensions, std::initializer_list<_Tp>) [with T =
- matlab::data::CharArray; typename matlab::data::GetReturnType<T>::type = matlab::data::CharArray;
- matlab::data::ArrayDimensions = std::vector<long unsigned int>]’:
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:70:66: required from
- ‘matlab::data::Array matlab::engine::detail::createRhs(matlab::data::ArrayFactory&, T&&) [with T =
- matlab::data::CharArray&]’
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:255:26: required from
- ‘ReturnType matlab::engine::MATLABEngine::feval(const u16string&, const
- std::shared_ptr<std::basic_streambuf<char16_t> >&, const std::shared_ptr<std::basic_streambuf<char16_t> >&,
- RhsArgs&& ...) [with ReturnType = void; RhsArgs = {matlab::data::CharArray&}; std::__cxx11::u16string =
- std::__cxx11::basic_string<char16_t>]’
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:276:29: required from
- ‘ReturnType matlab::engine::MATLABEngine::feval(const u16string&, RhsArgs&& ...) [with ReturnType = void;
- RhsArgs = {matlab::data::CharArray&}; std::__cxx11::u16string = std::__cxx11::basic_string<char16_t>]’
- /home/kameranis/Doctoral/graphtools/osvv/final/readPtn.cpp:68:46: required from here
- /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray/ArrayFactory.hpp:145:47: error: no matching
- function for call to ‘createArrayWithIterator(std::__shared_ptr<matlab::data::impl::ArrayFactoryImpl,
- (__gnu_cxx::_Lock_policy)2>::element_type*, std::remove_reference<std::vector<long unsigned int>&>::type,
- std::initializer_list<matlab::data::CharArray>::const_iterator,
- std::initializer_list<matlab::data::CharArray>::const_iterator)’
- return detail::createArrayWithIterator(pImpl.get(), std::move(dims), data.begin(),
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- data.end());
- ~~~~~~~~~~~
- In file included from /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray/ArrayFactory.hpp:22:0,
- from /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray.hpp:22,
- from /home/kameranis/MATLAB/R2020a/extern/include/mexAdapter.hpp:10,
- from /home/kameranis/Doctoral/graphtools/osvv/final/readPtn.cpp:22:
- /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray/detail/ArrayFactoryHelpers.hpp:28:13: note:
- candidate: template<class ItType, class T> typename std::enable_if<((matlab::data::is_complex<T>::value ||
- std::is_arithmetic<T>::value) && (! std::is_same<T, bool>::value)), matlab::data::TypedArray<typename
- matlab::data::GetReturnType<T>::type> >::type
- matlab::data::detail::createArrayWithIterator(matlab::data::impl::ArrayFactoryImpl*,
- matlab::data::ArrayDimensions, ItType, ItType)
- createArrayWithIterator(matlab::data::impl::ArrayFactoryImpl* impl, ArrayDimensions dims, ItType
- begin, ItType end) {
- ^~~~~~~~~~~~~~~~~~~~~~~
- /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray/detail/ArrayFactoryHelpers.hpp:28:13: note:
- template argument deduction/substitution failed:
- /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray/detail/ArrayFactoryHelpers.hpp: In substitution
- of ‘template<class ItType, class T> typename std::enable_if<((matlab::data::is_complex<T>::value ||
- std::is_arithmetic<T>::value) && (! std::is_same<T, bool>::value)), matlab::data::TypedArray<typename
- matlab::data::GetReturnType<T>::type> >::type
- matlab::data::detail::createArrayWithIterator(matlab::data::impl::ArrayFactoryImpl*,
- matlab::data::ArrayDimensions, ItType, ItType) [with ItType = const matlab::data::CharArray*; T =
- matlab::data::CharArray]’:
- /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray/ArrayFactory.hpp:145:47: required from
- ‘matlab::data::TypedArray<typename matlab::data::GetReturnType<T>::type>
- matlab::data::ArrayFactory::createArray(matlab::data::ArrayDimensions, std::initializer_list<_Tp>) [with T =
- matlab::data::CharArray; typename matlab::data::GetReturnType<T>::type = matlab::data::CharArray;
- matlab::data::ArrayDimensions = std::vector<long unsigned int>]’
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:70:66: required from
- ‘matlab::data::Array matlab::engine::detail::createRhs(matlab::data::ArrayFactory&, T&&) [with T =
- matlab::data::CharArray&]’
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:255:26: required from
- ‘ReturnType matlab::engine::MATLABEngine::feval(const u16string&, const
- std::shared_ptr<std::basic_streambuf<char16_t> >&, const std::shared_ptr<std::basic_streambuf<char16_t> >&,
- RhsArgs&& ...) [with ReturnType = void; RhsArgs = {matlab::data::CharArray&}; std::__cxx11::u16string =
- std::__cxx11::basic_string<char16_t>]’
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:276:29: required from
- ‘ReturnType matlab::engine::MATLABEngine::feval(const u16string&, RhsArgs&& ...) [with ReturnType = void;
- RhsArgs = {matlab::data::CharArray&}; std::__cxx11::u16string = std::__cxx11::basic_string<char16_t>]’
- /home/kameranis/Doctoral/graphtools/osvv/final/readPtn.cpp:68:46: required from here
- /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray/detail/ArrayFactoryHelpers.hpp:28:13: error: no
- type named ‘type’ in ‘struct std::enable_if<false, matlab::data::TypedArray<matlab::data::CharArray> >’
- /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray/ArrayFactory.hpp: In instantiation of
- ‘matlab::data::TypedArray<typename matlab::data::GetReturnType<T>::type>
- matlab::data::ArrayFactory::createArray(matlab::data::ArrayDimensions, std::initializer_list<_Tp>) [with T =
- matlab::data::CharArray; typename matlab::data::GetReturnType<T>::type = matlab::data::CharArray;
- matlab::data::ArrayDimensions = std::vector<long unsigned int>]’:
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:70:66: required from
- ‘matlab::data::Array matlab::engine::detail::createRhs(matlab::data::ArrayFactory&, T&&) [with T =
- matlab::data::CharArray&]’
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:255:26: required from
- ‘ReturnType matlab::engine::MATLABEngine::feval(const u16string&, const
- std::shared_ptr<std::basic_streambuf<char16_t> >&, const std::shared_ptr<std::basic_streambuf<char16_t> >&,
- RhsArgs&& ...) [with ReturnType = void; RhsArgs = {matlab::data::CharArray&}; std::__cxx11::u16string =
- std::__cxx11::basic_string<char16_t>]’
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:276:29: required from
- ‘ReturnType matlab::engine::MATLABEngine::feval(const u16string&, RhsArgs&& ...) [with ReturnType = void;
- RhsArgs = {matlab::data::CharArray&}; std::__cxx11::u16string = std::__cxx11::basic_string<char16_t>]’
- /home/kameranis/Doctoral/graphtools/osvv/final/readPtn.cpp:68:46: required from here
- /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray/detail/ArrayFactoryHelpers.hpp:52:13: note:
- candidate: template<class ItType, class T> typename std::enable_if<std::is_same<T, bool>::value,
- matlab::data::TypedArray<bool> >::type
- matlab::data::detail::createArrayWithIterator(matlab::data::impl::ArrayFactoryImpl*,
- matlab::data::ArrayDimensions, ItType, ItType)
- createArrayWithIterator(matlab::data::impl::ArrayFactoryImpl* impl, ArrayDimensions dims, ItType
- begin, ItType end) {
- ^~~~~~~~~~~~~~~~~~~~~~~
- /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray/detail/ArrayFactoryHelpers.hpp:52:13: note:
- template argument deduction/substitution failed:
- /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray/detail/ArrayFactoryHelpers.hpp: In substitution
- of ‘template<class ItType, class T> typename std::enable_if<std::is_same<T, bool>::value,
- matlab::data::TypedArray<bool> >::type
- matlab::data::detail::createArrayWithIterator(matlab::data::impl::ArrayFactoryImpl*,
- matlab::data::ArrayDimensions, ItType, ItType) [with ItType = const matlab::data::CharArray*; T =
- matlab::data::CharArray]’:
- /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray/ArrayFactory.hpp:145:47: required from
- ‘matlab::data::TypedArray<typename matlab::data::GetReturnType<T>::type>
- matlab::data::ArrayFactory::createArray(matlab::data::ArrayDimensions, std::initializer_list<_Tp>) [with T =
- matlab::data::CharArray; typename matlab::data::GetReturnType<T>::type = matlab::data::CharArray;
- matlab::data::ArrayDimensions = std::vector<long unsigned int>]’
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:70:66: required from
- ‘matlab::data::Array matlab::engine::detail::createRhs(matlab::data::ArrayFactory&, T&&) [with T =
- matlab::data::CharArray&]’
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:255:26: required from
- ‘ReturnType matlab::engine::MATLABEngine::feval(const u16string&, const
- std::shared_ptr<std::basic_streambuf<char16_t> >&, const std::shared_ptr<std::basic_streambuf<char16_t> >&,
- RhsArgs&& ...) [with ReturnType = void; RhsArgs = {matlab::data::CharArray&}; std::__cxx11::u16string =
- std::__cxx11::basic_string<char16_t>]’
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:276:29: required from
- ‘ReturnType matlab::engine::MATLABEngine::feval(const u16string&, RhsArgs&& ...) [with ReturnType = void;
- RhsArgs = {matlab::data::CharArray&}; std::__cxx11::u16string = std::__cxx11::basic_string<char16_t>]’
- /home/kameranis/Doctoral/graphtools/osvv/final/readPtn.cpp:68:46: required from here
- /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray/detail/ArrayFactoryHelpers.hpp:52:13: error: no
- type named ‘type’ in ‘struct std::enable_if<false, matlab::data::TypedArray<bool> >’
- /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray/ArrayFactory.hpp: In instantiation of
- ‘matlab::data::TypedArray<typename matlab::data::GetReturnType<T>::type>
- matlab::data::ArrayFactory::createArray(matlab::data::ArrayDimensions, std::initializer_list<_Tp>) [with T =
- matlab::data::CharArray; typename matlab::data::GetReturnType<T>::type = matlab::data::CharArray;
- matlab::data::ArrayDimensions = std::vector<long unsigned int>]’:
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:70:66: required from
- ‘matlab::data::Array matlab::engine::detail::createRhs(matlab::data::ArrayFactory&, T&&) [with T =
- matlab::data::CharArray&]’
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:255:26: required from
- ‘ReturnType matlab::engine::MATLABEngine::feval(const u16string&, const
- std::shared_ptr<std::basic_streambuf<char16_t> >&, const std::shared_ptr<std::basic_streambuf<char16_t> >&,
- RhsArgs&& ...) [with ReturnType = void; RhsArgs = {matlab::data::CharArray&}; std::__cxx11::u16string =
- std::__cxx11::basic_string<char16_t>]’
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:276:29: required from
- ‘ReturnType matlab::engine::MATLABEngine::feval(const u16string&, RhsArgs&& ...) [with ReturnType = void;
- RhsArgs = {matlab::data::CharArray&}; std::__cxx11::u16string = std::__cxx11::basic_string<char16_t>]’
- /home/kameranis/Doctoral/graphtools/osvv/final/readPtn.cpp:68:46: required from here
- /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray/detail/ArrayFactoryHelpers.hpp:81:13: note:
- candidate: template<class ItType, class T> typename std::enable_if<(std::is_same<T,
- std::__cxx11::basic_string<char16_t> >::value || std::is_same<T, const char16_t*>::value),
- matlab::data::TypedArray<typename matlab::data::GetReturnType<T>::type> >::type
- matlab::data::detail::createArrayWithIterator(matlab::data::impl::ArrayFactoryImpl*,
- matlab::data::ArrayDimensions, ItType, ItType)
- createArrayWithIterator(matlab::data::impl::ArrayFactoryImpl* impl, ArrayDimensions dims, ItType
- begin, ItType end) {
- ^~~~~~~~~~~~~~~~~~~~~~~
- /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray/detail/ArrayFactoryHelpers.hpp:81:13: note:
- template argument deduction/substitution failed:
- /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray/detail/ArrayFactoryHelpers.hpp: In substitution
- of ‘template<class ItType, class T> typename std::enable_if<(std::is_same<T,
- std::__cxx11::basic_string<char16_t> >::value || std::is_same<T, const char16_t*>::value),
- matlab::data::TypedArray<typename matlab::data::GetReturnType<T>::type> >::type
- matlab::data::detail::createArrayWithIterator(matlab::data::impl::ArrayFactoryImpl*,
- matlab::data::ArrayDimensions, ItType, ItType) [with ItType = const matlab::data::CharArray*; T =
- matlab::data::CharArray]’:
- /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray/ArrayFactory.hpp:145:47: required from
- ‘matlab::data::TypedArray<typename matlab::data::GetReturnType<T>::type>
- matlab::data::ArrayFactory::createArray(matlab::data::ArrayDimensions, std::initializer_list<_Tp>) [with T =
- matlab::data::CharArray; typename matlab::data::GetReturnType<T>::type = matlab::data::CharArray;
- matlab::data::ArrayDimensions = std::vector<long unsigned int>]’
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:70:66: required from
- ‘matlab::data::Array matlab::engine::detail::createRhs(matlab::data::ArrayFactory&, T&&) [with T =
- matlab::data::CharArray&]’
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:255:26: required from
- ‘ReturnType matlab::engine::MATLABEngine::feval(const u16string&, const
- std::shared_ptr<std::basic_streambuf<char16_t> >&, const std::shared_ptr<std::basic_streambuf<char16_t> >&,
- RhsArgs&& ...) [with ReturnType = void; RhsArgs = {matlab::data::CharArray&}; std::__cxx11::u16string =
- std::__cxx11::basic_string<char16_t>]’
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:276:29: required from
- ‘ReturnType matlab::engine::MATLABEngine::feval(const u16string&, RhsArgs&& ...) [with ReturnType = void;
- RhsArgs = {matlab::data::CharArray&}; std::__cxx11::u16string = std::__cxx11::basic_string<char16_t>]’
- /home/kameranis/Doctoral/graphtools/osvv/final/readPtn.cpp:68:46: required from here
- /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray/detail/ArrayFactoryHelpers.hpp:81:13: error: no
- type named ‘type’ in ‘struct std::enable_if<false, matlab::data::TypedArray<matlab::data::CharArray> >’
- /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray/ArrayFactory.hpp: In instantiation of
- ‘matlab::data::TypedArray<typename matlab::data::GetReturnType<T>::type>
- matlab::data::ArrayFactory::createArray(matlab::data::ArrayDimensions, std::initializer_list<_Tp>) [with T =
- matlab::data::CharArray; typename matlab::data::GetReturnType<T>::type = matlab::data::CharArray;
- matlab::data::ArrayDimensions = std::vector<long unsigned int>]’:
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:70:66: required from
- ‘matlab::data::Array matlab::engine::detail::createRhs(matlab::data::ArrayFactory&, T&&) [with T =
- matlab::data::CharArray&]’
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:255:26: required from
- ‘ReturnType matlab::engine::MATLABEngine::feval(const u16string&, const
- std::shared_ptr<std::basic_streambuf<char16_t> >&, const std::shared_ptr<std::basic_streambuf<char16_t> >&,
- RhsArgs&& ...) [with ReturnType = void; RhsArgs = {matlab::data::CharArray&}; std::__cxx11::u16string =
- std::__cxx11::basic_string<char16_t>]’
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:276:29: required from
- ‘ReturnType matlab::engine::MATLABEngine::feval(const u16string&, RhsArgs&& ...) [with ReturnType = void;
- RhsArgs = {matlab::data::CharArray&}; std::__cxx11::u16string = std::__cxx11::basic_string<char16_t>]’
- /home/kameranis/Doctoral/graphtools/osvv/final/readPtn.cpp:68:46: required from here
- /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray/detail/ArrayFactoryHelpers.hpp:110:13: note:
- candidate: template<class ItType, class T> typename std::enable_if<std::is_same<T,
- matlab::data::Array>::value, matlab::data::TypedArray<T> >::type
- matlab::data::detail::createArrayWithIterator(matlab::data::impl::ArrayFactoryImpl*,
- matlab::data::ArrayDimensions, ItType, ItType)
- createArrayWithIterator(matlab::data::impl::ArrayFactoryImpl* impl, ArrayDimensions dims, ItType
- begin, ItType end) {
- ^~~~~~~~~~~~~~~~~~~~~~~
- /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray/detail/ArrayFactoryHelpers.hpp:110:13: note:
- template argument deduction/substitution failed:
- /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray/detail/ArrayFactoryHelpers.hpp: In substitution
- of ‘template<class ItType, class T> typename std::enable_if<std::is_same<T, matlab::data::Array>::value,
- matlab::data::TypedArray<T> >::type
- matlab::data::detail::createArrayWithIterator(matlab::data::impl::ArrayFactoryImpl*,
- matlab::data::ArrayDimensions, ItType, ItType) [with ItType = const matlab::data::CharArray*; T =
- matlab::data::CharArray]’:
- /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray/ArrayFactory.hpp:145:47: required from
- ‘matlab::data::TypedArray<typename matlab::data::GetReturnType<T>::type>
- matlab::data::ArrayFactory::createArray(matlab::data::ArrayDimensions, std::initializer_list<_Tp>) [with T =
- matlab::data::CharArray; typename matlab::data::GetReturnType<T>::type = matlab::data::CharArray;
- matlab::data::ArrayDimensions = std::vector<long unsigned int>]’
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:70:66: required from
- ‘matlab::data::Array matlab::engine::detail::createRhs(matlab::data::ArrayFactory&, T&&) [with T =
- matlab::data::CharArray&]’
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:255:26: required from
- ‘ReturnType matlab::engine::MATLABEngine::feval(const u16string&, const
- std::shared_ptr<std::basic_streambuf<char16_t> >&, const std::shared_ptr<std::basic_streambuf<char16_t> >&,
- RhsArgs&& ...) [with ReturnType = void; RhsArgs = {matlab::data::CharArray&}; std::__cxx11::u16string =
- std::__cxx11::basic_string<char16_t>]’
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:276:29: required from
- ‘ReturnType matlab::engine::MATLABEngine::feval(const u16string&, RhsArgs&& ...) [with ReturnType = void;
- RhsArgs = {matlab::data::CharArray&}; std::__cxx11::u16string = std::__cxx11::basic_string<char16_t>]’
- /home/kameranis/Doctoral/graphtools/osvv/final/readPtn.cpp:68:46: required from here
- /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray/detail/ArrayFactoryHelpers.hpp:110:13: error: no
- type named ‘type’ in ‘struct std::enable_if<false, matlab::data::TypedArray<matlab::data::CharArray> >’
- /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray/ArrayFactory.hpp: In instantiation of
- ‘matlab::data::TypedArray<typename matlab::data::GetReturnType<T>::type>
- matlab::data::ArrayFactory::createArray(matlab::data::ArrayDimensions, std::initializer_list<_Tp>) [with T =
- matlab::data::CharArray; typename matlab::data::GetReturnType<T>::type = matlab::data::CharArray;
- matlab::data::ArrayDimensions = std::vector<long unsigned int>]’:
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:70:66: required from
- ‘matlab::data::Array matlab::engine::detail::createRhs(matlab::data::ArrayFactory&, T&&) [with T =
- matlab::data::CharArray&]’
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:255:26: required from
- ‘ReturnType matlab::engine::MATLABEngine::feval(const u16string&, const
- std::shared_ptr<std::basic_streambuf<char16_t> >&, const std::shared_ptr<std::basic_streambuf<char16_t> >&,
- RhsArgs&& ...) [with ReturnType = void; RhsArgs = {matlab::data::CharArray&}; std::__cxx11::u16string =
- std::__cxx11::basic_string<char16_t>]’
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:276:29: required from
- ‘ReturnType matlab::engine::MATLABEngine::feval(const u16string&, RhsArgs&& ...) [with ReturnType = void;
- RhsArgs = {matlab::data::CharArray&}; std::__cxx11::u16string = std::__cxx11::basic_string<char16_t>]’
- /home/kameranis/Doctoral/graphtools/osvv/final/readPtn.cpp:68:46: required from here
- /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray/detail/ArrayFactoryHelpers.hpp:140:13: note:
- candidate: template<class ItType, class T> typename std::enable_if<(std::is_same<T, const char*>::value ||
- std::is_same<T, std::__cxx11::basic_string<char> >::value),
- matlab::data::TypedArray<matlab::data::optional<std::__cxx11::basic_string<char16_t> > > >::type
- matlab::data::detail::createArrayWithIterator(matlab::data::impl::ArrayFactoryImpl*,
- matlab::data::ArrayDimensions, ItType, ItType)
- createArrayWithIterator(matlab::data::impl::ArrayFactoryImpl* impl, ArrayDimensions dims, ItType
- begin, ItType end) {
- ^~~~~~~~~~~~~~~~~~~~~~~
- /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray/detail/ArrayFactoryHelpers.hpp:140:13: note:
- template argument deduction/substitution failed:
- /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray/detail/ArrayFactoryHelpers.hpp: In substitution
- of ‘template<class ItType, class T> typename std::enable_if<(std::is_same<T, const char*>::value ||
- std::is_same<T, std::__cxx11::basic_string<char> >::value),
- matlab::data::TypedArray<matlab::data::optional<std::__cxx11::basic_string<char16_t> > > >::type
- matlab::data::detail::createArrayWithIterator(matlab::data::impl::ArrayFactoryImpl*,
- matlab::data::ArrayDimensions, ItType, ItType) [with ItType = const matlab::data::CharArray*; T =
- matlab::data::CharArray]’:
- /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray/ArrayFactory.hpp:145:47: required from
- ‘matlab::data::TypedArray<typename matlab::data::GetReturnType<T>::type>
- matlab::data::ArrayFactory::createArray(matlab::data::ArrayDimensions, std::initializer_list<_Tp>) [with T =
- matlab::data::CharArray; typename matlab::data::GetReturnType<T>::type = matlab::data::CharArray;
- matlab::data::ArrayDimensions = std::vector<long unsigned int>]’
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:70:66: required from
- ‘matlab::data::Array matlab::engine::detail::createRhs(matlab::data::ArrayFactory&, T&&) [with T =
- matlab::data::CharArray&]’
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:255:26: required from
- ‘ReturnType matlab::engine::MATLABEngine::feval(const u16string&, const
- std::shared_ptr<std::basic_streambuf<char16_t> >&, const std::shared_ptr<std::basic_streambuf<char16_t> >&,
- RhsArgs&& ...) [with ReturnType = void; RhsArgs = {matlab::data::CharArray&}; std::__cxx11::u16string =
- std::__cxx11::basic_string<char16_t>]’
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:276:29: required from
- ‘ReturnType matlab::engine::MATLABEngine::feval(const u16string&, RhsArgs&& ...) [with ReturnType = void;
- RhsArgs = {matlab::data::CharArray&}; std::__cxx11::u16string = std::__cxx11::basic_string<char16_t>]’
- /home/kameranis/Doctoral/graphtools/osvv/final/readPtn.cpp:68:46: required from here
- /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray/detail/ArrayFactoryHelpers.hpp:140:13: error: no
- type named ‘type’ in ‘struct std::enable_if<false,
- matlab::data::TypedArray<matlab::data::optional<std::__cxx11::basic_string<char16_t> > > >’
- /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray/ArrayFactory.hpp: In instantiation of
- ‘matlab::data::TypedArray<typename matlab::data::GetReturnType<T>::type>
- matlab::data::ArrayFactory::createArray(matlab::data::ArrayDimensions, std::initializer_list<_Tp>) [with T =
- matlab::data::CharArray; typename matlab::data::GetReturnType<T>::type = matlab::data::CharArray;
- matlab::data::ArrayDimensions = std::vector<long unsigned int>]’:
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:70:66: required from
- ‘matlab::data::Array matlab::engine::detail::createRhs(matlab::data::ArrayFactory&, T&&) [with T =
- matlab::data::CharArray&]’
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:255:26: required from
- ‘ReturnType matlab::engine::MATLABEngine::feval(const u16string&, const
- std::shared_ptr<std::basic_streambuf<char16_t> >&, const std::shared_ptr<std::basic_streambuf<char16_t> >&,
- RhsArgs&& ...) [with ReturnType = void; RhsArgs = {matlab::data::CharArray&}; std::__cxx11::u16string =
- std::__cxx11::basic_string<char16_t>]’
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:276:29: required from
- ‘ReturnType matlab::engine::MATLABEngine::feval(const u16string&, RhsArgs&& ...) [with ReturnType = void;
- RhsArgs = {matlab::data::CharArray&}; std::__cxx11::u16string = std::__cxx11::basic_string<char16_t>]’
- /home/kameranis/Doctoral/graphtools/osvv/final/readPtn.cpp:68:46: required from here
- /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray/detail/ArrayFactoryHelpers.hpp:174:17: note:
- candidate: template<class ItType, class T> typename std::enable_if<std::is_same<T,
- matlab::data::optional<std::__cxx11::basic_string<char16_t> > >::value,
- matlab::data::TypedArray<matlab::data::optional<std::__cxx11::basic_string<char16_t> > > >::type
- matlab::data::detail::createArrayWithIterator(matlab::data::impl::ArrayFactoryImpl*,
- matlab::data::ArrayDimensions, ItType, ItType)
- createArrayWithIterator(matlab::data::impl::ArrayFactoryImpl* impl, ArrayDimensions dims,
- ItType begin, ItType end) {
- ^~~~~~~~~~~~~~~~~~~~~~~
- /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray/detail/ArrayFactoryHelpers.hpp:174:17: note:
- template argument deduction/substitution failed:
- /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray/detail/ArrayFactoryHelpers.hpp: In substitution
- of ‘template<class ItType, class T> typename std::enable_if<std::is_same<T,
- matlab::data::optional<std::__cxx11::basic_string<char16_t> > >::value,
- matlab::data::TypedArray<matlab::data::optional<std::__cxx11::basic_string<char16_t> > > >::type
- matlab::data::detail::createArrayWithIterator(matlab::data::impl::ArrayFactoryImpl*,
- matlab::data::ArrayDimensions, ItType, ItType) [with ItType = const matlab::data::CharArray*; T =
- matlab::data::CharArray]’:
- /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray/ArrayFactory.hpp:145:47: required from
- ‘matlab::data::TypedArray<typename matlab::data::GetReturnType<T>::type>
- matlab::data::ArrayFactory::createArray(matlab::data::ArrayDimensions, std::initializer_list<_Tp>) [with T =
- matlab::data::CharArray; typename matlab::data::GetReturnType<T>::type = matlab::data::CharArray;
- matlab::data::ArrayDimensions = std::vector<long unsigned int>]’
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:70:66: required from
- ‘matlab::data::Array matlab::engine::detail::createRhs(matlab::data::ArrayFactory&, T&&) [with T =
- matlab::data::CharArray&]’
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:255:26: required from
- ‘ReturnType matlab::engine::MATLABEngine::feval(const u16string&, const
- std::shared_ptr<std::basic_streambuf<char16_t> >&, const std::shared_ptr<std::basic_streambuf<char16_t> >&,
- RhsArgs&& ...) [with ReturnType = void; RhsArgs = {matlab::data::CharArray&}; std::__cxx11::u16string =
- std::__cxx11::basic_string<char16_t>]’
- /home/kameranis/MATLAB/R2020a/extern/include/cppmex/detail/mexApiAdapterImpl.hpp:276:29: required from
- ‘ReturnType matlab::engine::MATLABEngine::feval(const u16string&, RhsArgs&& ...) [with ReturnType = void;
- RhsArgs = {matlab::data::CharArray&}; std::__cxx11::u16string = std::__cxx11::basic_string<char16_t>]’
- /home/kameranis/Doctoral/graphtools/osvv/final/readPtn.cpp:68:46: required from here
- /home/kameranis/MATLAB/R2020a/extern/include/MatlabDataArray/detail/ArrayFactoryHelpers.hpp:174:17: error: no
- type named ‘type’ in ‘struct std::enable_if<false,
- matlab::data::TypedArray<matlab::data::optional<std::__cxx11::basic_string<char16_t> > > >’
Advertisement
Add Comment
Please, Sign In to add comment