引用 DM365 CCS 编译 210_V_H264AVC_E_01_00 环境配置

 

引用

键盘棒棒DM365 CCS 编译 210_V_H264AVC_E_01_00 环境配置
昨天,编译210_V_H264AVC_E_01_00这个工程,一编译一大堆错误,不过一看错误原因只有一个没有compiler.opt这个文件,后来一看h264_encoder_dm365_userguide.pdf文档,才发现要配置的环境变量还有几个。原文的配置步骤:
1) Verify that you have an installation of TI’s Code Composer Studio
version 3.3.81.6 (Service Release-11) and code generation tools as
provided in the Release Note.
2) Verify the SDXDS560R JTAG driver installation version 30329A
3) Check SW4 and SW5 switch positions of the DM365 EVM. Bit 2 and 3
of SW4 should be set to 1 and remaining should be set to 0.
4) Open Setup Code Composer Studio v3.3.
5) Select File > Import and browse for the .ccs file and add it.
6) Save the configuration and exit from setup Code Composer Studio.
PDM opens and displays both ARM926 and ARM968 processors.
7) Right click on ARM926 and connect.
8) Double-click ARM926 to launch Code Composer Studio IDE for the
host processor.
9) Verify if the codec object library h264venc_ti_arm926.lib exists in the
\lib sub-directory.
10) Verify if the codec DMA object library dma_ti_dm365.lib exists in the
\lib sub-directory.
11) Ensure that you have installed the XDC and Framework components
releases with version numbers that are mentioned in the release notes.
12) For installing framework component, unzip the content at some
location and set the path of the base folder in FC_INSTALL_DIR
environment variable
13) Ensure that the installed XDC directory is in the general search PATH.
14) Run Dosrun.bat, which comes along with CCS installation.
15) Open the MS-DOS command prompt at the directory
\client\build\arm926 sub-directory of the release folder.
16) Type the command gmake –f h264venc_ti_dm365testapp.mak at the
prompt and this generates an executable file,
h264venc_ti_arm926testapp.out in the \client\build\arm926\out subdirectory.

主要的是第12步开始
需要配置一个环境变量
FC_INSTALL_DIR 它是 framework component的安装路径
第13步配置XDC的环境变量 XDAIS_INSTALL_DIR XDC的安装路径
第14步运行CCS安装目录下的dosrun.bat文件
第15、16 是在工程目录下运行
gmake –f h264venc_ti_dm365testapp.mak 命令。
注意:需要将gmake的路径加到 PATH下否则找不到gmake

一些列哗哗的输出之后就生成了我们CCS需要编译的文件了比如:link.cmd compiler.opt等
很好奇compiler.opt 里面是一些什么内容,这么重要导致我在第一次编译的时候出现这么多错误,打开一看的确很重要,因为里面是一些编译的配置-me -mt -mv5e --abi=ti_arm9_abi -I"F:/DM365CCS_SDK/framework_components_2_23_02/fctools/packages" 等等
现在在CCS下编译这个工程 哗哗哗的通过了。

在配置这个环境中昨天晚上搞到10点多都没有搞出来,按着步骤是一步一步的做配置环境变量但是就是最后一步gmake的时候出错,一开始提示说gmake不是内部命令或程序,于是我把gmake拷贝到 工程目录下 在运行 gmake -f h264venc_ti_dm365testapp.mak  提示说link.cmd
找不到,搜索了一下整个工程目录没有找到link.cmd的文件,当时觉得是因为没有link.cmd这个文件导致 gmake -f h264venc_ti_dm365testapp.mak失败的,哗哗哗的在网上找这个错误。草今天早上一来 把 gmake 给加到PATH中在把工程目录下的gmake删掉 重新执行 gmake -f h264venc_ti_dm365testapp.mak 哗哗哗的通过了生成了一大堆CCS编译需要的配置文件,在在CCS下编译的时候就哗哗哗的通过了。
哎~~~~真是一步PATH没有配置让我白白的搞了好几个小时。原来link.cmd文件是
gmake -f h264venc_ti_dm365testapp.mak的输出文件。真是郁闷!
注:这个错误是我们老大给提示的!经验呀,老大一来把.mak文件打开一看 他说你link.cmd是他的输出文件,你的这个错误原因绝对不是这个,在一看问把gmake 添加到PATH了吗?这一提醒,哗哗哗!
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值