Skip to content

C++ linking error: ... AudioFFTNotesAudio ... first defined here #1114

Answered by pschatzmann
MauiKano asked this question in Q&A
Discussion options

You must be logged in to vote

I did not test all the optional classes to support multiple compilation units, after all an Arduino sketch consists usually of just one single sketch file

So I suggest that you clone the project and after doing and testing the corrections, submit a pull request, so that others can profit from it as well.

Correcting this is easy: just change
MusicalNotes AudioFFTNotes;
to
static MusicalNotes AudioFFTNotes;
in AudioFFT.h

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by pschatzmann
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants