electricsheep icon indicating copy to clipboard operation
electricsheep copied to clipboard

Fails to build against boost-1.81.0

Open Schievel1 opened this issue 1 year ago • 1 comments

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

Schievel1 avatar Apr 27 '23 22:04 Schievel1

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

Rogach avatar Nov 14 '23 03:11 Rogach