Skip to content

Unable to Build #5

Description

@johncharris

I just installed Platform IO on my Windows 11 system to run this. When I compile, I get the following errors. I'm not very proficient in C++ so I have no idea what's going on. How can I get this to compile?

limero\inc/limero.h:723:29: error: 'OUT' was not declared in this scope
   Filter(std::function<bool(OUT &, const IN &)> func) : _func(func){};
                             ^
limero\inc/limero.h:723:47: error: template argument 1 is invalid
   Filter(std::function<bool(OUT &, const IN &)> func) : _func(func){};
                                               ^
limero\inc/limero.h:724:34: error: 'OUT' was not declared in this scope
   void lambda(std::function<bool(OUT &, const IN &)> func) { _func = func; }
                                  ^
limero\inc/limero.h:724:52: error: template argument 1 is invalid
   void lambda(std::function<bool(OUT &, const IN &)> func) { _func = func; }
                                                    ^
limero\inc/limero.h:724:34: error: 'OUT' was not declared in this scope
   void lambda(std::function<bool(OUT &, const IN &)> func) { _func = func; }
                                  ^
limero\inc/limero.h:724:52: error: template argument 1 is invalid
   void lambda(std::function<bool(OUT &, const IN &)> func) { _func = func; }
                                                    ^
limero\inc/limero.h:724:34: error: 'OUT' was not declared in this scope
   void lambda(std::function<bool(OUT &, const IN &)> func) { _func = func; }
                                  ^
limero\inc/limero.h:724:52: error: template argument 1 is invalid
   void lambda(std::function<bool(OUT &, const IN &)> func) { _func = func; }
                                                    ^
limero\inc/limero.h:724:34: error: 'OUT' was not declared in this scope
   void lambda(std::function<bool(OUT &, const IN &)> func) { _func = func; }
                                  ^
limero\inc/limero.h:724:52: error: template argument 1 is invalid
   void lambda(std::function<bool(OUT &, const IN &)> func) { _func = func; }
                                                    ^
limero\inc/limero.h:724:34: error: 'OUT' was not declared in this scope
   void lambda(std::function<bool(OUT &, const IN &)> func) { _func = func; }
                                  ^
limero\inc/limero.h:724:52: error: template argument 1 is invalid
   void lambda(std::function<bool(OUT &, const IN &)> func) { _func = func; }
                                                    ^
limero\inc/limero.h:724:20: error: 'std::function' is not a type
   void lambda(std::function<bool(OUT &, const IN &)> func) { _func = func; }
                    ^
limero\inc/limero.h:724:28: error: expected ',' or '...' before '<' token
   void lambda(std::function<bool(OUT &, const IN &)> func) { _func = func; }
                            ^
limero\inc/limero.h:725:25: error: 'IN' does not name a type
   virtual void on(const IN &in) {
                         ^
limero\inc/limero.h: In member function 'void Filter<T>::lambda(int)':
limero\inc/limero.h:724:70: error: 'func' was not declared in this scope
   void lambda(std::function<bool(OUT &, const IN &)> func) { _func = func; }
                                                                      ^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions