Hi Carsten
> Hm, the log looks quite normal to me and I must admit that the whole
> issue is very confusing to me.
> Ok, so lets take a step back.
> - How did you compile the libraries (scons or configure/make) and what
> options did pass ?
I compiled following the instructions to build under mac: http://
opensg.vrsource.org/trac/wiki/BuildMacOSX
The only thing I omitted was including the Jasper library, but since
I am not loading/using any picture files, that shouldn't be a problem
I guess!?
> - Can you run the test programs or the tutorials ?
Yep, they run. But here I just found out a curious thing: If I
compile the tutorials with the provided makefile in the terminal the
05Geometry example (which basicly uses the same functions I am having
trouble with) is running. If I create a project of the 05Geometry.cpp
in xCode it compiles, but crashes with exactly the same NullFC
problem. So I was thinking that maybe I am missing some compile/link
options or a #define? Because in the last case (05Geometry under
xCode) I also had to define OSG_WITH_GLUT to make it at least compile.
> - Near the point where your program crashes, can you insert the
> following:
>
> GeoPTypesUI8::getClassType().dump();
> FieldContainerPtr proto = GeoPTypesUI8::getClassType().getPrototype();
> if(proto != NullFC)
> {
> proto->dump();
> }
> else
> {
> std::cerr << "Prototype for GeoPTypesUI8 is NullFC"
> << std::endl;
> }
Did that. The additional output I get now is this:
LOG: FieldContainerType: GeoPTypesUI8, Id: 375, parentP: GeoPTypes,
groupId: 45, abstract: false 3
LOG: Desc : parents
LOG: Desc : internal
LOG: Desc : types
Attachment(45) : GeoPTypesUI8(0x28142708)
[
Parents :
]
{
}
> - Now that the correct debug libs are used, maybe you have more luck
> with the debugger?
I was hoping that too, but no change for that ... Might be me and my
lack of MAC/xCode knowledge but might be, that this debugger is just
not so helpful :-/
> Sorry for the vague ideas, but I have no idea what might be the reason
> for the crash
Well you helped a lot up to know, don't know what to do without you ;)
Thanks
Michael
PS: If I don't respond in the next days it's due to a little vacation
I planned and not because I solved the bug or hung myself ;)
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users