STM32H747IITx
undefined reference to `touchgfx_init'
its STM32 Cube MX generated code and giving this error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-02-25 7:28 PM
I can navigate to that from right click and go to declaration. On converting to C++ it starts to give other issues.
- Labels:
-
STM32CubeIDE
-
STM32CubeMX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-14 7:00 AM
Hi @Khouloud ZEMMELI​ , I'm facing same problem.. undefined reference to `touchgfx_init'
When will ST fix it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-15 5:39 AM
Hi, thank you for sharing your idea.
Have you tested this method? I did step by step many times. but in step 11 still I have same problem..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-15 4:46 PM
Hi. You are correct. Well, half-correct rather! You had me doubting and so I've tried those steps to find out it does not work for every parts. For instance the built failed for a STM32F412RGT6 however it did worked perfectly fine for a STM32H743VIT6.
I'm attaching the successful built (STM32H743VIT6) following the steps above. I've cleaned the project, see if you can build it.
ps. For the record; the STM32F412RGT6 failed build I'm getting the following errors:
1) undefined reference to `touchgfx_init'
2) undefined reference to `touchgfx_taskEntry'
Environment:
- STM32CubeIDE Version: 1.7.0 Build: 10852_20210715_0634 (UTC)
- TouchGFX 4.17.0
- Windows 10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-20 8:45 PM
Thank you again.
Yes I used STM32F407 and I had same errors you mentioned about F412.
It seems it's OK when I choose other option in project creation. When I select "copy libraries...as reference.. " (not the default option) I don't see those errors anymore.
By the way thank you very much for your reply and attention.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-23 11:45 PM
Hi @Mecanix​ ,
What was your STM32CubeIDE version?

- « Previous
-
- 1
- 2
- Next »