cancel
Showing results for 
Search instead for 
Did you mean: 

How to resolve this error?

heyo
Senior
13:05:53 **** Build of configuration Debug for project C7 ****
make -j12 all 
arm-none-eabi-g++ -o "C7.elf" @"objects.list"  -l:libtouchgfx-float-abi-hard.a -mcpu=cortex-m7 -T"C:\Users\martynasveit\Desktop\C7_2(20230226)\C7_SVN\STM32H743ZITX_FLASH.ld" --specs=nosys.specs -Wl,-Map="C7.map" -Wl,--gc-sections -static -L"C:\Users\martynasveit\Desktop\C7_2(20230226)\C7_SVN\Middlewares\ST\touchgfx\lib\core\cortex_m7\gcc" --specs=nano.specs -mfpu=fpv5-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -lstdc++ -lsupc++ -Wl,--end-group
c:\st\stm32cubeide_1.11.2\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.100.202210260954\tools\arm-none-eabi\bin\ld.exe: cannot find -l:libtouchgfx-float-abi-hard.a
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:133: C7.elf] Error 1
"make -j12 all" terminated with exit code 2. Build might be incomplete.
 
13:05:57 Build Failed. 2 errors, 0 warnings. (took 4s.339ms)

6 REPLIES 6

Find ​libtouchgfx-float-abi-hard.a on your system

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
JTP1
Lead

What did you do to get this error ?😅

MM..1
Chief II

Are you sure , that lib file exist in "C:\Users\martynasveit\Desktop\C7_2(20230226)\C7_SVN\Middlewares\ST\touchgfx\lib\core\cortex_m7\gcc"

I upload files to SVN server and download from it

I upload file in directory and get no error but now I can't run simulator:


_legacyfs_online_stmicro_images_0693W00000bkQ9YQAU.png

JTP1
Lead

Is the folder "C:\Users\martynasveit\Desktop\C7_2(20230226)\C7_SVN\Middlewares\ST\touchgfx\lib\win\mingw32" also empty, there should be file "libtouchgfx.a" ?