上一页 1 2 3 4 5 6 7 8 9 ··· 42 下一页
摘要: 修改了makefile中的忽略未初始化告警,还是一样有错误.将源文件修改. /home/hbg/nvidia/Linux_for_Tegra/source/public/kernel_src/kernel/nvidia/drivers/pci/endpoint/functions/pci-epf-t 阅读全文
posted @ 2021-05-25 14:30 hbg-rohens 阅读(1050) 评论(0) 推荐(0) 编辑
摘要: 在ubuntu16.04上编译TX2内核时,出现了如下错误: cc1: error: unrecognized command line option "-mlittle-endian" 百度多次,说是交叉编译工具导致. 目前使用的cc为 aarch64-linux-gnu-gcc 存在于位置/us 阅读全文
posted @ 2021-05-25 11:14 hbg-rohens 阅读(3685) 评论(0) 推荐(0) 编辑
摘要: QT在跨平台中使用很常见,既要开发基于ubuntu,又要开发基于windows情况下,可以使用条件编译来区分平台. 步骤如下: 1. 在pro文件中添加 DEFINES eg: # use linux or windowsDEFINES += RUN_ON_LINUX 2. 在pro文件中区分需要添 阅读全文
posted @ 2021-05-11 10:43 hbg-rohens 阅读(913) 评论(0) 推荐(0) 编辑
摘要: 安装glibc-2.33时遇到如下错误: 解决办法: 更新文件 gawk 和 bison 命令为: sudo apt-get install gawk sudo apt-get install bison 阅读全文
posted @ 2021-05-07 17:07 hbg-rohens 阅读(11626) 评论(0) 推荐(1) 编辑
摘要: 1、使用QT编译出debug或者release版本 2. 将可执行文件拷贝到一个新建的目录下 3. 在这个目录下执行命令 windeployqt 4. 执行可执行文件,查看是否可用 阅读全文
posted @ 2021-04-27 10:58 hbg-rohens 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 使用QT5自带的QSerialPort和QSerialPortInfo进行串口开发时,程序重启或长时间运行时,有时会读取不到串口数据,一次读取不到后,后面无论如何尝试,都读取不到. 为了解决这个bug, 使用qextserialport来代替进行开发. 参考连接: https://blog.csdn 阅读全文
posted @ 2021-04-25 17:19 hbg-rohens 阅读(2033) 评论(0) 推荐(0) 编辑
摘要: 由于tx2使用的python版本至少是3.7以上,而ubuntu16.04默认安装的为3.5. 因此使用命令 sudo apt --remove python3 后,卸载完后无法进入图形界面。(进入后不能执行右键动作,界面上无可执行程序)。 解决办法: 重新安装python3 步骤: 1)按ctrl 阅读全文
posted @ 2021-04-12 10:56 hbg-rohens 阅读(1747) 评论(0) 推荐(0) 编辑
摘要: 由于跨平台编译使用gcc版本不一致导致。 sudo apt install gcc-aarch64-linux-gnu 版本为5.x。 由于TX2最少版本为7.3.1 所以去TX2官网下载gcc版本 # 1) 从下载地址 https://developer.nvidia.com/embedded/l 阅读全文
posted @ 2021-04-09 19:09 hbg-rohens 阅读(2033) 评论(0) 推荐(0) 编辑
摘要: //文件夹是否存在 static bool FolderIsExist(QString strFolder) { QDir tempFolder(strFolder); return tempFolder.exists(); } //文件是否存在 static bool FileIsExist(QS 阅读全文
posted @ 2021-03-31 16:04 hbg-rohens 阅读(619) 评论(0) 推荐(1) 编辑
摘要: 自己只做的QT视频播放器, mp4 rm rmvb avi格式都播放不行,报错 QMediaPlayer::FormatError Warning: "No decoder available for type 'video/x-pn-realvideo, rmversion=(int)2, for 阅读全文
posted @ 2021-03-15 17:40 hbg-rohens 阅读(765) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 42 下一页