Hi Xuex, I have never seen a report about problem like this before, so don't really have any prior experience to bare on it. The code in question has been heavily used by all users for many years without problem so I would suspect a build issue of some kind.
I will be making another dev release of VPB in the next week or so, and this will match to OSG-2.8.0, and would be a better base for you own testing. Right now I'd recommend using the svn version of VPB and OSG-2.8.0 as there have been lots of improvements to OSG since 2.6.0. Robert. 2009/2/19 wind <509459...@qq.com>: > Hi all, > > I got VPB r924 from SVN, and built it with VS2005. The release version > worked smoothly. But when ran the osgdemd.exe with osg2.6.0, the error > "Application initialization failure" jumped out and could trace to file > osgDB/registry: > > " class RegisterDotOsgWrapperProxy > { public: > RegisterDotOsgWrapperProxy(osg::Object* proto, > const std::string& name, > const std::string& associates, > DotOsgWrapper::ReadFunc readFunc, > DotOsgWrapper::WriteFunc writeFunc, > DotOsgWrapper::ReadWriteMode > readWriteMode=DotOsgWrapper::READ_AND_WRITE) > { > if (Registry::instance()) > { > _wrapper = new > DotOsgWrapper(proto,name,associates,readFunc,writeFunc,readWriteMode); > Registry::instance()->addDotOsgWrapper(_wrapper.get());//the > error jumps out > } > }" > > I don't know how to avoid this error. I must have a debug version to > trace some process. Anyone do me a favor? Thanks very much. > > Xuex. > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org