Can't compile tutorial101

Report any bugs here and we'll post fixes

Moderators: Sascha Willems, Thomas

Can't compile tutorial101

Postby azlan » Thu May 26, 2016 9:43 am

Hello Newtonians,

New user here :)
It seems NewtonBodyGetMassMatrix is deprecated, I couldn't compile this,
https://github.com/MADEAPPS/newton-dyna ... d/main.cpp

I changed it to NewtonBodyGetMass and can be compiled successfully, is it correct function for the example program?

One more question, what's the different between _NEWTON_STATIC_LIB and _CNEWTON_STATIC_LIB (found in CNewtonTutorials folder) ?
azlan
 
Posts: 2
Joined: Thu May 26, 2016 9:34 am

Re: Can't compile tutorial101

Postby Shaderman » Thu May 26, 2016 10:46 am

azlan wrote:I changed it to NewtonBodyGetMass and can be compiled successfully, is it correct function for the Example program?

Hi azlan,

yes that sounds correct. The function was renamed some days ago.
Shaderman
 
Posts: 66
Joined: Tue Mar 08, 2016 2:51 am

Re: Can't compile tutorial101

Postby Julio Jerez » Thu May 26, 2016 10:54 am

fixed.

the different is that the one with the C is for a C++ class wrapper that I wrote for making iassy to write C++ wrappers, but since no one uses it, is not kept up today with new changes.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Can't compile tutorial101

Postby azlan » Thu May 26, 2016 11:07 am

Thanks for the quick replies :wink:
azlan
 
Posts: 2
Joined: Thu May 26, 2016 9:34 am


Return to Bugs and Fixes

Who is online

Users browsing this forum: No registered users and 8 guests

cron