cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX Tutorial 3 , compile grief

JohnSkeldon
Associate II

if (!textClock.isMoveAnimationRunning()) .. fails 

after following the tutorial i receive ..

Compile
make -f simulator/gcc/Makefile -j8
Reading ./application.config
Reading ./target.config
Compiling gui/src/screen2_screen/Screen2View.cpp
Compiling generated/texts/src/TypedTextDatabase.cpp
gui/src/screen2_screen/Screen2View.cpp: In member function 'virtual void Screen2View::handleTickEvent()':
gui/src/screen2_screen/Screen2View.cpp:63:20: error: 'class touchgfx::TextArea' has no member named 'isMoveAnimationRunning'
if (!textClock.isMoveAnimationRunning())
^~~~~~~~~~~~~~~~~~~~~~
generated/simulator/gcc/Makefile:196: recipe for target 'build/MINGW32_NT-6.2/gui/src/screen2_screen/Screen2View.o' failed
make[2]: *** [build/MINGW32_NT-6.2/gui/src/screen2_screen/Screen2View.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [generate_assets] Error 2
generated/simulator/gcc/Makefile:155: recipe for target 'generate_assets' failed
simulator/gcc/Makefile:32: recipe for target 'all' failed
make: *** [all] Error 2
Failed
Failed

i've added #include <touchgfx/mixins/MoveAnimator.hpp> to screen2view.cpp as well .. 

I'm new to this so unsure what or where the problem is ? 

i've read the documentation and .. "isMoveAnimationRunning" can be found .. 

anyone shed any light please ... 

 

 

 

10 REPLIES 10
JohnSkeldon
Associate II

Thank you , it seams to work other than the minutes are going up as seconds .. i'm more bothered about it compiling 

:) . i have got it set up for my dev kit though maybe that's it .. 

Regards 

John