I'm integrating an existing (working) OSG(tried v2.2.0 & 2.6.0)
application with WxWidgets v 2.8.8, but I keep getting the following
error message:
 
"Run-Time Check Failure #0 - The value of ESP was not properly saved
across a function call. This is usually a result of calling a function
declared with one calling convention with a function pointer declared
with a different calling convention"
 
Has anyone else ran into this problem?  I built WxWidgets and OSG myself
and checked that the calling convention matched.  I'm thinking it might
be a threading issue.  I've tried using both openThread and WxThreads
but I still get the same result.  
 
In the original application I used a mutex inside my OSG main loop that
synchronized the secondary threads.  With the WxWidget version, I'm
using the same mutex in the  mainFrame Idle function.
 
Any suggestion would be greatly appreciated.
 
Regards
 
 
 
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to