查看: 1591|回复: 1

MFC_OSG程序发布问题

[复制链接]

该用户从未签到

发表于 2011-5-24 16:37:17 | 显示全部楼层 |阅读模式
本帖最后由 xxzxlx 于 2011-5-24 16:38 编辑

用OSG在MFC框架下做了几个菜单,用于浏览一些模型。
但把EXE和相应的库文件放到虚拟机上运行了下,提示应用程序正常初始化失败,
用dependency walker打开exe,如下

  1. Error: The Side-by-Side configuration information for "f:\test-exe\OSG60-OSG.DLL" contains errors.  (14001).
  2. Error: The Side-by-Side configuration information for "f:\test-exe\OT11-OPENTHREADS.DLL" contains errors.  (14001).
  3. Error: The Side-by-Side configuration information for "f:\test-exe\OSG60-OSGDB.DLL" contains errors.  (14001).
  4. Error: The Side-by-Side configuration information for "f:\test-exe\OSG60-OSGUTIL.DLL" contains errors.  (14001).
  5. Error: The Side-by-Side configuration information for "f:\test-exe\OSG60-OSGGA.DLL" contains errors.  (14001).
  6. Error: The Side-by-Side configuration information for "f:\test-exe\OSG60-OSGVIEWER.DLL" contains errors.  (14001).
  7. Error: The Side-by-Side configuration information for "f:\test-exe\OSG60-OSGTEXT.DLL" contains errors.  (14001).
  8. Error: The Side-by-Side configuration information for "f:\test-exe\OSGEARTH.DLL" contains errors.  (14001).
  9. Error: The Side-by-Side configuration information for "f:\test-exe\OSG60-OSGTERRAIN.DLL" contains errors.  (14001).
  10. Error: The Side-by-Side configuration information for "f:\test-exe\OSG60-OSGSHADOW.DLL" contains errors.  (14001).
  11. Error: The Side-by-Side configuration information for "f:\test-exe\LIBCURL.DLL" contains errors.  (14001).
  12. Error: The Side-by-Side configuration information for "f:\test-exe\GDAL17.DLL" contains errors.  (14001).
  13. Error: The Side-by-Side configuration information for "f:\test-exe\OSGEARTHUTIL.DLL" contains errors.  (14001).
  14. Error: The Side-by-Side configuration information for "f:\test-exe\OSGEARTHFEATURES.DLL" contains errors.  (14001).
  15. Error: The Side-by-Side configuration information for "f:\test-exe\OSGEARTHSYMBOLOGY.DLL" contains errors.  (14001).
  16. Error: The Side-by-Side configuration information for "f:\test-exe\OSG60-OSGSIM.DLL" contains errors.  (14001).
  17. Warning: At least one delay-load dependency module was not found.
  18. Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.

复制代码

请教下这是我OSG库的版本不对?环境 OSG 2.9.5 +VS2008SP1

已做:
1. 我建了一个测试MFC工程(没OSG库),把它拷贝到虚拟机,附带Microsoft.VC90.MFC mainfest和dll等文件,可以运行
2.我在本机把MFC_OSG.EXE及相关OSG库拷贝到一个文件夹,本机可以运行~~
3. 我把MFC_OSG.EXE及相关OSG库和Microsoft.VC90.MFC mainfest和dll等文件拷贝到虚拟机~不能运行

该用户从未签到

发表于 2011-5-24 19:13:48 | 显示全部楼层
这个是2008配置的问题需要装一个2008运行环境,你到网上下载一个
您需要登录后才可以回帖 登录 | 注册

本版积分规则

OSG中国官方论坛-有您OSG在中国才更好

网站简介:osgChina是国内首个三维相关技术开源社区,旨在为国内更多的技术开发人员提供最前沿的技术资讯,为更多的三维从业者提供一个学习、交流的技术平台。

联系我们

  • 工作时间:09:00--18:00
  • 反馈邮箱:1315785073@qq.com
快速回复 返回顶部 返回列表