NewtonCreateConvexHull crash

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Re: NewtonCreateConvexHull crash

Postby FSA » Sat Sep 13, 2014 6:38 pm

You can ignore the crash on exit. It is because the quick an dirty solution. The application won't come to the end with my dll.
So my dll is bad? Hmm I rebuild everything two times but no change at all. I will go over it again tomorrow. It is after midnight here, enough PC for today :D
User avatar
FSA
 
Posts: 322
Joined: Wed Dec 21, 2011 9:47 am

Re: NewtonCreateConvexHull crash

Postby Julio Jerez » Sat Sep 13, 2014 7:46 pm

when you come back sync again, I think you had a bad build because some function were rename because of syntax errors in the name.

Manny added a Macro for backward compatibility, so if you just sync, and rebuild it should be fine again.
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: NewtonCreateConvexHull crash

Postby FSA » Sun Sep 14, 2014 8:11 am

I synced, rebuild and tested. Still not working (see picture).
BTW: I'm building with the 2010 project files, because the 2012 are broken.
Attachments
pic.jpg
pic.jpg (245.64 KiB) Viewed 3077 times
User avatar
FSA
 
Posts: 322
Joined: Wed Dec 21, 2011 9:47 am

Re: NewtonCreateConvexHull crash

Postby FSA » Sun Sep 14, 2014 8:55 am

Heres an updated version that builds a convex Hull and should not crash on the end.
https://www.dropbox.com/s/cwp384dkwdc5p ... h.zip?dl=0
User avatar
FSA
 
Posts: 322
Joined: Wed Dec 21, 2011 9:47 am

Re: NewtonCreateConvexHull crash

Postby Julio Jerez » Sun Sep 14, 2014 9:41 am

oh I see what the problem is, It is a runtime library conflict with some projects
I am not sure when that happened, but they are mixed now.

I am fixing it
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: NewtonCreateConvexHull crash

Postby Julio Jerez » Sun Sep 14, 2014 12:23 pm

Ok if you sync to git hub I fixed all Visual studio 2010 and 2012 project conflicts
I was also able to see the crash in your demo when using VS 2010

The problem was that some VS 2012 has mixed build options, and although they compile they will crash when mixing with VS 2010.
after I fixed all the conflicts, meaning all VS2010 use VS 2010 project and all VS 2012 use VS 2012 projects, all with their own matching options, the crash on that function is gone

Please sync and try again
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: NewtonCreateConvexHull crash

Postby FSA » Sun Sep 14, 2014 4:13 pm

Works now! :D
Damn errors! Thanks for fixing it.
User avatar
FSA
 
Posts: 322
Joined: Wed Dec 21, 2011 9:47 am

Previous

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests