cancel
Showing results for 
Search instead for 
Did you mean: 

I have taken over a project from a colleague. When I run "Run Simulator" or "Run Target" I get the error message: ld.exe: cannot find -ltouchgfx What could be the reason for this error?

Roger.ch
Associate III
 
1 ACCEPTED SOLUTION

Accepted Solutions

libraries not visible to the project, check lib paths and where it is trying to fetch them from, and if they are there.

C​reate a new project, have that build successfully, and review how that's constructed.

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

View solution in original post

6 REPLIES 6
Yoann KLEIN
ST Employee

Hello @Roger.ch​ ,

Did you already try to uninstall and reinstall TouchGFX ?

Otherwise, please also follow the introduction guidelines. There is maybe something in the installation procedure which might help you solve your issue.

Thanks,

/Yoann

Yoann KLEIN
ST Software Developer | TouchGFX
Javier1
Principal

good luck @Roger.ch​ , it looks like your colleage left some barbed wire behind for the next guy

we dont need to firmware by ourselves, lets talk

Hi Yoann. 

Thank you for your submission.

I have uninstalled versions 4.18 and 4.20 and reinstalled very strictly according to instructions.

Unfortunately without much success. 

Where should this "module" be installed and where are the entries so that the ID.exe can find them?

Greetings, Roger

Can you share your project here please ?

/Yoann

Yoann KLEIN
ST Software Developer | TouchGFX

libraries not visible to the project, check lib paths and where it is trying to fetch them from, and if they are there.

C​reate a new project, have that build successfully, and review how that's constructed.

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

Thank you very much for your comment. The project is now running.

Sometimes you can't see the forest for the trees.

When comparing a new project I noticed that the directory ".....\Project\Middlewares\ST\TouchGFX\touchgfx\lib\core\cortex_m7\gcc" was extremely empty.

I then simply copied the folder from a self-generated custom project. And what can I say, it works.

Many thanks to all involved.