Skip to content

undefined reference with multiple names .ccp file in different folders #34

Closed
@NicoHood

Description

@NicoHood

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):

Arduino/sketchbook/libraries/HID-Project/src/MultiReport/../HID-APIs/GamepadAPI.hpp:38: undefined reference to `Gamepad'
[more of them...}

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: supportOT: Request for help using the project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions