|
环境:vs2010 + win7_64
osg3.0.1 + ARToolkit 2.72.1 => osgART 2.0 RC
所有库均为现编译生成,且分别对应debug和release版本,项目依赖也分别对应好,之前在xp_32位系统下均正常运行
代码:
if (!osgART:luginManager::instance()->load("osgart_video_artoolkit2"))//加载osgart_video_artoolkit2_debug.dll动态库
{
std::cerr<<"couldn't load plugin : osgart_video_artoolkit2\n";
exit(-1);
}
load("osgart_video_artoolkit2")对应调用的是osgDB:ynamicLibrary* lib = osgDB::DynamicLibrary::loadLibrary(fullName);为osgDBd.dll中函数
单步跟踪到此处就进不去loadLibrary了,就会看到abort在 retval = HeapFree(_crtheap, 0, pBlock);//free.c
目前没有找到什么解决方案,请各位大牛指点!!!
PS:在debug 和 release下分别测试最简单的用到osgDB.dll中读写模型的函数均正常运行 |
|