microros librart not include properly
Hi everyone,
I'll start by saying I'm just starting to use STM32cubeIDE. I'm having trouble configuring the microros configuration in my project involving an STM32F767zi board.
Specifically, I managed to include everything I needed, and now when I compile, the result is as follows:
make -j8 all
docker pull microros/micro_ros_static_library_builder:jazzy && docker run --rm -v /home/guglielmo/PROJECTS/provamicroros:/project --env MICROROS_LIBRARY_FOLDER=micro_ros_stm32cubemx_utils/microros_static_library_ide microros/micro_ros_static_library_builder:jazzy
jazzy: Pulling from microros/micro_ros_static_library_builder
Digest: sha256:1482f3df56184ecc5d4a9d45ad9be0a17a84a91fca947d07f20d1678b23f6243
Status: Image is up to date for microros/micro_ros_static_library_builder:jazzy
docker.io/microros/micro_ros_static_library_builder:jazzy
dos2unix: converting file /project/micro_ros_stm32cubemx_utils/microros_static_library_ide/library_generation/library_generation.sh to Unix format...
micro-ROS library found. Skipping...
Delete micro_ros_stm32cubemx_utils/microros_static_library_ide/libmicroros/ for rebuild.
arm-none-eabi-gcc -o "provamicroros.elf" @"objects.list" -lmicroros -mcpu=cortex-m7 -T"/home/guglielmo/PROJECTS/provamicroros/STM32F767ZITX_FLASH.ld" --specs=nosys.specs -Wl,-Map="provamicroros.map" -Wl,--gc-sections -static -L/home/guglielmo/PROJECTS/provamicroros/micro_ros_stm32cubemx_utils/microros_static_library_ide/libmicroros/include --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
/home/guglielmo/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.linux64_1.1.0.202410170702/tools/bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/bin/ld: cannot find -lmicroros: No such file or directory
collect2: error: ld returned 1 exit status
make[1]: *** [makefile:66: provamicroros.elf] Error 1
make: *** [makefile:59: all] Error 2
"make -j8 all" terminated with exit code 2. Build might be incomplete.
Can you help me or tell me if there's already a post like this I can consult?
