-
Notifications
You must be signed in to change notification settings - Fork 119
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
micro-ros_subscriber_twist example Arduino .ino project fails to compile #684
Comments
Can you check which platform.txt are your board using? For sure it is a matter of modifying this file because this patching process is just to handle Could you identify which file should be modified so we can update the README.md? This link can provide some tips. CC: @lukicdarkoo was the original contributor of the Arduino DUE port, maybe he can provide some help |
Thanks for the help. Here is what the platforms.txt I'm using looks like. Please let me know if you have any suggestions on what I might try.
|
It looks related to: |
I see, looks like I can incorporate the changes seen here into my platform.txt file. Am I understanding correctly? EDIT/UPDATE: It appears I already have that code in platform.txt. Anyone have any good ideas on how to solve this? |
Ok, so I was installing the platforms.txt file in the wrong place on my Mac. For anyone who has this issue in the future, on my Mac, I had to put the modified file here: This made this warning, "The platform does not support 'compiler.libraries.ldflags' for precompiled libraries." go away. However, I still can't compile. I have these errors like from the original post:
|
I tried one last thing. I deleted my micro_ros_arduino library and re-installed from master here. Then I opened the original example and it compiled! YAY! Thank you for the help everyone. I'm closing this. |
Issue template
Steps to reproduce the issue
Install micro_ros_arduino-2.0.2-galactic into Arduino 1.8.19 IDE's libraries directory.
Go to File > Examples > micro_ros_arduino > micro-ros_subscriber_twist
Try to compile the project.
Expected behavior
Compilation finishes successfully.
Actual behavior
I see this in the log:
Arduino: 1.8.19 (Mac OS X), Board: "Arduino Due (Programming Port)"
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Additional information
I have run installed the SAMD platforms.txt file. I have also tried this using Arduino IDE on Linux Ubuntu 20.04 where I see the same error message.
Thanks for any help or insight you can provide!
The text was updated successfully, but these errors were encountered: