Include paths does not change on compile [message #1869036] |
Tue, 30 July 2024 09:28 |
Stefano Mora Messages: 1 Registered: July 2024 |
Junior Member |
|
|
Hi all,
I'm working on Eclipse:
Eclipse IDE for Embedded C/C++ Developers (includes Incubating components)
Version: 2024-06 (4.32.0)
Build id: 20240606-1231
and I'm developing a GCC ARM project.
If I change the C++ Compiler Include paths (adding or removing folder) happens the following: let's say I add a folder (for -I option).
- if i select 'GNU Arm Cross C Compiler' item i see the generated part-of command line (All options):
-I"C:\Progetti\dbTechnologies\testSTM32\testSTM32_CMSIS_RTOS_FreeRTOS\src\CMSIS-FreeRTOS\Source\include" -std=gnu11
That's correct, that's my selection..
- Press 'Apply and Close'
- Right clic on project and 'Build Project' command
- In the console window I see the complete command line string that is:
Building file: ../src/CMSIS-FreeRTOS/Source/portable/Gcc/ARM_CA7/port.c
Invoking: GNU Arm Cross C Compiler
arm-none-eabi-gcc -mcpu=cortex-a7 -mthumb -O2 -g -I"C:\Progetti\dbTechnologies\testSTM32\testSTM32_CMSIS_RTOS2\Drivers\CMSIS\RTOS2\Include" -std=gnu11 -MMD -MP -MF"src/CMSIS-FreeRTOS/Source/portable/Gcc/ARM_CA7/port.d" -MT"src/CMSIS-FreeRTOS/Source/portable/Gcc/ARM_CA7/port.o" -c -o "src/CMSIS-FreeRTOS/Source/portable/Gcc/ARM_CA7/port.o" "../src/CMSIS-FreeRTOS/Source/portable/Gcc/ARM_CA7/port.c"
../src/CMSIS-FreeRTOS/Source/portable/Gcc/ARM_CA7/port.c:34:10: fatal error: FreeRTOS.h: No such file or directory
This is NOT what I saw in the configuration window: it is wrong (it is a old selected path, no more valid): so the 'No such file' error.
How it is possible?
SteMMo
|
|
|
Powered by
FUDForum. Page generated in 0.03765 seconds