Hello Marc,

Marc Hofmann wrote:
> I have problems reading .osb files under 64bit OpenSG 1.8. I can write 
> an .osb file, but when I read it, I get following error message:
> 
> WARNING:  NFIOBase::chargeFieldPtr: couldn't find FieldContainer with id 
> 10852
> WARNING:  NFIOBase::chargeFieldPtr: couldn't find FieldContainer with id 
> 10856
> WARNING:  NFIOBase::chargeFieldPtr: couldn't find FieldContainer with id 
> 10857
> WARNING:  NFIOBase::chargeFieldPtr: couldn't find FieldContainer with id 
> 10853
> WARNING:  NFIOBase::chargeFieldPtr: couldn't find FieldContainer with id 
> 10854
> WARNING:  NFIOBase::chargeFieldPtr: couldn't find FieldContainer with id 
> 10855

this means some objects were not successfully loaded and therefore 
pointers from other containers can not be set to these objects. It would 
be interesting to know what types these objects have. Can you set the 
env variable OSG_LOG_LEVEL to DEBUG and see if it prints any messages 
about unknown types/objects that fail to load?

> WARNING:  could not read
> WARNING:  FILE INTERFACE NOT IMPLEMENTED!
> WARNING:  could not read

the loader first attempts to use a stream based interface and if loading 
with that fails it attempts to use a filename based interface (which in 
this case is not implemented).

> Under 32bit version my code works and the .osb files can be read with 
> 32bit OpenSG. I'm using a self compiled version (debug and optimized) 
> from CVS under Windows and VS 2005.

hm, can you share the problematic file? I've not looked into the 1.x osb 
loader in a long time, but maybe knowing what types it fails to load 
gives a hint where to look.

        Cheers,
                Carsten


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to