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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-08 10:35 PM
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-12 5:37 AM
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.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-12 12:29 AM
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
ST Software Developer | TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-12 12:43 AM
good luck @Roger.ch​ , it looks like your colleage left some barbed wire behind for the next guy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-12 1:14 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-12 4:50 AM
Can you share your project here please ?
/Yoann
ST Software Developer | TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-12 5:37 AM
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.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-12 6:15 AM
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.
