Hi! I have installed STM32CubeIDE and I created new project on Nucleo F411RE board but I can't compile this project. I will add that this is a blank project (I didn't write any line of code).
I tried uninstalling the program and reinstalling it but it didn't work. Can somebody help me? I have this output in my console:
19:05:11 **** Incremental Build of configuration Debug for project Test ****
make -j4 all
arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F411xE -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o"
arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F411xE -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o"
arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F411xE -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o"
arm-none-eabi-gcc "../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.c" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F411xE -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.d" -MT"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.o"
cc1: Invalid option `-imultilib'
cc1: Invalid option `-isysroot'
cc1: Invalid option `-MMD'
cc1: Invalid option `-MF'
cc1: Invalid option `-MP'
cc1: Invalid option `-MT'
cc1: warning: unrecognised gcc debugging option: D
cc1: Invalid option `fpu=fpv4-sp-d16'
cc1: Invalid option `float-abi=hard'
cc1: Invalid option `thumb'
cc1: Invalid option `libarch=armv7e-m+fp'
cc1: Invalid option `-auxbase-strip'
cc1: Invalid option `-std=gnu11'
cc1: Invalid option `-fdata-sections'
cc1: Invalid option `-fstack-usage'
ccDrivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o: No such file or directory
1: bad value (armv7e-m+fp) for -march= switch
cc1: bad value (cortex-m4) for -mcpu= switch
cc1: cc1: Invalid option `-imultilib'
cc1: Invalid option `-isysroot'
cc1: Invalid option `-MMD'
cc1: Invalid option `-MF'
cc1: Invalid option `-MP'
cc1: Invalid option `-MT'
cc1: warning: unrecognised gcc debugging option: D
cc1: Invalid option `fpu=fpv4-sp-d16'
cc1: Invalid option `float-abi=hard'
cc1: Invalid option `thumb'
cc1: Invalid option `libarch=armv7e-m+fp'
cc1: Invalid option `-auxbase-strip'
cc1: Invalid option `-std=gnu11'
cc1: Invalid option `-fdata-sections'
cc1: Invalid option `-fstack-usage'
ccDrivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o: No such file or directory
1: bad value (armv7e-m+fp) for -march= switch
cc1: bad value (cortex-m4) for -mcpu= switch
cc1: cc1: Invalid option `-imultilib'
cc1: Invalid option `-isysroot'
cc1: Invalid option `-MMD'
cc1: Invalid option `-MF'
cc1: Invalid option `-MP'
cc1: Invalid option `-MT'
cc1: warning: unrecognised gcc debugging option: D
cc1: Invalid option `fpu=fpv4-sp-d16'
cc1: Invalid option `float-abi=hard'
cc1: Invalid option `thumb'
cc1: Invalid option `libarch=armv7e-m+fp'
cc1: Invalid option `-auxbase-strip'
cc1: Invalid option `-std=gnu11'
cc1: Invalid option `-fdata-sections'
cc1: Invalid option `-fstack-usage'
ccmake: *** [Drivers/STM32F4xx_HAL_Driver/Src/subdir.mk:64: Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o] Error 1
make: *** Waiting for unfinished jobs....
Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o: No such file or directory
1: bad value (armv7e-m+fp) for -march= switch
cc1: bad value (cortex-m4) for -mcpu= switch
cc1: cc1: Invalid option `-imultilib'
cc1: Invalid option `-isysroot'
cc1: Invalid option `-MMD'
cc1: Invalid option `-MF'
cc1: Invalid option `-MP'
cc1: Invalid option `-MT'
cc1: warning: unrecognised gcc debugging option: D
cc1: Invalid option `fpu=fpv4-sp-d16'
cc1: Invalid option `float-abi=hard'
cc1: Invalid option `thumb'
cc1: Invalid option `libarch=armv7e-m+fp'
cc1: Invalid option `-auxbase-strip'
cc1: Invalid option `-std=gnu11'
cc1: Invalid option `-fdata-sections'
cc1: Invalid option `-fstack-usage'
ccDrivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.o: No such file or directory
1: bad value (armv7e-m+fp) for -march= switch
cc1: bad value (cortex-m4) for -mcpu= switch
cc1: make: *** [Drivers/STM32F4xx_HAL_Driver/Src/subdir.mk:64: Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o] Error 1
make: *** [Drivers/STM32F4xx_HAL_Driver/Src/subdir.mk:64: Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o] Error 1
make: *** [Drivers/STM32F4xx_HAL_Driver/Src/subdir.mk:64: Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.o] Error 1
"make -j4 all" terminated with exit code 2. Build might be incomplete.
19:05:12 Build Failed. 5 errors, 0 warnings. (took 690ms)
