-
Notifications
You must be signed in to change notification settings - Fork 38
find_arduino_library simply doesn't work #92
Comments
Edit: Actually, fix for this issue was mentionned by @MrPointer in #55 It is a matter of order But now I get:
Although Wire.h is in /path/arduino-1.8.8/hardware/arduino/avr/libraries/Wire/src/Wire.h So it now looks clear that there is a problem with the find_arduino_library when it comes to something that is not in the libraries subdirectory of the arduino sdk, like for Wire: find_arduino_library(Wire Wire ${board_id} ) I saw an example with this library in the examples: And tried to compile it: |
@gnthibault Hi there - What branch are you using? Is it a release? |
@MrPointer I did used a release the latest I found from the github |
@gnthibault Well that might explain it, as this bug is possibly already solved in the dev branch, which is |
@MrPointer I might be wrong, but I missed the functionality of "find_arduino_library" to add the directories of the header files to the include_directories list. Is it only me who can't use the framework properly, or there is no such functionality? I implemented it on my own. Would it make a sense to create a pull request of it, or it's less needed by others? Thanks, Zsolt |
@ZsoltSaskovy I'm afraid I don't quite understand your precise intention. |
I am trying to compile a slightly modified version of StandardFirmata arduino example sketch for arduino uno
Here is my CMakeLists.txt:
The error is the following:
The text was updated successfully, but these errors were encountered: