What is %cd% in build log? (Linux.)
18:26:42 **** Build of configuration Release for project F0disco Configuration **** make all Building file: /home/hbarta/Documents/ecl-ws/F0disco/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c Invoking: MCU GCC Compiler %cd% arm-none-eabi-gcc -mcpu=cortex-m0 -mthumb -mfloat-abi=soft -DUSE_HAL_DRIVER -DSTM32F072xB -IInc -IDrivers/STM32F0xx_HAL_Driver/Inc -IDrivers/CMSIS/Include -IDrivers/CMSIS/Device/ST/STM32F0xx/Include -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"Drivers/STM32F0xx_HAL_Driver/stm32f0xx_hal.d" -MT"Drivers/STM32F0xx_HAL_Driver/stm32f0xx_hal.o" -o "Drivers/STM32F0xx_HAL_Driver/stm32f0xx_hal.o" "/home/hbarta/Documents/ecl-ws/F0disco/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c" /home/hbarta/Documents/ecl-ws/F0disco/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c:54:27: fatal error: stm32f0xx_hal.h: No such file or directory #include "stm32f0xx_hal.h" ^ compilation terminated. make: *** [Drivers/STM32F0xx_HAL_Driver/stm32f0xx_hal.o] Error 1 18:26:42 Build Finished (took 57ms)
This is the first build on a new project and as is typical, the headers are not located. On previous projects I have had to replace the relative paths with absolute paths because I could not figure out where the relative paths were relative to.
I wonder what the %cd% is on the line before the compile command. It looks like a CMD.COM environment substitution that probably does not work on Linux.
I’m happy to see the Linux plugin updated but sad to see that this problem remains unsolved.
If there is a means of solving this on my end (aside from updating all include paths) please let me know!