obuil 发表于 2014-3-2 10:03 AM 
请报告 详细一点的情况,
1) vp版本 vc版本,是否打过补丁
2) 使用的是自带的例子,还是自建的工程?deb ...
(1)lynx prime 2.2.1
(2)vc20003 version 7.1.3091
(3)自建的工程,使用的是debug模式
(4)错误处在
UINT qj::CTS_RunBasicThread(LPVOID)//VP主线程
{
vp::initialize(__argc,__argv); // initialize Vega Prime
qj::CTS_Define();//定义场景
vpKernel::instance()->configure();
vpObject*fsc=vpObject::find("fasc");//fasc为模型名称
fsc->ref();
qj::m_shuqi=static_cast<vsDOF*>(fsc->find_named("shuqiDOF"));//shuiqiDOF为DOF模块的名称
qj::m_shuqi->ref();
debug后出现的结果为
vptestmfc.exe 中的 0x00422045 处未处理的异常: 0xC0000005: 读取位置 0x00000000 时发生访问冲突 。
- fsc 0x00000000 {m_nodeSubscriber=??? m_autoPage=??? m_copySource={m_pointee=??? } ...} vpObject *
+ vpTransform {m_coordConv={m_pointee=??? } m_currConv={m_pointee=??? } m_localized=??? ...} vpTransform
+ vpGeometryPageable {m_pFileName={m_pStr=??? m_sz=??? } m_loaderData={m_loaderOptions=0x000000c8 m_useUnits=??? m_detailMultiTextureStage=??? ...} m_postLoadOptions={m_option=0x00000140 } ...} vpGeometryPageable
m_nodeSubscriber CXX0017: 错误: 没有找到符号“vsNodePostUpdateSubscriber” vsNodePostUpdateSubscriber *
m_autoPage CXX0030: 错误: 无法计算表达式的值 vpObject::AutoPage
+ m_copySource {m_pointee=??? } vuField<vpObject const *,vuFieldTraitMemBase>
m_bHasBeenAutoPagedIn CXX0030: 错误: 无法计算表达式的值 bool
+ m_manualLODFilter {m_pointee=??? } vuField<vsLODFilterManual *,vuFieldTraitBase>
+ m_copySourceOptions {m_entries={m_container={first=??? last=???} } } vsgu::Options
希望版主给我解答一下。。
|