hi,LiTing
I have met the program when using OSG1.2 on VC2005 ,maybe there are
chinese charactors in you path to read the file. If your program is the same
as me .you can add the follow statement at the beginning of your program
std::locale::global(std::locale(""));
2007/6/19, Stefan Kombrink <[EMAIL PROTECTED]>:
Once I had the same problem, because I was using different builds.
The plugins are searched in PATH and if the build doesn't match it
loads anyways but crashes on file import.
2007/6/19, litingbaotou <[EMAIL PROTECTED]>:
>
>
> Hi,
>
> When I debug the example osgviewerMFC, it works ok until I open a
osg or
> ive file, its osgDB::readNodeFile() returns NULL and the application
> crashes. I tried osgDB.lib, osgDB.dll , osgDBd.lib and osgDBd.dll, none
of
> them can help.
> I tried to copy these dlls to my system32 and it's still the same error.
> These test are all in Visual C++.net 2003 with WindowsXP SP2.
>
>
> When I use VC2005 to build the program, it also crashs when I open a
> file, but this time it breaks at
> keyswitchManipulator->selectMatrixManipulator(0);
> I don't know why it happens.
>
> Plus, I used CMake to generate .vcproj and .sln, and then generate
osg's
> libs and dlls. Is there some wrong thing I did?
>
> Wish your help and thanks.
>
> LiTing
>
>
> ________________________________
>
> litingbaotou
> 2007-06-19
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/
>
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
--
Institute of Graphics and Image
Hangzhou Dianzi University
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/