你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

CubeAI生产keil代码时出现报错。这个ai_platform.h文件在什么地方?

[复制链接]
李6华 提问时间:2024-3-31 15:33 / 未解决

Build started: Project: LSTM_SOC *** Using Compiler 'V5.06 update 6 (build 750)', folder: 'D:\Keilv5\Keil_v5\ARM\ARMCC\Bin' Build target 'LSTM_SOC' compiling network_data.c... ../X-CUBE-AI/App/network_data_params.h(21): error: #5: cannot open source input file "ai_platform.h": No such file or directory

include "ai_platform.h"

../X-CUBE-AI/App/network_data.c: 0 warnings, 1 error compiling network_data_params.c... ../X-CUBE-AI/App/network_data_params.h(21): error: #5: cannot open source input file "ai_platform.h": No such file or directory

include "ai_platform.h"

../X-CUBE-AI/App/network_data_params.c: 0 warnings, 1 error compiling network.c... ../X-CUBE-AI/App/network.h(24): error: #5: cannot open source input file "ai_platform.h": No such file or directory

include "ai_platform.h"

../X-CUBE-AI/App/network.c: 0 warnings, 1 error compiling app_x-cube-ai.c... ../X-CUBE-AI/App/app_x-cube-ai.h(26): error: #5: cannot open source input file "ai_platform.h": No such file or directory

include "ai_platform.h"

../X-CUBE-AI/App/app_x-cube-ai.c: 0 warnings, 1 error compiling main.c... ../X-CUBE-AI/App/app_x-cube-ai.h(26): error: #5: cannot open source input file "ai_platform.h": No such file or directory

include "ai_platform.h"

../Core/Src/main.c: 0 warnings, 1 error "LSTM_SOC\LSTM_SOC.axf" - 5 Error(s), 0 Warning(s). Target not created. Build Time Elapsed: 00:00:01

收藏 评论3 发布时间:2024-3-31 15:33

举报

3个回答
yijun.deng 回答时间:2024-4-2 17:44:54

你好,

这个ai_platform.h是我们STM32Cube.AI runtime的一部分,如果X-CUBE-AI有正常安装的话,生成代码的时候会从它的用户目录下直接将整个Middleware拷贝过来,其中就有这个文件。这个目录在:C:\Users\xxx\STM32Cube\Repository\Packs\STMicroelectronics\X-CUBE-AI\8.1.0\Middlewares\ST\AI。如果你在这个目录找不到这个文件,建议卸载X-CUBE-AI重新安装。如果还是有问题可以把工程发给我看看。我邮箱[email]yijun.deng@st.com[/email]。

17819988814 回答时间:2024-4-29 22:09:54

yijun.deng 发表于 2024-4-2 17:44
你好,</p>
<p>这个ai_platform.h是我们STM32Cube.AI runtime的一部分,如果X-CUBE-AI有正常安装的话,生成代 ...

[md]我这也有同样的问题,卸载重下也一样,6.0.0版本的,可以加一下qq或者wx交流一下吗

方广 回答时间:2024-7-31 10:09:27

用X-CUBE-AI移植TFlite模型库出现Undefined symbol的问题,求解

有4个函数报L6218E错误,例如其中一个如下: Undefined symbol aiTensorDescMsg_fields (referred from aipbmgr.o).

检查代码后发现确实是没有相关定义,这个该怎么解决,是加载TFLITE时导致的错误?

在CUBEMX上分析模型时已经通过了,但生成代码后出现这个问题。

所属标签

相似问题

官网相关资源

关于
我们是谁
投资者关系
意法半导体可持续发展举措
创新与技术
意法半导体官网
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
官方最新发布
STM32N6 AI生态系统
STM32MCU,MPU高性能GUI
ST ACEPACK电源模块
意法半导体生物传感器
STM32Cube扩展软件包
关注我们
st-img 微信公众号
st-img 手机版