工具/软件:TI C/C++编译器
开发环境:
台式电脑:Linux Ubuntu 14.04 LTS。
AM335x SDK 版本:V03.02
步骤1:从 TI 网站下载 SDK V03.02 - http://software-dl.ti.com/processor-sdk-linux/esd/AM335X/latest/index_FDS.html - ti-processor-sdk-linux-am335x-evm-03.02.00.05-Linux-x86-Install.bin 、并按照 TI 网站 - http://processors.wiki.ti.com/index.php/Processor_SDK_Linux_Installer 中提供的安装步骤安装在台式电脑上
步骤2:按照 TI 网站 - http://processors.wiki.ti.com/index.php/Processor_SDK_Linux_create_SD_card_script 中提到的步骤格式化新的 SD 卡
步骤3:预构建的映像作为 SD 卡的内容加载、该 SD 卡通过 AM335x 入门套件在创建的分区上接收。
步骤4:按照上图排列了开发环境。 正在连接 Beagle Bone AM335x 入门套件。 插入 SD 卡插槽并引导。 AM335x 入门套件已正确引导。
步骤5:访问下面的 TI 网站、开始使用 Linux SDK。 http://processors.wiki.ti.com/index.php/Processor_SDK_Linux_Training:_Hands_on_with_the_Linux_SDK 在 Linux 桌面上安装了 CCS V6.1.3。 根据上述链接中给出的示例创建了新的 CCS 工程。 设置用于编译 hello world 程序的交叉编译器路径。 已按照给定的步骤配置远程系统探索(RSE)。 已将 hello world 可执行文件传输到目标-/home/root 将权限更改为可执行文件并尝试执行。 HelloWorld 可执行文件已正确执行。
步骤6:按照 TI 网站- http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_Hands_on_with_QT 创建 QT 应用程序。 已按照上述链接中的实验1:hello World 命令行过程进行操作。 按照实验练习1中提供的步骤创建了 helloworld 可执行文件。 使用以下命令将可执行文件复制到目标中。 SCP helloworld root@xx.xx.xx.xx:/home/root ./hellowworld 执行并尝试执行-./helloworld.and executed properly。
步骤8:按照 TI 网站- http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_Hands_on_with_QT 创建 QT 应用。 按照上述链接中的实验练习2:hello World 命令行过程进行操作。 按照实验练习2中提供的步骤尝试创建 helloworld 可执行文件的过程设置 QT 环境。 当尝试构建应用程序时,会出现一个编译问题,提示“stubs-soft.h not found”(找不到)。 但 gcc 是使用标志 mfloat-abi=hard 构建的。
我无法解决“stubs-soft.h 找不到” 问题。 请在这方面提供帮助。 提前感谢。
寄存器 Qt
中国。
