How to include a library into Model.cpp so that it will work also with TouchGFX simulator?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-18 4:45 AM
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-21 2:20 AM
I found a solution. I added my guiData.h file under TouchGFX include and on top of Model.cpp
I included like this:
#include <gui/model/guiData.h>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-18 7:51 AM
where you place this h file ???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-21 2:20 AM
I found a solution. I added my guiData.h file under TouchGFX include and on top of Model.cpp
I included like this:
#include <gui/model/guiData.h>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-01-11 7:52 AM
hi dears
I have a problem in simulator when I include some library and when I extern some prototypes in Model.hpp and screen1view.ccp.
I have to use #ifndef SIMULATOR to solve this problem. If not when I try to use touchGFX simulator, I face some error inform:
Are there better way to solve the problem?
