*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'd:\Keil_v5\ARM\ARMCC\Bin'
*** Warning: You are compiling one or more files of source type C++ and have selected 'use MicroLIB'. MicroLIB does not support C++!
Build target 'Test1'
compiling IntroductionView.cpp...
../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp(80): error: #868: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
FadeAnimator<MoveAnimator<LabelBox>> system;
../middlewares/st/touchgfx/touchgfx/framework/include/touchgfx/mixins/FadeAnimator.hpp(41): error: #262: not a class or struct name
class FadeAnimator : public T
detected during instantiation of class "touchgfx::FadeAnimator<T> [with T=<error-type>]" at line 80 of "../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp"
../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp(81): error: #868: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
FadeAnimator<MoveAnimator<LabelBox>> model;
../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp(82): error: #868: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
FadeAnimator<MoveAnimator<LabelBox>> presenter;
../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp(83): error: #868: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
FadeAnimator<MoveAnimator<LabelBox>> view;
../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp(84): error: #868: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
FadeAnimator<MoveAnimator<LabelBox>> ui;
../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp(86): error: #868: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
FadeAnimator<MoveAnimator<TextArea>> systemText;
../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp(87): error: #868: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
FadeAnimator<MoveAnimator<TextArea>> modelText;
../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp(88): error: #868: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp(89): error: #868: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
FadeAnimator<MoveAnimator<TextArea>> viewText;
../middlewares/st/touchgfx/touchgfx/framework/include/touchgfx/mixins/FadeAnimator.hpp(53): error: #292: "T" is not a nonstatic data member or base class of class "touchgfx::FadeAnimator<<error-type>>"
T(),
detected during instantiation of "touchgfx::FadeAnimator<T>::FadeAnimator() [with T=<error-type>]" at line 15 of "../touchgfx/gui/src/introduction_screen/introductionview.cpp"
../touchgfx/gui/src/introduction_screen/introductionview.cpp(17): error: #29: expected an expression
{
../touchgfx/gui/src/introduction_screen/introductionview.cpp(22): warning: #12-D: parsing restarts here after previous syntax error
};
../touchgfx/gui/src/introduction_screen/introductionview.cpp(24): error: #29: expected an expression
{
../touchgfx/gui/src/introduction_screen/introductionview.cpp(29): warning: #12-D: parsing restarts here after previous syntax error
};
../touchgfx/gui/src/introduction_screen/introductionview.cpp(31): error: #29: expected an expression
{
../touchgfx/gui/src/introduction_screen/introductionview.cpp(36): warning: #12-D: parsing restarts here after previous syntax error
};
../touchgfx/gui/src/introduction_screen/introductionview.cpp(38): error: #29: expected an expression
{
../touchgfx/gui/src/introduction_screen/introductionview.cpp(43): warning: #12-D: parsing restarts here after previous syntax error
};
../touchgfx/gui/src/introduction_screen/introductionview.cpp(45): error: #29: expected an expression
{
../touchgfx/gui/src/introduction_screen/introductionview.cpp(50): warning: #12-D: parsing restarts here after previous syntax error
};
../touchgfx/gui/src/introduction_screen/introductionview.cpp(52): error: #29: expected an expression
{
../touchgfx/gui/src/introduction_screen/introductionview.cpp(57): warning: #12-D: parsing restarts here after previous syntax error
};
../touchgfx/gui/src/introduction_screen/introductionview.cpp(59): error: #29: expected an expression
{
../touchgfx/gui/src/introduction_screen/introductionview.cpp(64): warning: #12-D: parsing restarts here after previous syntax error
};
../touchgfx/gui/src/introduction_screen/introductionview.cpp(66): error: #29: expected an expression
{
../touchgfx/gui/src/introduction_screen/introductionview.cpp(71): warning: #12-D: parsing restarts here after previous syntax error
};
../touchgfx/gui/src/introduction_screen/introductionview.cpp(73): error: #29: expected an expression
{
../touchgfx/gui/src/introduction_screen/introductionview.cpp(78): warning: #12-D: parsing restarts here after previous syntax error
};
../touchgfx/gui/src/introduction_screen/introductionview.cpp(80): error: #29: expected an expression
{
../touchgfx/gui/src/introduction_screen/introductionview.cpp(85): warning: #12-D: parsing restarts here after previous syntax error
};
../touchgfx/gui/src/introduction_screen/introductionview.cpp(87): error: #29: expected an expression
{
../touchgfx/gui/src/introduction_screen/introductionview.cpp(92): warning: #12-D: parsing restarts here after previous syntax error
};
../touchgfx/gui/src/introduction_screen/introductionview.cpp(94): error: #29: expected an expression
{
../touchgfx/gui/src/introduction_screen/introductionview.cpp(99): warning: #12-D: parsing restarts here after previous syntax error
};
../touchgfx/gui/src/introduction_screen/introductionview.cpp(101): error: #29: expected an expression
{
../touchgfx/gui/src/introduction_screen/introductionview.cpp(106): warning: #12-D: parsing restarts here after previous syntax error
};
../touchgfx/gui/src/introduction_screen/introductionview.cpp(108): error: #29: expected an expression
{
../touchgfx/gui/src/introduction_screen/introductionview.cpp(113): warning: #12-D: parsing restarts here after previous syntax error
};
../touchgfx/gui/src/introduction_screen/introductionview.cpp(115): error: #29: expected an expression
{
../touchgfx/gui/src/introduction_screen/introductionview.cpp(120): warning: #12-D: parsing restarts here after previous syntax error
};
../touchgfx/gui/src/introduction_screen/introductionview.cpp(122): error: #29: expected an expression
{
../touchgfx/gui/src/introduction_screen/introductionview.cpp(127): warning: #12-D: parsing restarts here after previous syntax error
};
../touchgfx/gui/src/introduction_screen/introductionview.cpp(129): error: #29: expected an expression
{
../touchgfx/gui/src/introduction_screen/introductionview.cpp(134): warning: #12-D: parsing restarts here after previous syntax error
};
../touchgfx/gui/src/introduction_screen/introductionview.cpp(136): error: #29: expected an expression
{
../touchgfx/gui/src/introduction_screen/introductionview.cpp(141): warning: #12-D: parsing restarts here after previous syntax error
};
../touchgfx/gui/src/introduction_screen/introductionview.cpp(146): error: #135: class "touchgfx::FadeAnimator<<error-type>>" has no member "setColor"
../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp(80): error: #868: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
FadeAnimator<MoveAnimator<LabelBox>> system;
../middlewares/st/touchgfx/touchgfx/framework/include/touchgfx/mixins/FadeAnimator.hpp(41): error: #262: not a class or struct name
class FadeAnimator : public T
detected during instantiation of class "touchgfx::FadeAnimator<T> [with T=<error-type>]" at line 80 of "../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp"
../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp(81): error: #868: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
FadeAnimator<MoveAnimator<LabelBox>> model;
../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp(82): error: #868: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
FadeAnimator<MoveAnimator<LabelBox>> presenter;
../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp(83): error: #868: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
FadeAnimator<MoveAnimator<LabelBox>> view;
../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp(84): error: #868: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
FadeAnimator<MoveAnimator<LabelBox>> ui;
../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp(86): error: #868: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
FadeAnimator<MoveAnimator<TextArea>> systemText;
../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp(87): error: #868: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
FadeAnimator<MoveAnimator<TextArea>> modelText;
../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp(88): error: #868: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp(89): error: #868: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
FadeAnimator<MoveAnimator<TextArea>> viewText;
../middlewares/st/touchgfx/touchgfx/framework/include/touchgfx/mixins/FadeAnimator.hpp(222): error: #276: name followed by "::" must be a class or namespace name
T::handleTickEvent();
detected during instantiation of "void touchgfx::FadeAnimator<T>::handleTickEvent() [with T=<error-type>]"
../middlewares/st/touchgfx/touchgfx/framework/include/touchgfx/mixins/FadeAnimator.hpp(252): error: #276: name followed by "::" must be a class or namespace name
instantiation of "void touchgfx::FadeAnimator<T>::nextFadeAnimationStep() [with T=<error-type>]" at line 224
instantiation of "void touchgfx::FadeAnimator<T>::handleTickEvent() [with T=<error-type>]"
../middlewares/st/touchgfx/touchgfx/framework/include/touchgfx/mixins/FadeAnimator.hpp(253): error: #276: name followed by "::" must be a class or namespace name
T::invalidate();
detected during:
instantiation of "void touchgfx::FadeAnimator<T>::nextFadeAnimationStep() [with T=<error-type>]" at line 224
instantiation of "void touchgfx::FadeAnimator<T>::handleTickEvent() [with T=<error-type>]"
../middlewares/st/touchgfx/touchgfx/framework/include/touchgfx/mixins/FadeAnimator.hpp(262): error: #167: argument of type "touchgfx::FadeAnimator<<error-type>> *" is incompatible with parameter of type "const touchgfx::Drawable *"
../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp(80): error: #868: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
FadeAnimator<MoveAnimator<LabelBox>> system;
../middlewares/st/touchgfx/touchgfx/framework/include/touchgfx/mixins/FadeAnimator.hpp(41): error: #262: not a class or struct name
class FadeAnimator : public T
detected during instantiation of class "touchgfx::FadeAnimator<T> [with T=<error-type>]" at line 80 of "../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp"
../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp(81): error: #868: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
FadeAnimator<MoveAnimator<LabelBox>> model;
../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp(82): error: #868: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
FadeAnimator<MoveAnimator<LabelBox>> presenter;
../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp(83): error: #868: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
FadeAnimator<MoveAnimator<LabelBox>> view;
../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp(84): error: #868: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
FadeAnimator<MoveAnimator<LabelBox>> ui;
../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp(86): error: #868: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
FadeAnimator<MoveAnimator<TextArea>> systemText;
../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp(87): error: #868: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
FadeAnimator<MoveAnimator<TextArea>> modelText;
../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp(88): error: #868: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp(89): error: #868: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
FadeAnimator<MoveAnimator<TextArea>> viewText;
../middlewares/st/touchgfx/touchgfx/framework/include/touchgfx/mixins/FadeAnimator.hpp(222): error: #276: name followed by "::" must be a class or namespace name
T::handleTickEvent();
detected during instantiation of "void touchgfx::FadeAnimator<T>::handleTickEvent() [with T=<error-type>]"
../middlewares/st/touchgfx/touchgfx/framework/include/touchgfx/mixins/FadeAnimator.hpp(252): error: #276: name followed by "::" must be a class or namespace name
instantiation of "void touchgfx::FadeAnimator<T>::nextFadeAnimationStep() [with T=<error-type>]" at line 224
instantiation of "void touchgfx::FadeAnimator<T>::handleTickEvent() [with T=<error-type>]"
../middlewares/st/touchgfx/touchgfx/framework/include/touchgfx/mixins/FadeAnimator.hpp(253): error: #276: name followed by "::" must be a class or namespace name
T::invalidate();
detected during:
instantiation of "void touchgfx::FadeAnimator<T>::nextFadeAnimationStep() [with T=<error-type>]" at line 224
instantiation of "void touchgfx::FadeAnimator<T>::handleTickEvent() [with T=<error-type>]"
../middlewares/st/touchgfx/touchgfx/framework/include/touchgfx/mixins/FadeAnimator.hpp(262): error: #167: argument of type "touchgfx::FadeAnimator<<error-type>> *" is incompatible with parameter of type "const touchgfx::Drawable *"
../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp(80): error: #868: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
FadeAnimator<MoveAnimator<LabelBox>> system;
../middlewares/st/touchgfx/touchgfx/framework/include/touchgfx/mixins/FadeAnimator.hpp(41): error: #262: not a class or struct name
class FadeAnimator : public T
detected during instantiation of class "touchgfx::FadeAnimator<T> [with T=<error-type>]" at line 80 of "../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp"
../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp(81): error: #868: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
FadeAnimator<MoveAnimator<LabelBox>> model;
../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp(82): error: #868: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
FadeAnimator<MoveAnimator<LabelBox>> presenter;
../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp(83): error: #868: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
FadeAnimator<MoveAnimator<LabelBox>> view;
../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp(84): error: #868: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
FadeAnimator<MoveAnimator<LabelBox>> ui;
../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp(86): error: #868: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
FadeAnimator<MoveAnimator<TextArea>> systemText;
../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp(87): error: #868: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
FadeAnimator<MoveAnimator<TextArea>> modelText;
../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp(88): error: #868: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
../TouchGFX/gui/include/gui/introduction_screen/IntroductionView.hpp(89): error: #868: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
FadeAnimator<MoveAnimator<TextArea>> viewText;
../middlewares/st/touchgfx/touchgfx/framework/include/touchgfx/mixins/FadeAnimator.hpp(222): error: #276: name followed by "::" must be a class or namespace name
T::handleTickEvent();
detected during instantiation of "void touchgfx::FadeAnimator<T>::handleTickEvent() [with T=<error-type>]"
../middlewares/st/touchgfx/touchgfx/framework/include/touchgfx/mixins/FadeAnimator.hpp(252): error: #276: name followed by "::" must be a class or namespace name
instantiation of "void touchgfx::FadeAnimator<T>::nextFadeAnimationStep() [with T=<error-type>]" at line 224
instantiation of "void touchgfx::FadeAnimator<T>::handleTickEvent() [with T=<error-type>]"
../middlewares/st/touchgfx/touchgfx/framework/include/touchgfx/mixins/FadeAnimator.hpp(253): error: #276: name followed by "::" must be a class or namespace name
T::invalidate();
detected during:
instantiation of "void touchgfx::FadeAnimator<T>::nextFadeAnimationStep() [with T=<error-type>]" at line 224
instantiation of "void touchgfx::FadeAnimator<T>::handleTickEvent() [with T=<error-type>]"
../middlewares/st/touchgfx/touchgfx/framework/include/touchgfx/mixins/FadeAnimator.hpp(262): error: #167: argument of type "touchgfx::FadeAnimator<<error-type>> *" is incompatible with parameter of type "const touchgfx::Drawable *"
https://www.stmcu.org.cn/module/forum/thread-619311-1-1.html
主要原因是少加了库文件和C++语法声明,导致编译时一大堆错误。
评分
查看全部评分
多谢你的帮助,不过769discovery的例子与你的似乎相差比较大,改了一个漏掉的头文件,余下的与你的例子都不同,帮忙看看这堆错误,其中问题最大的代码文件:
新手路过学习
cubemx 生成代码前,先用designer 生成CODE,再用CUBEMX 生成项目。当然,用之前的版本也可以试试。
另外,我这边直接打开STM32F769I Dscovery 的例程编译是正常的哦
评分
查看全部评分