首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >TencentOS例程,keil5编译报错no such file or directory?

TencentOS例程,keil5编译报错no such file or directory?

提问于 2019-11-23 05:45:24
回答 1关注 0查看 1.3K

求助!!!

测试TencentOS tiny中tencent_cloud_sdk_mqtt例程,使用keil5打开工程

tencent_cloud_sdk_mqtt例程
tencent_cloud_sdk_mqtt例程

修改product id,device name,device secret等信息后编译

出现报错:cannot open source input file "xxxx": No such file or directory

报错
报错

但是我已经在配置C/C++选项卡中添加了相关库文件路径,如下,并且路径下存在相关文件。

添加了头文件路径
添加了头文件路径
相关路径存在相应的文件
相关路径存在相应的文件

求问大家,这是什么原因引起的,我该怎么解决呢?

感谢!!!

回答 1

Supowang

精选回答

发布于 2019-11-25 09:00:28

您好!您的代码是早期的代码,请使用最新的github代码,代码下载地址:https://github.com/Tencent/TencentOS-tiny

或者腾讯工蜂 https://git.code.tencent.com/Tencent_Open_Source/TencentOS-tiny

如还有问题,欢迎加QQ群交流:

扫码加官方QQ群
扫码加官方QQ群
和开发者交流更多问题细节吧,去 写回答
相关文章
PyInstaller关于No such file or directory报错
No such file or directory: 'C:\\Users\\BJ7K8F3\\AppData\\Local\\Temp\\_MEI91362\\xxx\\yyy'
Elsa_阿尼
2021/07/21
5.3K1
PyInstaller关于No such file or directory报错
cadvisor 运行报错/sys/fs/cgroup/cpuacct,cpu: no such file or directory
运行docker监控容器cadvisor的时候提示如下错误 Dec 13 17:36:39 prd_java-cc8 dockerd-current[2586]: W1213 17:36:39.185606 1 manager.go:349] Could not configure a source for OOM detection, disabling OOM events: open /dev/kmsg: no such file or directory Dec 13 17:36:39
张琳兮
2022/01/12
2.1K0
【错误记录】编译 Linux 内核报错 ( fatal error: openssl/opensslv.h: No such file or directory )
文章目录 一、报错信息 二、解决方案 一、报错信息 ---- 编译 Linux 内核 , 执行 sudo make 命令 , 开始正式编译 Linux 内核 , 报如下错误 : root@ubuntu:~/kernel/linux-5.6.14# sudo make SYSTBL arch/x86/include/generated/asm/syscalls_32.h SYSHDR arch/x86/include/generated/asm/unistd_32_ia32.h SYSHDR
韩曙亮
2023/03/30
1.9K0
【错误记录】编译 Linux 内核报错 ( fatal error: openssl/opensslv.h: No such file or directory )
centos引入cv2报错No such file or directory
错误代码 ImportError: libXext.so.6: cannot open shared object file: No such file or directory 可通过安装qt4解决 ubuntu apt install python-qt4 #centos: yum -y install python-qt4 其他错误 ImportError:libcblas.so.3: ImportError:libjasper.so.1: image.png ImportError:li
一朵灼灼华
2022/08/05
6740
centos引入cv2报错No such file or directory
【错误记录】编译 ijkplayer 报错 (fatal error: ijksoundtouch/ijksoundtouch_wrap.h: No such file or directory )
参考 https://github.com/bilibili/ijkplayer 项目的编译过程 ;
韩曙亮
2023/03/30
4660
【错误记录】编译 ijkplayer 报错 (fatal error: ijksoundtouch/ijksoundtouch_wrap.h: No such file or directory )
File & Directory
这节主要讲一下操作文件和文件目录的两个静态类:File 和 Directory。
宿春磊Charles
2022/03/29
6420
File & Directory
解决报错libssl.so.1.1: cannot open shared object file: No such file or directory
Centos7默认提供的openssl版本是1.0.2的,某些php扩展或者其他软件依赖1.1以上版本
沈唁
2020/03/23
33.7K2
解决报错libssl.so.1.1: cannot open shared object file: No such file or directory
SQLSTATE[HY000] [2002] No such file or directory
/Applications/MAMP/tmp/mysql/mysql.sock
lilugirl
2019/05/26
2.2K0
OSError: [Errno 2] No such file or directory
['mkdir -p /tmp/gluster_volume_files.can.not.delete']
党志强
2020/02/11
2.5K0
FileNotFoundError: [Errno 2] No such file or directory
FileNotFoundError: [Errno 2] No such file or directory: '/ProjectEuler/data/013.txt'
攻城狮杰森
2022/06/03
2.3K0
FileNotFoundError: [Errno 2] No such file or directory
git运行报错fatal: open /dev/null or dup failed: No such file or directory
问题现象: win10下 git运行出现 fatal: open /dev/null or dup failed: No such file or directory。图示: 2.直接右击运行Git Bash 闪退 解决方法: C:\Windows\System32\drivers\null.sys 这个文件损坏,可以从网上下载win7、 win10对应的null.sys文件,然后进行替换。由于我 是win10的电脑,提供链接。 百度网盘链接:https://pan.baidu.com/s/1
用户1212940
2022/04/13
1.3K0
git运行报错fatal: open /dev/null or dup failed: No such file or directory
【错误记录】编译 ijkplayer 报错 (fatal error: libyuv.h: No such file or directory #include “libyuv.h“ )
参考 https://github.com/bilibili/ijkplayer 项目的编译过程 ;
韩曙亮
2023/03/30
5930
【错误记录】编译 ijkplayer 报错 (fatal error: libyuv.h: No such file or directory #include “libyuv.h“ )
解决/usr/bin/pip: No such file or directory
因为home的空间不足,所以我将anaconda3文件夹移动到了别的位置上了,导致我在命令行中输入python的命令时,显示的是python2.7(也就是linux自带的),后面我又为anaconda3重新配置了环境变量,然后当我想使用pip命令去安装别的库时,则显示:/usr/bin/pip: No such file or directory
陶陶name
2022/05/12
9170
Linux脚本运行报错解决方法 bad interpreter: No such file or directory
运行脚本时报如下错误: /bin/bash^M: bad interpreter: No such file or directory
Weiyang
2020/08/14
3K0
EasyCVR启动时报错“no such file or directory”,该如何解决?
EasyCVR支持海量视频汇聚管理,可提供视频监控直播、云端录像、云存储、录像检索与回看、智能告警、平台级联、智能分析等视频服务。平台支持设备通过国标GB28181、RTMP、RTSP/Onvif、海康SDK、大华SDK、Ehome等协议接入,对外可分发RTSP、RTMP、FLV、HLS、WebRTC等格式的视频流。
TSINGSEE青犀视频
2022/08/01
4090
Cannot open include file: '****.h': No such file or directory
我在解析libxml,使用libxml创建xml文件的时候,遇到了这个问题。 这个问题产生的主要原因是没找到对应的头文件,可以在系统中进行设置 比如vc 通过菜单栏中的工具--选项--目录--include File,把此头文件包含进去就可以了 在解析libxml的时候,需要引用到三个文件,分别的 zlib-1.2.5 libxml2-2.7.6.win32 iconv-1.9.2.win32 可以直接将这三个文件对应的内容设置到环境变量中,也可以直接拷到system32目录下,然后进行编译,OK,顺利通
cloudskyme
2018/03/19
1.5K0
linux的shell脚本报错/bin/bash^M: bad interpreter: No such file or directory,
一 起因 脚本是在windows上编写完成传到Linux服务器上的,一执行就报错 /bin/bash^M: bad interpreter: No such file or directory, 二 方法 通过查阅资料得知,shell脚本格式必须是unix才行 vim编辑文件 $ vim filename 进入底行模式执行以下命令,将文件设置为unix格式, $ :set ff=unix 保存退出 $ :wq 三 真正的方法 最简单的方法,不在windows编写,直接复制粘贴到linux中的文件即可
ydymz
2021/01/05
1.4K0
pyinstaller打包python-docx报错 No such file or directory (default-header.xml)
两个报错是类似的. 都是路径问题, 按理说不应该, 因为打包前是正常的, 打包后也不应该出问题, 好在问题比较简单, 只是路径的拼接问题. 查看实际路径发现 docx下面没得parts.
大大刺猬
2022/09/07
8010
MXNet GluonTS使用报错:OSError: libnccl.so.2: cannot open shared object file: No such file or directory
在使用 GPU 服务器安装 GluonTS 做时间序列预测有关的项目时,报错如下(吐槽,用 MXNet 的时候,经常遇到报错emmm):
叶庭云
2022/05/09
1.6K0
MXNet GluonTS使用报错:OSError: libnccl.so.2: cannot open shared object file: No such file or directory
【node错误】/usr/bin/env: node: No such file or directory
背景 安装了node后,执行npm run xxx的命令的时候,报错,提示如下: /usr/bin/env: node: No such file or directory 步骤 1. 什么玩意,执行一个npm命令怎么提示/usr/bin/env这个错误呢,翻阅资料 资料都提示要创建一个软连接,如下: ln -s /usr/bin/nodejs /usr/bin/node 2. 推测!!因为npm执行的时候默认是使用/usr/bin/node去执行的,但我本地是没有/usr/bin/node的,所以需要创建
千往
2018/01/24
17.1K0

相似问题

java file报错?

1535

No such file or directory?

1907

file协议报错?

1551

SCP No such file or directory?

216.9K

物联网云Android sdk官方例程编译报错,如何解决?

1268
相关问答用户
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档