wince tcpmp移植相关
来源:互联网 发布:数据挖掘导论中文答案 编辑:程序博客网 时间:2024/06/09 16:47
tcpmp:移植:
————————————————————————————————————
TCPMP停止播放:
Player->Set(Player,PLAYER_STOP,NULL,0);
而不是:
// b = 1;
//Player->Set(Player,PLAYER_STOP,&b,sizeof(b));
——————————————————————————————————————————————————————————————————
if(Context_Init((tchar_t*)T("TCPMP"),(tchar_t*)T("0.72SRC"),3,NULL, NULL))
{
//player* Player = (player *)Context()->Player;
//bool_t b = 0;
//Player->Set(Player,PLAYER_PLAY,&b,sizeof(b));
//int n = 0;
//Player->Set(Player,PLAYER_LIST_COUNT,&n,sizeof(n));
Context_Wnd((void*)(::GetDlgItem(m_hWnd, IDC_STATICPLAYER)));//必须要的
}
player* Player = (player *)Context()->Player;
bool_t b = 0;
//Player->Set(Player,PLAYER_PLAY,&b,sizeof(b));
//int n = 0;
//Player->Set(Player,PLAYER_LIST_COUNT,&n,sizeof(n));
LPCTSTR pszFileName = _T("//sdmmc//mp3//nocturne.mp3");
PlayerAdd(Player, 0, (const tchar_t *)pszFileName, NULL);
//int vol = 50;
//Player->Set(Player,PLAYER_VOLUME,&vol,sizeof(int));//可以不要
b = 1;
Player->Set(Player,PLAYER_PLAY,&b,sizeof(b));
大家谁编译过TCPMP
在网上下载了一个TCPMP0.72的源码,evc4.0编译,在emulator环境下可以运行。
但是到了ARMV4I下,common目录编译总是出错,以下是出错信息,各位谁编译
成功过,指点一下
Linking...
Creating library ARMV4IDbg/common.lib and object ARMV4IDbg/common.exp
platform.obj : error LNK2019: unresolved external symbol CPUSpeedClk referenced in function CPUSpeed
block_c.obj : error LNK2019: unresolved external symbol CopyBlock8x8 referenced in function Copy420
block_half.obj : error LNK2019: unresolved external symbol CopyBlock8x8 referenced in function Copy420Half
block_wmmx.obj : error LNK2001: unresolved external symbol CopyBlock8x8
idct_c.obj : error LNK2001: unresolved external symbol CopyBlock8x8
block_c.obj : error LNK2019: unresolved external symbol CopyBlock16x16 referenced in function Copy420
block_c.obj : error LNK2019: unresolved external symbol IDCT_Block8x8 referenced in function Intra8x8
block_wmmx.obj : error LNK2001: unresolved external symbol IDCT_Block8x8
block_c.obj : error LNK2019: unresolved external symbol IDCT_Block4x8 referenced in function Intra8x8
block_wmmx.obj : error LNK2001: unresolved external symbol IDCT_Block4x8
block_c.obj : error LNK2019: unresolved external symbol IDCT_Block8x8Swap referenced in function Intra8x8Swap
block_wmmx.obj : error LNK2001: unresolved external symbol IDCT_Block8x8Swap
block_c.obj : error LNK2019: unresolved external symbol IDCT_Block4x8Swap referenced in function Intra8x8Swap
block_wmmx.obj : error LNK2001: unresolved external symbol IDCT_Block4x8Swap
block_wmmx.obj : error LNK2019: unresolved external symbol WMMXIDCT_Const8x8 referenced in function WMMXInter8x8BackFwd
softidct.obj : error LNK2001: unresolved external symbol CopyBlockHorVerRound
zhoupeng1979 2009-1-6 11:45
问题解决了,是汇编的问题
xiechuxin 2009-1-8 17:25
请教:如何解决
我也遇到同样的问题,请教下如何解决
zhoupeng1979 2009-1-14 11:35
在几个汇编文件上加上编译选项:
armasm -32 -cpu xscale "$(InputPath)" "$(IntDir)/$(InputName).obj" -list "$(IntDir)/$(InputName).lst"
输出增加:
$(IntDir)/$(InputName).obj
- wince tcpmp移植相关
- wince tcpmp移植相关
- wince tcpmp移植相关
- WINCE TCPMP应用一:TCPMP概述
- WINCE TCPMP应用一:TCPMP概述
- WINCE TCPMP应用一:TCPMP概述
- TCPMP相关资源
- zz--WINCE TCPMP应用四:利用TCPMP插件开发程序
- WINCE TCPMP应用三:TCPMP的播放模块
- WINCE TCPMP应用四:利用TCPMP插件开发程序
- WINCE TCPMP应用三:TCPMP的播放模块
- WINCE TCPMP应用四:利用TCPMP插件开发程序
- WINCE TCPMP应用三:TCPMP的播放模块
- WINCE TCPMP应用四:利用TCPMP插件开发程序
- WINCE TCPMP应用二: COMMON.DLL解析
- WINCE TCPMP应用二: COMMON.DLL解析
- WINCE TCPMP应用二: COMMON.DLL解析
- wince 移植
- [SQL Server]延迟执行
- C#实现的根据日期得到今天是星期几
- VS2005下如何安装配置编译Qt4.5
- 贪心算法详解
- HDOJ 1029 Ignatius and the Princess IV [map]
- wince tcpmp移植相关
- regular express difference in visual studio
- CET-4
- 用碎玻璃“洗脸”的奇人
- Google.com去掉了Google search搜索按钮
- bt porting
- Linux网管学习笔记(12)Linux内核到底有多安全?
- getpid/getppid系统调用
- Brew程序的自动启动