You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I decided to compile a native Apple Silicon binary by myself but the problem arose. If the compilation is successful, quite a few people will be interested in such a binary.
In file included from /Users/leomaxwell/Desktop/Aegisub/src/command/video.cpp:1:
In file included from /Users/leomaxwell/Desktop/Aegisub/src/agi_pre.h:100:
In file included from /usr/local/include/boost/filesystem/path.hpp:21:
/usr/local/include/boost/filesystem/detail/path_traits.hpp:498:16: error: call to '_check_convertible_to_path_source' is ambiguous
sizeof(is_convertible_to_path_source< T >::_check_convertible_to_path_source(boost::declval< T const& >())) == sizeof(yes_type);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/type_traits/disjunction.hpp:27:7: note: in instantiation of template class 'boost::filesystem::detail::path_traits::is_convertible_to_path_source<wxCStrData>' requested here
: T { };
^
/usr/local/include/boost/type_traits/disjunction.hpp:31:7: note: in instantiation of template class 'boost::disjunction<boost::filesystem::detail::path_traits::is_convertible_to_path_source<wxCStrData>>' requested here
: conditional<bool(T::value), T, disjunction<U...> >::type { };
^
/usr/local/include/boost/filesystem/path.hpp:523:16: note: in instantiation of template class 'boost::disjunction<boost::filesystem::detail::path_traits::is_path_source<wxCStrData>, boost::filesystem::detail::path_traits::is_convertible_to_path_source<wxCStrData>>' requested here
boost::disjunction<
^
/Users/leomaxwell/Desktop/Aegisub/src/command/video.cpp:478:13: note: while substituting deduced template arguments into function template 'operator=' [with Source = wxCStrData]
basepath = wxGetHomeDir().c_str();
^
/usr/local/include/boost/filesystem/detail/path_traits.hpp:480:21: note: candidate function
static yes_type _check_convertible_to_path_source(const char*);
^
/usr/local/include/boost/filesystem/detail/path_traits.hpp:481:21: note: candidate function
static yes_type _check_convertible_to_path_source(const wchar_t*);
^
In file included from /Users/leomaxwell/Desktop/Aegisub/src/command/video.cpp:1:
In file included from /Users/leomaxwell/Desktop/Aegisub/src/agi_pre.h:100:
/usr/local/include/boost/filesystem/path.hpp:530:16: error: no matching member function for call to 'assign'
return assign(source);
^~~~~~
/Users/leomaxwell/Desktop/Aegisub/src/command/video.cpp:478:13: note: in instantiation of function template specialization 'boost::filesystem::path::operator=<wxCStrData>' requested here
basepath = wxGetHomeDir().c_str();
^
/usr/local/include/boost/filesystem/path.hpp:407:11: note: candidate function not viable: no known conversion from 'const wxCStrData' to 'boost::filesystem::path' for 1st argument
path& assign(path&& p) BOOST_NOEXCEPT
^
/usr/local/include/boost/filesystem/path.hpp:429:11: note: candidate function not viable: no known conversion from 'const wxCStrData' to 'boost::filesystem::path::string_type' (aka 'basic_string<char>') for 1st argument
path& assign(string_type&& p) BOOST_NOEXCEPT
^
/usr/local/include/boost/filesystem/path.hpp:533:11: note: candidate function not viable: no known conversion from 'const wxCStrData' to 'const boost::filesystem::path' for 1st argument
path& assign(path const& p)
^
/usr/local/include/boost/filesystem/path.hpp:543:13: note: candidate template ignored: substitution failure [with Source = wxCStrData]: no type named 'type' in 'boost::enable_if_c<false, boost::filesystem::path &>'
>::type assign(Source const& source)
~~~~ ^
/usr/local/include/boost/filesystem/path.hpp:556:13: note: candidate template ignored: substitution failure [with Source = wxCStrData]
>::type assign(Source const& source)
^
/usr/local/include/boost/filesystem/path.hpp:604:13: note: candidate function template not viable: requires 2 arguments, but 1 was provided
>::type assign(InputIterator begin, InputIterator end)
^
/usr/local/include/boost/filesystem/path.hpp:591:11: note: candidate function not viable: requires 2 arguments, but 1 was provided
path& assign(const value_type* begin, const value_type* end)
^
/usr/local/include/boost/filesystem/path.hpp:585:13: note: candidate function template not viable: requires 2 arguments, but 1 was provided
>::type assign(Source const& source, codecvt_type const& cvt)
^
/usr/local/include/boost/filesystem/path.hpp:572:13: note: candidate function template not viable: requires 2 arguments, but 1 was provided
>::type assign(Source const& source, codecvt_type const& cvt)
^
/usr/local/include/boost/filesystem/path.hpp:562:11: note: candidate function not viable: requires 2 arguments, but 1 was provided
path& assign(path const& p, codecvt_type const&)
^
/usr/local/include/boost/filesystem/path.hpp:434:11: note: candidate function not viable: requires 2 arguments, but 1 was provided
path& assign(string_type&& p, codecvt_type const&) BOOST_NOEXCEPT
^
/usr/local/include/boost/filesystem/path.hpp:412:11: note: candidate function not viable: requires 2 arguments, but 1 was provided
path& assign(path&& p, codecvt_type const&) BOOST_NOEXCEPT
^
/usr/local/include/boost/filesystem/path.hpp:633:13: note: candidate function template not viable: requires 3 arguments, but 1 was provided
>::type assign(InputIterator begin, InputIterator end, codecvt_type const& cvt)
^
/usr/local/include/boost/filesystem/path.hpp:620:11: note: candidate function not viable: requires 3 arguments, but 1 was provided
path& assign(const value_type* begin, const value_type* end, codecvt_type const&)
^
2 errors generated.
make[1]: *** [/Users/leomaxwell/Desktop/Aegisub/src/command/video.o] Error 1
make: *** [osx-bundle] Error 2
The text was updated successfully, but these errors were encountered:
I decided to compile a native Apple Silicon binary by myself but the problem arose. If the compilation is successful, quite a few people will be interested in such a binary.
The text was updated successfully, but these errors were encountered: