Hi Adrian, Thanks for the changed files, the problem is that these files are autogenerated so the next time I update the wrappers these changes will be lost. In this instances its the I_BaseType macro defined in include/osgIntrospection/ReflectionMacros that will where the mods need to happen. Earlier I checked in some additional spaces to see if it solved the problem, do you check out these mods?
The modification to Text.cpp again is something that will be lost on next rebuild of the wrappers so we'll need to solve the problem at source. The easist solution will probably be to change the comment so its shorter. I presume the must be a brain dead string length limit in VS2003 such as max length of 256 or similar. Robert. On 2/15/07, Adrian Egli <[EMAIL PROTECTED]> wrote:
Hi robert, so after hard testing (rebuild takes long time) and i should also do some daily business work i found next results: i was happy that the things seems to be runing as expected, but in fact we have still an issue when the application close and clean up. some examples work well other crash, but never the same, so it is of sure a threading issue. i haven't yet tested them with different threading modes, but i will do it as soon as i have some minutes left doing such test. i would only mention that there will be still some bug fixes left. the some compiling error, please test them under linux, i am using VC2003 as you know (attachment) and review at least them C:\dev\OpenSceneGraphCVS\OpenSceneGraph\src\osgWrappers\osgText\text.cpp C:\dev\OpenSceneGraphCVS\OpenSceneGraph\src\osgWrappers\osgText\String.cpp C:\dev\OpenSceneGraphCVS\OpenSceneGraph\src\osgWrappers\osg\PrimitiveSet.cpp C:\dev\OpenSceneGraphCVS\OpenSceneGraph\src\osgWrappers\osg\Array.cpp under VC2003 no more compiler errors . /adegli 2007/2/15, Robert Osfield <[EMAIL PROTECTED]>: > > HI Adrain, > > On 2/15/07, Adrian Egli <[EMAIL PROTECTED]> wrote: > > at the end, yes no access violation, but didn't terminate them self > > > Sounds like a dead lock on exit. Could you run these apps in a > debugger and try to exit, then ctrl-c it to find out where the > deadlock is occurring. Note there may well be several threads > running. > > Another thing you could try is disabling threading via setting the env > OSG_THREADING=SingleThreaded. > > As general notes osgvertexprogram and osgscalarbar are all pretty > standard examples and don't do anything special. So if these deadlock > then its likely just down to timing, and that the same could happen to > other examples if and when the timing changes. This type of > inconsistent behavior is rather common issue with debugging > multi-threaded apps. > > > So if you can fix these 4 error, than we will get a nice version for VC2003 > > :-) Wrappers: > > -------------------------------------------------------------------------------------------------------------------------------- > > C:\dev\OpenSceneGraphCVS\OpenSceneGraph\src\osgWrappers\osg\PrimitiveSet.cpp(875): > > error C2947: expecting '>' to terminate template-argument-list, found '>>' > > C:\dev\OpenSceneGraphCVS\OpenSceneGraph\src\osgWrappers\osg\Array.cpp(608): > > error C2947: expecting '>' to terminate template-argument-list, found '>>' > > C:\dev\OpenSceneGraphCVS\OpenSceneGraph\src\osgWrappers\osgText\Text.cpp(383): > > error C2026: string too big, trailing characters truncated > > C:\dev\OpenSceneGraphCVS\OpenSceneGraph\src\osgWrappers\osgText\String.cpp(85): > > error C2947: expecting '>' to terminate template-argument-list, found > > I have just checked in a few extra spaces into I_BaseType and > I_VirtualBaseType entries in osgIntrospection/ReflectionMacros, > fingers crossed this will solve the three of the above. This change > in now checked in. > > The string too big problem sound a bit more problematic though, sounds > like a compiler limitation. > > Robert. > _______________________________________________ > osg-users mailing list > [email protected] > http://openscenegraph.net/mailman/listinfo/osg-users > http://www.openscenegraph.org/ > _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
