Problem found:

ReaderWriterOSG.cpp
107 line - 

std::ifstream fin(fileName.c_str());
            if (fin) //FALSE!!!!
            {
                return readNode(fin, local_opt.get());
            }
            return 0L;

// The "open" method on pre-MSVC8 ifstream implementations doesn't accept a
// wchar_t* filename, so use _wfopen directly in that case.  For VC8 and
// later, _wfopen has been deprecated in favor of _wfopen_s, which does
// not exist in earlier versions, so let the ifstream open the file itself.

Can somebody help me? 
Thanks in advance.








27.02.08, 18:18, "Robert Osfield" <[EMAIL PROTECTED]>:

> Hi,
> On Wed, Feb 27, 2008 at 3:12 PM, GMD GammerMaxyandex.ru
> <[EMAIL PROTECTED]> wrote:
> > readNodeFile function couldn't find and read filename with russian 
> > letters(if filename contains russian letters).
> >  This promlem is specific for OSG version up 2.0.
> >  This problem was not exist at 1.x versions.
> >
> >  set OSG_NOTIFY_LEVEL=DEBUG
> >  osgviewer D:/LABs/тепло/lab4/bin/osg/all.osg
> >  ...
> >  Opened DynamicLibrary osgPlugins-2.3.2/osgdb_osg.dll
> >   FindFileInPath(D:/LABs/?????/lab4/bin/osg/all.osg): returning
> >   D:/LABs/?????/lab4/bin/osg/all.osg
> >   D:\DEVELOP\OSG\OpenSceneGraph-2.3.2\bin\osgviewer.EXE: No data loaded
> >
> >  ....
> >  !!!!!!
> >  D:/LABs/?????/lab4/bin/osg/all.osg
> >          ^^^
> >  D:/LABs/тепло/lab4/bin/osg/all.osg   !!!!!!!
> I don't know the source of the problem, and others are only likely to
> know the issue if they've seen it first hand, and if they had they
> likely would have reported it.  So.. I'm afraid the one with the best
> chance of finding the source of this issue is yourself - you have the
> directories/files in front of you that reproduce the problem, others
> don't.
> Might I suggest adding some break points in the the findFileInPath
> method and stepping through it and see what happens.
> Robert.
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

--
Зал славы: все победители конкурсов на Яндекс.Фотках 
http://fotki.yandex.ru/contests.xml
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to