micro-ROS / micro-ROS/micro_ros_stm32cubemx_utils

lib microros cannot be found

Open
#140 17 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
275
Forks
100
PR merge metrics
No merged PRs in 30d

Description

Hi I'm working on Windows 11 with STM32CubeIde and I have a problem while building that is the following:
`C:/ST/STM32CubeIDE_1.14.1/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.11.3.rel1.win32_1.1.100.202309141235/tools/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: cannot find -lmicroros: No such file or directory
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:69: micro_ros.elf] Error 1
"make -j20 all" terminated with exit code 2. Build might be incomplete.`
I think this is related to the step 4. I double checked the path to see if it was correct and it seems right.

Contributor guide

Open the contributing guide

Research direction

Start with the STM32CubeIDE build output and makefile target at line 69, then inspect the step 4 configuration and the reported linker search path. Reproduce the Windows 11 build and identify why -lmicroros is not found; done means the project links successfully and produces micro_ros.elf.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.