Linker file cannot find my libraries
I am having trouble to link the demo firmware for the STM32F429I-Discovery
All C files compile correctly, but the build fail as the linker cannot find my libraries.
I don’t understand as the library names and directories are correct (we can see see them in the invocation command after -L and -l)
Any idea how to solve this?
I am under the impression the -lxxx options should be placed before the -o option, but I don’t know how to change that
Building target: STM32F429-DISCO_Demo.elf
Invoking: MCU GCC Linker
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -L”C:\DATA\projects\eclipse\stm32f429i-disco_hal_lib\Debug” -L”C:\DATA\projects\eclipse\stm32f429i-disco_hal_lib\Middlewares\ST\STemWin\Lib” -T”C:\DATA\projects\eclipse\STM32F429-DISCO_Demo\LinkerScript.ld” -Wl,-Map=output.map -Wl,--gc-sections -o “STM32F429-DISCO_Demo.elf” @”objects.list” -lSTemWin526_CM4_GCC -llibstm32f429i-disco_hal_lib
c:/program files/sw4stm32/plugins/fr.ac6.mcu.externaltools.arm-none.win32_1.1.0.201503101257/tools/compiler/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld.exe: cannot find -lSTemWin526_CM4_GCC
c:/program files/sw4stm32/plugins/fr.ac6.mcu.externaltools.arm-none.win32_1.1.0.201503101257/tools/compiler/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld.exe: cannot find -llibstm32f429i-disco_hal_lib
collect2.exe: error: ld returned 1 exit status
make: *** [STM32F429-DISCO_Demo.elf] Error 1