-
-
Notifications
You must be signed in to change notification settings - Fork 114
undefined reference with multiple names .ccp file in different folders #34
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
Comments
Weird, I thought we fixed this by keeping the library directory structure intact, but perhaps this wasn't copied over to the arduino-builder code? Could you post a full verbose compilation output? I suspect that this is a limitation of |
@NicoHood can you pls provide full debug output? |
I could not reproduce this anymore. The commit above does not work with the new Arduino API. |
Leaving it open then. If if happens to find a way to reproduce it, let us know |
AFAIK it was never reproduced, reopen if needed |
There we go! Found a "better" bug finally :)
If you have a library structure like this:
/src/folderA/file.cpp
/src/folderB/file.cpp
You will get compile errors, even if the .cpp file (with the same name) just exists (empty):
Commit can be found here:
NicoHood/HID@6d6c7d3
This PR is required to build the Gamepad example without (other) compile errors:
arduino/Arduino#3948
So it looks like the builder does not differentiate between folders.
The text was updated successfully, but these errors were encountered: