|
发表于 2010-11-19 11:53:23
|
显示全部楼层
我也遇到相同的问题,release 版本没问题,运行debug版本,设置notify_level 为debug,得到信息如下:
C:\OpenSceneGraph-2.8.2\OpenSceneGraph\build\bin>osgviewerd.exe XXX.ive
GraphicsContext::setWindowingSystemInterface()
......
itr='C:\OpenSceneGraph-2.8.2\OpenSceneGraph\build\bin'
FindFileInPath() : trying C:\OpenSceneGraph-2.8.2\OpenSceneGraph\build\bin\osgpl
ugins-2.8.2\osgdb_ived.dll ...
FindFileInPath() : USING C:\OpenSceneGraph-2.8.2\OpenSceneGraph\build\bin\osgplu
gins-2.8.2\osgdb_ived.dll
DynamicLibrary::failed loading "osgPlugins-2.8.2/osgdb_ived.dll"
Warning: Could not find plugin to read objects from file "XXX.ive".
osgviewerd.exe: No data loaded
Viewer::~Viewer():: start destructor getThreads = 0
.......
我的系统xp,vs2003,测试之前刚刚rebuild debug 和release版本的ive plugin. |
|