You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to use the FastLED library, which happens to have a 'wiring.c' file.
Because your Makefile compiles all source files into the same directory, this overwrites the 'wiring.cpp' output from arduino core, thus leading to a linker error.
That would fix it my particular issue, but if you had different libraries that had the same source filename, that wouldn't work for them. So it would only be a partial fix for the more general problem.
It's not that big a deal for me, as the other Arduino makefile project I linked seems to work just fine so I'll probably just continue using that. I just thought I would report the bug just in case.
The makefile will copy over the library files with the appended name, so this will fix the naming issue for any case where the *.ino file name maches the library.
I'll try to get the fix up later today or tomorrow.
I was trying to use the FastLED library, which happens to have a 'wiring.c' file.
Because your Makefile compiles all source files into the same directory, this overwrites the 'wiring.cpp' output from arduino core, thus leading to a linker error.
I've been using https://github.com/arons/ArduinoDevel/ in the mean time as a workaround.
The text was updated successfully, but these errors were encountered: