Hello,
as advised here I tried to use OpenSG 2.0. After some time I was able to
compile OpenSG 2.0 under Windows (cmake generated project files contains
missing additionally libraries). When I start the provided multithreading
example (Examples\Tutorial\13multithreading2.cpp) the application crashes
during synchronization. Did I miss something and what am I doing wrong?
Callstack:
OSGBase_d.dll!OSG::ChangeList::doApply(bool bClear=true) Zeile 518
+ 0xa Bytes C++
OSGBase_d.dll!OSG::ChangeList::applyAndClear() Zeile 112
C++
DynamicLoad.exe!display() Zeile 143
+ 0x1f Bytes C++
glut32.dll!10004ac9()
Source:
void ChangeList::doApply(bool bClear)
{
// ...
ChangedStoreIt cIt = _changedStore.begin();
ChangedStoreConstIt cEnd = _changedStore.end ();
// ...
while(cIt != cEnd)
{
AspectStoreP pHandler =
FieldContainerFactory::the()->getContainerHandler(
(*cIt)->uiContainerId); // crash here
//...
}
}
cIt is NULL, because _changedStore contains NULL values.
And are there any tutorials about multithreading in 2.0 available?
Thanks again!
Marc
------------------------------------------------------------------------------
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users