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

LipSync now cannot be compiled #76

Open
yoshipon opened this issue May 23, 2022 · 2 comments
Open

LipSync now cannot be compiled #76

yoshipon opened this issue May 23, 2022 · 2 comments

Comments

@yoshipon
Copy link

Describe the bug
Due to the recent change to use M5Unified, the library cannot be compiled with lipSync because it uses M5Core2.

To Reproduce
Compile the programs with lipSync for M5Stack Core2.

m5avatar::Avatar avt;

void setup() {
  ...
  avt.init();
  avt.addTask(m5avatar::lipSync, "lipSync");
}

Logs

In file included from C:\Users\xxx\m5stack-avatar\src/tasks/LipSync.h:10,
                 from C:\Users\yyy\stack_chan_ros\firmware\firmware.ino:9:
C:\Users\xxx\arduino_409486\src/M5Core2.h:138:20: error: conflicting declaration 'M5Core2 M5'
     extern M5Core2 M5;
                    ^~
In file included from C:\Users\yyy\stack_chan_ros\firmware\firmware.ino:1:
C:\Users\xxx\arduino_708812\src/M5Unified.hpp:243:22: note: previous declaration as 'm5::M5Unified M5'
 extern m5::M5Unified M5;
@mongonta0716
Copy link
Sponsor Collaborator

Hi, Thanks for your issue.
This is an omission that was corrected when the library was changed to M5Unified.

Please incorporate the following modifications until the pull request is applied.
#77

@yoshipon
Copy link
Author

Thanks for your super fast correction!!

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