Closed LieBtrau closed 11 years ago
Hi, I think you have the current stable version, which has a bug... Could you try to use Arduino-CMake from here (the develop branch) https://github.com/queezythegreat/arduino-cmake/tree/develop and see if the problem still exists. I think that should solve your problem.
Actually, I have just merged in the latest changes from the develop branch into master, so just re-update your checkout of Arduino-CMake.
Lovely. It works!
This is the output of the build process:
My "Wire.h" file is located on "/usr/share/arduino/libraries/Wire". I think I have to add the path to the Wire.h file somewhere. I have no experience with CMake, so I don't know where and how to do it.
When I remove the "wire_example" build in CMakeLists.txt in the "example" directory, then all other builds run correctly. Uploading code to the Arduino also works and gives the expected results.