Skip to content
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

Error When Compiling with Teensyduino 1.58+ #1378

Closed
jtcass01 opened this issue Apr 20, 2023 · 6 comments
Closed

Error When Compiling with Teensyduino 1.58+ #1378

jtcass01 opened this issue Apr 20, 2023 · 6 comments
Assignees

Comments

@jtcass01
Copy link

  • Hardware description: Teensy 4.1 and Teensyduino 1.58.0
  • Installation type: micro_ros_setup
  • Version or commit hash: Galactic, e7bd525

Steps to reproduce the issue

Expected behavior

  • successful compilation

Actual behavior

MicrosoftTeams-image (9)

Additional information

The above image is from Arduino 1.8.19. I had the same error for 2.0.4. I was able to successfully compile when using Teensyduino 1.57.2. This seems like a problem specific to Teensyduino 1.58+.

@jtcass01 jtcass01 changed the title Error When Compiling Teensyduino 1.58+ Error When Compiling with Teensyduino 1.58+ Apr 20, 2023
@Acuadros95 Acuadros95 self-assigned this Apr 20, 2023
@CaseyGymnast
Copy link

Subscribing for future updates: I'm dealing with the same issue on a Teensy 3.2. I'm linking another issue thread on PJRC's website that I've been updating as I try to figure it out. Best of luck.

@jtcass01
Copy link
Author

jtcass01 commented Jul 27, 2023

@CaseyGymnast I solved this by using Arduino 2.0.4, Teensyduino 1.57.2, and micro ROS Galactic v2.0.4. In arduino 2, you can choose older teensyduino versions.

@Acuadros95
Copy link
Contributor

Hi guys,

We have just updated the repository to support Teensyduino 1.58.x, deprecating the 1.57.2 support.
Please take a look to the latest commits and try them out, will add a release with the update once the feedback is positive.

@jtcass01
Copy link
Author

@Acuadros95 that is great to hear! I will verify next week and let you know. Thank you!

@Russ76
Copy link

Russ76 commented Aug 2, 2023

Yes, I'm having issues with Teensy 4.0 and Arduino IDE 2.1.1
It won't upload the precompiled libraries.

@Russ76
Copy link

Russ76 commented Aug 2, 2023

WARNING: library micro_ros_arduino claims to run on stm32, OpenCR, Teensyduino, samd, sam, mbed, esp32, mbed_portenta architecture(s) and may be incompatible with your current board which runs on avr architecture(s).
Library micro_ros_arduino has been declared precompiled:
Using precompiled library in /home/russ/Arduino/libraries/micro_ros_arduino/src/imxrt1062/fpv5-d16-hard
/home/russ/.arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld: /home/russ/Arduino/libraries/micro_ros_arduino/src/imxrt1062/fpv5-d16-hard/libmicroros.a(librmw-validate_full_topic_name.c.obj): in function rmw_validate_full_topic_name': validate_full_topic_name.c:(.text.rmw_validate_full_topic_name+0xbe): undefined reference to __locale_ctype_ptr'
/home/russ/.arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld: /home/russ/Arduino/libraries/micro_ros_arduino/src/imxrt1062/fpv5-d16-hard/libmicroros.a(librmw-validate_node_name.c.obj): in function rmw_validate_node_name': validate_node_name.c:(.text.rmw_validate_node_name+0x5e): undefined reference to __locale_ctype_ptr'
/home/russ/.arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld: /home/russ/Arduino/libraries/micro_ros_arduino/src/imxrt1062/fpv5-d16-hard/libmicroros.a(librcl-validate_topic_name.c.obj): in function rcl_validate_topic_name': validate_topic_name.c:(.text.rcl_validate_topic_name+0x46): undefined reference to __locale_ctype_ptr'
/home/russ/.arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld: validate_topic_name.c:(.text.rcl_validate_topic_name+0xb6): undefined reference to __locale_ctype_ptr' /home/russ/.arduino15/packages/teensy/tools/teensy-compile/11.3.1/arm/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld: validate_topic_name.c:(.text.rcl_validate_topic_name+0x164): undefined reference to __locale_ctype_ptr'
collect2: error: ld returned 1 exit status

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants