TCPMP 编译

为Windows CE编译tcpmp

1)解压tcpmp.src.0.72RC1.tar.bz2到E:/OpenSourceStudy/tcpmp-WinCE
2)用Embedded VC 4.0打开tcpmp.vcw,执行Build All。
  提示错误:E:/OpenSourceStudy/tcpmp-WinCE/common/portab.h(145): Could not find the file stdint.h.
  解决:注释掉此行。
3)继续Build All
  提示错误:
  Performing Custom Build Step on ./cpu/x86.asm
  'nasm' 不是内部或外部命令,也不是可运行的程序或批处理文件。
  Error executing c:/windows/system32/cmd.exe.
解决:下载nasm-2.05rc5-win32.zip,解压后拷贝nasm.exe到D:/Program Files/Microsoft eMbedded C++ 4.0/Common/EVC/Bin。
4)继续Build All.
  提示错误:
--------------------Configuration: amr - Win32 (WCE ARMV4) Release--------------------
Build : warning : failed to (or don't know how to) build 'E:/OpenSourceStudy/tcpmp-WinCE/amr/26204/if_rom.c'
Compiling...
amrnb.c
e:/opensourcestudy/tcpmp-wince/amr/amrnb.c(27) : fatal error C1083: Cannot open include file: '26104/interf_dec.h': No such file or directory
amrwb.c
e:/opensourcestudy/tcpmp-wince/amr/amrwb.c(27) : fatal error C1083: Cannot open include file: '26204/dec_if.h': No such file or directory

  解决:下载
    http://www.3gpp.org/ftp/Specs/archive/26_series/26.104/26104-610.zip
    
http://www.3gpp.org/ftp/Specs/archive/26_series/26.204/26204-600.zip
    解压后分别copy到
    E:/OpenSourceStudy/tcpmp-WinCE/amr/26104  E:/OpenSourceStudy/tcpmp-WinCE/amr/26204

5)继续Build All
报错:
--------------------Configuration: asap - Win32 (WCE ARMV4) Release--------------------
e:/opensourcestudy/tcpmp-wince/asap/atari800/src/cpu.c(58) : fatal error C1083: Cannot open include file: 'config.h': No such file or directory
mzpokeysnd.c
e:/opensourcestudy/tcpmp-wince/asap/atari800/src/mzpokeysnd.c(25) : fatal error C1083: Cannot open include file: 'config.h': No such file or directory
pokeysnd.c
e:/opensourcestudy/tcpmp-wince/asap/atari800/src/pokeysnd.c(25) : fatal error C1083: Cannot open include file: 'config.h': No such file or directory
asap.c
e:/opensourcestudy/tcpmp-wince/asap/asap/asap.c(24) : fatal error C1083: Cannot open include file: 'config.h': No such file or directory
解决:如下图,对asap项目设置Preprocessor标示ASAP,并添加三个头文件目录。


6)继续Build All,会发现项目flac也需要重新设置。方法如下图:

 

 

 

flac 不影响播放,如果编译不过,去掉依赖性就可以了!本人用的汇编编译器是从VS2005中拷贝出来的ARMNASM.EXE

 

该贴转自http://dahui.blog.ccidnet.com/blog-htm-do-showone-uid-258875-itemid-787253-type-blog.html

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值