I get this error on Mac OSX 10.5 DataInputStream::readCharArray(): Failed to read char value. ./bin/osgviewer.app/Contents/MacOS/osgviewer: No data loaded
Gerrick On 10/28/08 11:13 AM, "Jean-Sébastien Guay" <[EMAIL PROTECTED]> wrote: > Hi Robert, > >> The readsome() returns if data isn't available yet, it doesn't wait >> like read. You could try changing the code across to using read() and >> gcount() to find out how many bytes have been read. >> >> What platform are you working on? > > Just to add another report, I get the same error as Lionel: > > DataInputStream::readCharArray(): Failed to read char value. > > I'm using the zlib binary that was in Mike's 3rdParty binaries for > Visual Studio 8.0 SP1, which I think is the one that was compiled with > libpng (not built separately). Not sure if that has any bearing on the > problem, just thought I'd mention it. > > I don't have time to debug this myself, so I'll hang back and let others > puzzle it out. I can give plenty of moral support though! :-) > > J-S _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org