发帖
4 1 0

使用vsCode烧录AiPi-Eyes_weather出现Cmake错误

yan3
金牌会员

10

主题

23

回帖

1543

积分

金牌会员

积分
1543
小安派Cam 987 4 2023-9-3 16:09:22
* 报错如下:
CMake Error: The source "F:/xaioanpai/AiPi-Open-Kits/AiPi-Eyes_weather/CMakeLists.txt" does not match the source "C:/Users/XX/Desktop/AiPi-Open-Kits/AiPi-Eyes_weather/CMakeLists.txt" used to generate cache.  Re-run cmake with a different source directory.
make: *** [../aithinker_Ai-M6X_SDK/project.build:72: build] Error 1
* 解决方式:
** 按照报错路径找到CMakeLists.txt,我这里的路径为---->F:/xaioanpai/AiPi-Open-Kits/AiPi-Eyes_weather/CMakeLists.txt
** 找到这个文件并将其删掉,之后在vsCode终端执行make命令即可编译。
* 执行make flash COMX=COM+端口号,即可下载成功下载固件。


──── 1人觉得很赞 ────

使用道具 举报

2023-9-3 18:55:44
感谢避坑
2023-9-4 11:31:04
我还以为报错了,正打算给你抓工程师解决的!
2023-9-4 16:50:42
爱笑 发表于 2023-9-4 11:31
我还以为报错了,正打算给你抓工程师解决的!

您需要登录后才可以回帖 立即登录
高级模式
返回
统计信息
  • 会员数: 28100 个
  • 话题数: 39320 篇