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

LightButton compile for Rack 2.4.1 #203

Open
jackokring opened this issue Sep 15, 2023 · 0 comments
Open

LightButton compile for Rack 2.4.1 #203

jackokring opened this issue Sep 15, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@jackokring
Copy link

Due to the SDK now having LightButton the following kind of thing occurs.

src/EO1.cpp:436:2: error: reference to ‘LightButton’ is ambiguous
  436 |  LightButton *paramRun;
      |  ^~~~~~~~~~~
In file included from ../../include/rack.hpp:36,
                 from src/SubmarineFree.hpp:1,
                 from src/EO1.cpp:5:
../../include/componentlibrary.hpp:890:8: note: candidates are: ‘template<class TBase, class TLight> struct rack::componentlibrary::LightButton’
  890 | struct LightButton : TBase {
      |        ^~~~~~~~~~~
In file included from src/SubmarineFree.hpp:122,
                 from src/EO1.cpp:5:
src/shared/components.hpp:96:8: note:                 ‘struct LightButton’
   96 | struct LightButton : app::Switch {
      |        ^~~~~~~~~~~

This results in a make error.

@david-c14 david-c14 added the bug Something isn't working label Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants