Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Build #5

Open
johncharris opened this issue Jan 1, 2022 · 1 comment
Open

Unable to Build #5

johncharris opened this issue Jan 1, 2022 · 1 comment

Comments

@johncharris
Copy link

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; }
                                                                      ^
@vortex314
Copy link
Owner

Hi, I will have a look later. Which directory did you try to compile ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants