Touchgfx simulator compile error: 'touchgfx_printf' was not declared in this scope
Add debug log in my "Screen1View.cpp" , but report error log as below :
Compiling gui/src/screen1_screen/Screen1View.cpp
gui/src/screen1_screen/Screen1View.cpp: In member function 'virtual void Screen1View::buttonUpClicked()':
gui/src/screen1_screen/Screen1View.cpp:19:3: error: 'touchgfx_printf' was not declared in this scope
touchgfx_printf("buttonUpClicked\n");
Source code :
\TouchGFX\gui\src\screen1_screen\Screen1View.cpp
....
void Screen1View::buttonUpClicked()
{
touchgfx_printf("buttonUpClicked\n");
}
...
If this code is commented out , Compiling will be normal .
....
void Screen1View::buttonUpClicked()
{
// touchgfx_printf("buttonUpClicked\n");
}
...
would you give me some suggestions ?
