我是 touchGFX 的新手,我正在使用 Keil (v5.xx)。由于缺少文件,我无法编译 746G-Discovery 的 touchGFX 示例,并且在使用设计器生成项目时遇到了同样的问题。
当我尝试编译示例 (
STM32Cube_FW_F7_V1.16.0ProjectsSTM32746G-DiscoveryDemonstra
tionsTouchGFXMDK-ARM) 时,出现以下错误:
- ../Core/Src/main.cpp(20): error: #5: cannot open source input file "touchgfx/canvas_widget_renderer/CanvasWidgetRenderer.hpp": No such file or directory
- #include
- ../Core/Src/main.cpp: 0 warnings, 1 error
- compiling Gauge.cpp...
- ../../../../../Middlewares/ST/TouchGFX/touchgfx/framework/include/touchgfx/canvas_widget_renderer/Scanline.hpp(19): error: #5: cannot open source input file "touchgfx/canvas_widget_renderer/CanvasWidgetRenderer.hpp": No such file or directory
- #include
- ../Gui/gui/src/custom_controls_screen/Gauge.cpp: 0 warnings, 1 error
- compiling EasingEquationGraph.cpp...
- ../../../../../Middlewares/ST/TouchGFX/touchgfx/framework/include/touchgfx/canvas_widget_renderer/Scanline.hpp(19): error: #5: cannot open source input file "touchgfx/canvas_widget_renderer/CanvasWidgetRenderer.hpp": No such file or directory
- #include
- ../Gui/gui/src/easing_equation_screen/EasingEquationGraph.cpp: 0 warnings, 1 error
- compiling CircularProgress.cpp...
- ../../../../../Middlewares/ST/TouchGFX/touchgfx/framework/include/touchgfx/canvas_widget_renderer/Scanline.hpp(19): error: #5: cannot open source input file "touchgfx/canvas_widget_renderer/CanvasWidgetRenderer.hpp": No such file or directory
- #include
- ../Gui/gui/src/custom_controls_screen/CircularProgress.cpp: 0 warnings, 1 error
- compiling AbstractGraph.cpp...
- ../../../../../Middlewares/ST/TouchGFX/touchgfx/framework/include/touchgfx/canvas_widget_renderer/Scanline.hpp(19): error: #5: cannot open source input file "touchgfx/canvas_widget_renderer/CanvasWidgetRenderer.hpp": No such file or directory
- #include
- ../Gui/gui/src/graph_screen/AbstractGraph.cpp: 0 warnings, 1 error
- compiling ThreeWayProgressBar.cpp...
- ../../../../../Middlewares/ST/TouchGFX/touchgfx/framework/include/touchgfx/canvas_widget_renderer/Scanline.hpp(19): error: #5: cannot open source input file "touchgfx/canvas_widget_renderer/CanvasWidgetRenderer.hpp": No such file or directory
- #include
- ../Gui/gui/src/custom_controls_screen/ThreeWayProgressBar.cpp: 0 warnings, 1 error
- compiling CustomControlsView.cpp...
- ../../../../../Middlewares/ST/TouchGFX/touchgfx/framework/include/touchgfx/canvas_widget_renderer/Scanline.hpp(19): error: #5: cannot open source input file "touchgfx/canvas_widget_renderer/CanvasWidgetRenderer.hpp": No such file or directory
- #include
- ../Gui/gui/src/custom_controls_screen/CustomControlsView.cpp: 0 warnings, 1 error
- compiling CustomControlsPresenter.cpp...
- ../../../../../Middlewares/ST/TouchGFX/touchgfx/framework/include/touchgfx/canvas_widget_renderer/Scanline.hpp(19): error: #5: cannot open source input file "touchgfx/canvas_widget_renderer/CanvasWidgetRenderer.hpp": No such file or directory
- #include
- ../Gui/gui/src/custom_controls_screen/CustomControlsPresenter.cpp: 0 warnings, 1 error
- compiling EasingEquationPresenter.cpp...
- ../../../../../Middlewares/ST/TouchGFX/touchgfx/framework/include/touchgfx/canvas_widget_renderer/Scanline.hpp(19): error: #5: cannot open source input file "touchgfx/canvas_widget_renderer/CanvasWidgetRenderer.hpp": No such file or directory
- #include
- ../Gui/gui/src/easing_equation_screen/EasingEquationPresenter.cpp: 0 warnings, 1 error
- compiling EasingEquationView.cpp...
- ../../../../../Middlewares/ST/TouchGFX/touchgfx/framework/include/touchgfx/canvas_widget_renderer/Scanline.hpp(19): error: #5: cannot open source input file "touchgfx/canvas_widget_renderer/CanvasWidgetRenderer.hpp": No such file or directory
- #include
- ../Gui/gui/src/easing_equation_screen/EasingEquationView.cpp: 0 warnings, 1 error
- compiling FrontendApplication.cpp...
- ../../../../../Middlewares/ST/TouchGFX/touchgfx/framework/include/touchgfx/canvas_widget_renderer/Scanline.hpp(19): error: #5: cannot open source input file "touchgfx/canvas_widget_renderer/CanvasWidgetRenderer.hpp": No such file or directory
- #include
- ../Gui/gui/src/common/FrontendApplication.cpp: 0 warnings, 1 error
- compiling Graph.cpp...
- ../../../../../Middlewares/ST/TouchGFX/touchgfx/framework/include/touchgfx/canvas_widget_renderer/Scanline.hpp(19): error: #5: cannot open source input file "touchgfx/canvas_widget_renderer/CanvasWidgetRenderer.hpp": No such file or directory
- #include
- ../Gui/gui/src/graph_screen/Graph.cpp: 0 warnings, 1 error
- compiling GraphBelow.cpp...
- ../../../../../Middlewares/ST/TouchGFX/touchgfx/framework/include/touchgfx/canvas_widget_renderer/Scanline.hpp(19): error: #5: cannot open source input file "touchgfx/canvas_widget_renderer/CanvasWidgetRenderer.hpp": No such file or directory
- #include
- ../Gui/gui/src/graph_screen/GraphBelow.cpp: 0 warnings, 1 error
- compiling GraphDots.cpp...
- ../../../../../Middlewares/ST/TouchGFX/touchgfx/framework/include/touchgfx/canvas_widget_renderer/Scanline.hpp(19): error: #5: cannot open source input file "touchgfx/canvas_widget_renderer/CanvasWidgetRenderer.hpp": No such file or directory
- #include
- ../Gui/gui/src/graph_screen/GraphDots.cpp: 0 warnings, 1 error
- compiling GraphLine.cpp...
- ../../../../../Middlewares/ST/TouchGFX/touchgfx/framework/include/touchgfx/canvas_widget_renderer/Scanline.hpp(19): error: #5: cannot open source input file "touchgfx/canvas_widget_renderer/CanvasWidgetRenderer.hpp": No such file or directory
- #include
- ../Gui/gui/src/graph_screen/GraphLine.cpp: 0 warnings, 1 error
- compiling GraphPresenter.cpp...
- ../../../../../Middlewares/ST/TouchGFX/touchgfx/framework/include/touchgfx/canvas_widget_renderer/Scanline.hpp(19): error: #5: cannot open source input file "touchgfx/canvas_widget_renderer/CanvasWidgetRenderer.hpp": No such file or directory
- #include
- ../Gui/gui/src/graph_screen/GraphPresenter.cpp: 0 warnings, 1 error
- compiling PieChart.cpp...
- ../../../../../Middlewares/ST/TouchGFX/touchgfx/framework/include/touchgfx/canvas_widget_renderer/Scanline.hpp(19): error: #5: cannot open source input file "touchgfx/canvas_widget_renderer/CanvasWidgetRenderer.hpp": No such file or directory
- #include
- ../Gui/gui/src/graph_screen/PieChart.cpp: 0 warnings, 1 error
- compiling GraphView.cpp...
- ../../../../../Middlewares/ST/TouchGFX/touchgfx/framework/include/touchgfx/canvas_widget_renderer/Scanline.hpp(19): error: #5: cannot open source input file "touchgfx/canvas_widget_renderer/CanvasWidgetRenderer.hpp": No such file or directory
- #include
- ../Gui/gui/src/graph_screen/GraphView.cpp: 0 warnings, 1 error
- compiling BoardConfiguration.cpp...
- ../../../../../Middlewares/ST/TouchGFX/touchgfx/framework/include/touchgfx/canvas_widget_renderer/Scanline.hpp(19): error: #5: cannot open source input file "touchgfx/canvas_widget_renderer/CanvasWidgetRenderer.hpp": No such file or directory
- #include
- ../Gui/target/BoardConfiguration.cpp: 0 warnings, 1 error
这是最新的 STMCubeF7 包,没有任何修改,它应该开箱即用。
有任何想法吗?