scottdraves / electricsheep

infinite evolving crowdsourced artwork
http://electricsheep.org
553 stars 70 forks source link

Fails to build against boost-1.81.0 #115

Open Schievel1 opened 1 year ago

Schievel1 commented 1 year ago

Error is:

In file included from /usr/include/boost/filesystem/path.hpp:21,
                 from /usr/include/boost/filesystem.hpp:16,
                 from electricsheepguiMyDialog2.cpp:204:
/usr/include/boost/filesystem/detail/path_traits.hpp: In instantiation of ‘constexpr const bool boost::filesystem::detail::path_traits::is_convertible_to_path_source<wxString>::value’:
/usr/include/boost/type_traits/conjunction.hpp:31:27:   required from ‘struct boost::conjunction<boost::disjunction<boost::filesystem::detail::path_traits::is_path_source<wxString>, boost::filesystem::detail::path_traits::is_convertible_to_path_source<wxString> >, boost::negation<boost::filesystem::detail::path_traits::is_native_path_source<wxString> > >’
/usr/include/boost/filesystem/path.hpp:256:9:   required by substitution of ‘template<class Source, class> boost::filesystem::path::path(const Source&) [with Source = wxString; <template-parameter-1-2> = <missing>]’
electricsheepguiMyDialog2.cpp:209:49:   required from here
/usr/include/boost/filesystem/detail/path_traits.hpp:495:85: error: call of overloaded ‘_check_convertible_to_path_source(const wxString&)’ is ambiguous
  495 |         sizeof(is_convertible_to_path_source< T >::_check_convertible_to_path_source(boost::declval< T const& >())) == sizeof(yes_type);
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Here is the full build log: http://ix.io/4uqf

Rogach commented 10 months ago

I'm trying to maintain a branch that fixes these errors here: https://github.com/Rogach/electricsheep/tree/fix-ffmpeg5