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

编译问题 #11

Open
myry07 opened this issue Jan 12, 2025 · 0 comments
Open

编译问题 #11

myry07 opened this issue Jan 12, 2025 · 0 comments

Comments

@myry07
Copy link

myry07 commented Jan 12, 2025

你好 我想问一下这是为什么? In file included from /Users/myry/Documents/Github/MiniLegoTV/MiniLegoTV.ino:51:
/Users/myry/Documents/Github/MiniLegoTV/esp32_audio_task.h:85:59: error: invalid conversion from 'void ()(AACFrameInfo&, int16_t, size_t)' {aka 'void ()(_AACFrameInfo&, short int, unsigned int)'} to 'libhelix::AACDataCallback' {aka 'void ()(_AACFrameInfo&, short int, unsigned int, void*)'} [-fpermissive]
static libhelix::AACDecoderHelix _aac(aacAudioDataCallback);
^
In file included from /Users/myry/Documents/Github/MiniLegoTV/esp32_audio_task.h:3,
from /Users/myry/Documents/Github/MiniLegoTV/MiniLegoTV.ino:51:
/Users/myry/Documents/Arduino/libraries/libhelix/src/AACDecoderHelix.h:32:35: note: initializing argument 1 of 'libhelix::AACDecoderHelix::AACDecoderHelix(libhelix::AACDataCallback)'
AACDecoderHelix(AACDataCallback dataCallback) {
~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /Users/myry/Documents/Github/MiniLegoTV/MiniLegoTV.ino:51:
/Users/myry/Documents/Github/MiniLegoTV/esp32_audio_task.h:111:59: error: invalid conversion from 'void ()(MP3FrameInfo&, int16_t, size_t)' {aka 'void ()(_MP3FrameInfo&, short int, unsigned int)'} to 'libhelix::MP3DataCallback' {aka 'void ()(_MP3FrameInfo&, short int, unsigned int, void*)'} [-fpermissive]
static libhelix::MP3DecoderHelix _mp3(mp3AudioDataCallback);
^
In file included from /Users/myry/Documents/Github/MiniLegoTV/esp32_audio_task.h:4,
from /Users/myry/Documents/Github/MiniLegoTV/MiniLegoTV.ino:51:
/Users/myry/Documents/Arduino/libraries/libhelix/src/MP3DecoderHelix.h:37:35: note: initializing argument 1 of 'libhelix::MP3DecoderHelix::MP3DecoderHelix(libhelix::MP3DataCallback, libhelix::MP3Type)'
MP3DecoderHelix(MP3DataCallback dataCallback, MP3Type mp3Type = MP3Normal) {
~~~~~~~~~~~~~~~~^~~~~~~~~~~~
Multiple libraries were found for "WiFi.h"
Used: /Users/myry/Library/Arduino15/packages/esp32/hardware/esp32/2.0.13/libraries/WiFi
Not used: /Users/myry/Documents/Arduino/libraries/WiFiEspAT
Multiple libraries were found for "SD.h"
Used: /Users/myry/Library/Arduino15/packages/esp32/hardware/esp32/2.0.13/libraries/SD
Not used: /Users/myry/Library/Arduino15/libraries/SD
Not used: /Users/myry/Documents/Arduino/libraries/SD
Multiple libraries were found for "Preferences.h"
Used: /Users/myry/Library/Arduino15/packages/esp32/hardware/esp32/2.0.13/libraries/Preferences
Not used: /Users/myry/Documents/Arduino/libraries/Preferences
exit status 1

Compilation error: invalid conversion from 'void ()(AACFrameInfo&, int16_t, size_t)' {aka 'void ()(_AACFrameInfo&, short int, unsigned int)'} to 'libhelix::AACDataCallback' {aka 'void ()(_AACFrameInfo&, short int, unsigned int, void*)'} [-fpermissive]

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

1 participant