2026-02-02 2:55 PM - last edited on 2026-02-03 7:56 AM by Andrew Neil
I generated my project from the TouchGFX envinroment.
Itried to modify the cube file and i got the following issues
1. linking error ld.exe: cannot find -l:libnemagfx-float-abi-hard.a: No such file or directory
2. linking error ld.exe: cannot find -l:libtouchgfxnema-float-abi-hard.a: No such file or directory
3. many basic files are missing like main.h so i cant access any gpio by the name that was given to it in my user files
2026-02-02 4:04 PM - edited 2026-02-02 4:18 PM
Hi @Ofer
Your linker lib search paths might be wrong. Try to tinker with following settings
"${workspace_loc:/${ProjName}/Middlewares/ST/touchgfx/lib/core/cortex_m33/gcc}"
"${workspace_loc:/${ProjName}/Middlewares/ST/touchgfx_components/gpu2d/NemaGFX/lib/core/cortex_m33/gcc}"
"${workspace_loc:/${ProjName}/Middlewares/ST/touchgfx_components/gpu2d/TouchGFXNema/lib/cortex_m33/gcc}"
2026-02-03 7:52 AM
thank dear Ferro but it seems to me my settings are exactly like yours but i get those errors
2026-02-05 10:07 AM
Hm, interesting. Could you post here
1. linker build output (it will show us all linker's lib search paths), and
2. relative paths of those missing libs within your project tree, to see whether they are where expected
I assume you checked the libs are actually in your project (somewere).
2026-02-07 12:39 PM
2026-02-07 4:27 PM
Plase find missing libs in your project tree
libnemagfx-float-abi-hard.a
libtouchgfxnema-float-abi-hard.a
and post location here.
2026-02-07 4:53 PM - edited 2026-02-07 4:54 PM
Try to copy folder
c:\TouchGFX\4.26.0\touchgfx_components
into your project folder
<your\project\path>\Middlewares\ST\
2026-02-07 11:23 PM
Long time issue. TouchGFX projects ≠ MXCube editable . Best way is create new project from MX and copy required part from bundled TGFX project and example ioc...
2026-02-08 3:32 PM
hi dear mm1
i tried it this way but i got all this issues this way
2026-02-08 10:08 PM
@Ofer wrote:I generated my project from the TouchGFX envinroment.
Itried to modify the cube file and i got the following issues
No you try other way ...