CxImage 移植 到 wince 问题

seayou 2008-10-09 06:01:52
我把 Cximage 移植到wince , 生成的是dll, 然后 demo主程序里调用。 demo 和 Cximage 的哪些工程 放在一个 解决方案下面, 然后设置了一下依赖关系。
总是 无缘无故 出现程序异常,如下: demo.exe 执行了一个非法操作,将关闭。 异常:0xC00000FD

...全文
1058 24 打赏 收藏 转发到动态 举报
写回复
用AI写文章
24 条回复
切换为时间正序
请发表友善的回复…
发表回复
kvkvmedoly 2010-03-15
  • 打赏
  • 举报
回复
我现在也要移植它到WinCE 平台下,编译总是通不过,麻烦哪位移植成功的仁兄指点一二,谢谢!
xqhrs232 2010-03-02
  • 打赏
  • 举报
回复
做几记号,也许将来要用!!!
MichaelNZ 2010-01-22
  • 打赏
  • 举报
回复
0xC00000FD是栈空间太小了,以前遇到过

工程属性-〉Link-〉Stack
Reserve -〉0x100000(1M)
commit-> 0x1000(4K)
dzq138 2009-12-27
  • 打赏
  • 举报
回复
留个脚印.
我现在也碰到一个问题.
在CE中,大文件没法读出来,现在还得慢慢改代码,指定一个小区域,读出来显示..
Rain10276599 2009-11-24
  • 打赏
  • 举报
回复
我从Cximage的官网上下的CE下的工程,但是直接编译不过,N多底层库的错误,都不知道从何下手,能否指点一下如何在pocket PC2003中编译通过,Thanks。

我的编译器,在Pocket PC下,头文件的包含顺序如下:
$(VSInstallDir)SmartDevices\SDK\PocketPC2003\include
$(VCInstallDir)ce\include
$(VCInstallDir)ce\atlmfc\include
$(VSInstallDir)SmartDevices\SDK\SQL Server\Mobile\v3.0
是否还需要其他的设置吗?
急~~~~~~~~~~~~~~~~~~~~~~~~~~~
zongfangaozfg 2009-10-10
  • 打赏
  • 举报
回复
我也试过,在POCKET PC 2003上可以编译运行,
但是移植到我的平台下就编译错误,我的平台是CE6.0 SKD是 DevKit8000_SDK (ARMV4I)
遇到一大堆头文件错误,都是函数重定义:
CxImage里面的文件夹 wcecompat 重新定义了一些函数,导致编译失败,怎么办?
错误举例:
1>------ 已启动生成: 项目: tiff, 配置: Debug DevKit8000_SDK (ARMV4I) ------
1>正在编译...
1>assert.cpp
1>d:\myfield\ce\移植\wcecompat\include\memory.h(35) : error C2556: 'void *memchr(const void *,int,size_t)' : overloaded function differs only by return type from 'const void *memchr(const void *,int,size_t)'
zjbtony 2009-03-17
  • 打赏
  • 举报
回复
顶 起来
zjbtony 2009-03-16
  • 打赏
  • 举报
回复
ironox: 不知道你的问题解决了没有啊,我丢出来的错误和你是一样的,也是用的三星6400的平台。
请指教。
mail:zjbtony@126.com
msn: zjbtony@hotmail.com
zjbtony 2009-03-16
  • 打赏
  • 举报
回复
还是不行啊,我的平台也是wince 6.0的平台。
儿大不由爷 2009-03-16
  • 打赏
  • 举报
回复
好像把默认的堆栈大小改了就行了
儿大不由爷 2009-03-16
  • 打赏
  • 举报
回复
好像把默认的堆栈大小改了就行了
ironox 2008-12-27
  • 打赏
  • 举报
回复
我重新新建了个项目
只碰到一个错误

cximage\tiff\tiffcomp.h(64) : fatal error C1083: Cannot open include file: 'sys/types.h': No such file or directory

把tiff支持屏蔽掉以后 倒是可以通过编译

但是 在一个使用cximage.lib的demo里又出问题了


1>png.lib(pngread.obj) : error LNK2019: unresolved external symbol abort referenced in function png_create_read_struct_2
1>png.lib(pngwrite.obj) : error LNK2001: unresolved external symbol abort



编译过的同志帮忙提供源码吧,,

正在编译的请 联系我 一起攻关(直接站内短信就可以,)

我是在wince 6.0 上编译
wb_sxck 2008-12-24
  • 打赏
  • 举报
回复
我移植成功过,没必要的宏定义就屏蔽掉。
到时好像改了一大堆。
aduhupu 2008-12-24
  • 打赏
  • 举报
回复
我也正打算移植
ironox 2008-12-23
  • 打赏
  • 举报
回复
我估计也是配置问题
但是 对比了很久 发现配置都一样的啊
就是换了个SDK
evccode 2008-12-23
  • 打赏
  • 举报
回复
这不是代码问题,是环境配置问题。

请WINCE与POCKET PC配置一致,应该就没问题了。
ironox 2008-12-23
  • 打赏
  • 举报
回复
1>D:\Program Files\Windows CE Tools\wce600\SDK1\include\ARMV4I\stdlib.h(233) : error C2556: 'const char *strpbrk(const char *,const char *)' : overloaded function differs only by return type from 'char *strpbrk(const char *,const char *)'
1> ..\wcecompat\include\string.h(85) : see declaration of 'strpbrk'
1>D:\Program Files\Windows CE Tools\wce600\SDK1\include\ARMV4I\stdlib.h(233) : error C2373: 'strpbrk' : redefinition; different type modifiers
1> ..\wcecompat\include\string.h(85) : see declaration of 'strpbrk'
1>D:\Program Files\Windows CE Tools\wce600\SDK1\include\ARMV4I\stdlib.h(234) : error C2556: 'const char *strrchr(const char *,int)' : overloaded function differs only by return type from 'char *strrchr(const char *,int)'
1> ..\wcecompat\include\string.h(86) : see declaration of 'strrchr'
1>D:\Program Files\Windows CE Tools\wce600\SDK1\include\ARMV4I\stdlib.h(234) : error C2373: 'strrchr' : redefinition; different type modifiers
1> ..\wcecompat\include\string.h(86) : see declaration of 'strrchr'
1>D:\Program Files\Windows CE Tools\wce600\SDK1\include\ARMV4I\stdlib.h(246) : error C2264: 'strchr' : error in function definition or declaration; function not called
1>D:\Program Files\Windows CE Tools\wce600\SDK1\include\ARMV4I\stdlib.h(248) : error C2264: 'strpbrk' : error in function definition or declaration; function not called
1>D:\Program Files\Windows CE Tools\wce600\SDK1\include\ARMV4I\stdlib.h(250) : error C2264: 'strrchr' : error in function definition or declaration; function not called
1>D:\Program Files\Windows CE Tools\wce600\SDK1\include\ARMV4I\stdlib.h(252) : error C2264: 'strstr' : error in function definition or declaration; function not called

这是我在我的SDK中编译的时候 产生的错误 这只是一小段,总共有505个。

但是在POCKET PC 2003 上 没任何问题!

1>Copyright (C) Microsoft Corporation. All rights reserved.
1>BSCMAKE: error BK1506 : cannot open file '.\SDK1 (ARMV4I)\Debug\ximatga.sbr': No such file or directory
1>Project : warning PRJ0018 : The following environment variables were not found:
1>$(CePlatform)
1>Build log was saved at "CxImage\SDK1 (ARMV4I)\Debug\BuildLog.htm"
1>cximage - 505 error(s), 2 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
jinlking 2008-12-23
  • 打赏
  • 举报
回复
up
91program 2008-12-22
  • 打赏
  • 举报
回复
Cximage 在一年多以前,已经在我的项目中用过,应该是没有问题的。
qqlpp 2008-12-22
  • 打赏
  • 举报
回复
帮顶
加载更多回复(4)

19,502

社区成员

发帖
与我相关
我的任务
社区描述
硬件/嵌入开发 嵌入开发(WinCE)
社区管理员
  • 嵌入开发(WinCE)社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧