Hi all, this is my first post so my apologies if I make a mistake.
I've installed Slackware current for the first time and I'm trying to build filezilla from the 14.2 slackbuilds site.
The dependencies I see are the following:
libfilezilla 0.16.0
wxGTK3 3.0.5
The filezilla version is 3.42.1, wxGTK3 built OK but there is an error while building libfilezilla:
Code:
In file included from libfilezilla/event_loop.hpp:4,
from libfilezilla/event_handler.hpp:4,
from event_handler.cpp:1:
libfilezilla/apply.hpp:21:38: error: ‘size_t’ has not been declared
21 | template<typename F, typename Tuple, size_t... I>
| ^~~~~~
libfilezilla/apply.hpp:22:51: error: ‘I’ was not declared in this scope
22 | auto apply_(F&& f, Tuple&& t, std::index_sequence<I...> const&) -> decltype(std::forward<F>(f)(std::get<I>(std::forward<Tuple>(t))...))
| ^
libfilezilla/apply.hpp:22:52: error: expected parameter pack before ‘...’
22 | auto apply_(F&& f, Tuple&& t, std::index_sequence<I...> const&) -> decltype(std::forward<F>(f)(std::get<I>(std::forward<Tuple>(t))...))
| ^~~
libfilezilla/apply.hpp:22:55: error: template argument 1 is invalid
22 | auto apply_(F&& f, Tuple&& t, std::index_sequence<I...> const&) -> decltype(std::forward<F>(f)(std::get<I>(std::forward<Tuple>(t))...))
|
libfilezilla/apply.hpp:22:105: error: ‘I’ was not declared in this scope
22 | pply_(F&& f, Tuple&& t, std::index_sequence<I...> const&) -> decltype(std::forward<F>(f)(std::get<I>(std::forward<Tuple>(t))...))
|
In file included from libfilezilla/event_loop.hpp:4,
from libfilezilla/event_handler.hpp:4,
from event_handler.cpp:1:
libfilezilla/apply.hpp:22:131: error: expansion pattern ‘get<<expression error> >(forward<Tuple>(t))’ contains no parameter packs
22 | t, std::index_sequence<I...> const&) -> decltype(std::forward<F>(f)(std::get<I>(std::forward<Tuple>(t))...))
|
libfilezilla/apply.hpp:22:131: error: expansion pattern ‘get<<expression error> >(forward<Tuple>(t))’ contains no parameter packs
libfilezilla/apply.hpp: In function ‘decltype (forward<F>(f)(<expression error>)) fz::apply_(F&&, Tuple&&, const int&’:
libfilezilla/apply.hpp:24:37: error: ‘I’ was not declared in this scope
24 | return std::forward<F>(f)(std::get<I>(std::forward<Tuple>(t))...);
| ^
libfilezilla/apply.hpp:24:63: error: expansion pattern ‘get<<expression error> >(forward<Tuple>(t))’ contains no parameter packs
24 | return std::forward<F>(f)(std::get<I>(std::forward<Tuple>(t))...);
| ^~~
libfilezilla/apply.hpp: At global scope:
libfilezilla/apply.hpp:51:52: error: ‘size_t’ has not been declared
51 | template<typename Obj, typename F, typename Tuple, size_t... I>
|
libfilezilla/apply.hpp:52:62: error: ‘I’ was not declared in this scope
52 | auto apply_(Obj&& obj, F&& f, Tuple&& t, std::index_sequence<I...> const&) -> decltype((std::forward<Obj>(obj)->*std::forward<F>(f))(std::get<I>(std::forward<Tuple>(t))...))
| ^
libfilezilla/apply.hpp:52:63: error: expected parameter pack before ‘...’
52 | auto apply_(Obj&& obj, F&& f, Tuple&& t, std::index_sequence<I...> const&) -> decltype((std::forward<Obj>(obj)->*std::forward<F>(f))(std::get<I>(std::forward<Tuple>(t))...))
| ^~~
libfilezilla/apply.hpp:52:66: error: template argument 1 is invalid
52 | auto apply_(Obj&& obj, F&& f, Tuple&& t, std::index_sequence<I...> const&) -> decltype((std::forward<Obj>(obj)->*std::forward<F>(f))(std::get<I>(std::forward<Tuple>(t))...))
| ^
libfilezilla/apply.hpp:52:143: error: ‘I’ was not declared in this scope
52 | ::index_sequence<I...> const&) -> decltype((std::forward<Obj>(obj)->*std::forward<F>(f))(std::get<I>(std::forward<Tuple>(t))...))
|
libfilezilla/apply.hpp:52:169: error: expansion pattern ‘get<<expression error> >(forward<Tuple>(t))’ contains no parameter packs
52 | .> const&) -> decltype((std::forward<Obj>(obj)->*std::forward<F>(f))(std::get<I>(std::forward<Tuple>(t))...))
|
libfilezilla/apply.hpp:52:169: error: expansion pattern ‘get<<expression error> >(forward<Tuple>(t))’ contains no parameter packs
libfilezilla/apply.hpp: In function ‘decltype ((forward<Obj>)(obj)->*(forward<F>)(f)(<expression error>)) fz::apply_(Obj&&, F&&, Tuple&&, const int&)’:
libfilezilla/apply.hpp:54:64: error: ‘I’ was not declared in this scope
54 | return (std::forward<Obj>(obj)->*std::forward<F>(f))(std::get<I>(std::forward<Tuple>(t))...);
| ^
libfilezilla/apply.hpp:54:90: error: expansion pattern ‘get<<expression error> >(forward<Tuple>(t))’ contains no parameter packs
54 | return (std::forward<Obj>(obj)->*std::forward<F>(f))(std::get<I>(std::forward<Tuple>(t))...);
| ^~~
make[1]: *** [Makefile:635: libfilezilla_la-event_handler.lo] Error 1
make[1]: Leaving directory '/tmp/SBo/libfilezilla-0.16.0/lib'
make: *** [Makefile:464: all-recursive] Error 1
I looked around and found this
post and this
post however they seem to have been able to build libfilezilla and had issues with filezilla itself.
I tried building libfilezilla 0.17.0 but got a simillar error, so I stopped there.
Not sure if I may have missed anything obvious, but any help is greatly appreciated