well, now I guess it doesn't work
why Newton.Create returns int not NewtonWorld etc.???
Moderator: Alain
Compiling...
NewtonWrapper.cpp
d:\!CoDiNg\Newton\NewtonWrapper\NewtonWrapper\NW_force_and_torque_callback.h(9) : warning C4303: C-style cast from 'NewtonWrapper::Newton::ApplyForceAndTorque __gc *' to 'System::Object __gc *' is deprecated, use static_cast, __try_cast or dynamic_cast
d:\!CoDiNg\Newton\NewtonWrapper\NewtonWrapper\NW_transform_callback.h(9) : warning C4303: C-style cast from 'NewtonWrapper::Newton::SetTransform __gc *' to 'System::Object __gc *' is deprecated, use static_cast, __try_cast or dynamic_cast
d:\!CoDiNg\Newton\NewtonWrapper\NewtonWrapper\NW_materials.h(67) : warning C4303: C-style cast from 'NewtonWrapper::Newton::ContactBegin __gc *' to 'System::Object __gc *' is deprecated, use static_cast, __try_cast or dynamic_cast
d:\!CoDiNg\Newton\NewtonWrapper\NewtonWrapper\NW_materials.h(72) : warning C4303: C-style cast from 'NewtonWrapper::Newton::ContactProcess __gc *' to 'System::Object __gc *' is deprecated, use static_cast, __try_cast or dynamic_cast
d:\!CoDiNg\Newton\NewtonWrapper\NewtonWrapper\NW_materials.h(77) : warning C4303: C-style cast from 'NewtonWrapper::Newton::ContactEnd __gc *' to 'System::Object __gc *' is deprecated, use static_cast, __try_cast or dynamic_cast
d:\!CoDiNg\Newton\NewtonWrapper\NewtonWrapper\NW_user_mesh_collision.h(9) : warning C4303: C-style cast from 'NewtonWrapper::Newton::UserMeshCollisionCollideCallback __gc *' to 'System::Object __gc *' is deprecated, use static_cast, __try_cast or dynamic_cast
d:\!CoDiNg\Newton\NewtonWrapper\NewtonWrapper\NW_user_mesh_collision.h(38) : warning C4303: C-style cast from 'NewtonWrapper::Newton::UserMeshCollisionRayHitCallback __gc *' to 'System::Object __gc *' is deprecated, use static_cast, __try_cast or dynamic_cast
Linking...
NewtonWrapper.obj : error LNK2001: unresolved external symbol "void * __cdecl NewtonMaterialGetContactUserData(struct NewtonMaterial const *)" (?NewtonMaterialGetContactUserData@@$$J0YAPAXPBUNewtonMaterial@@@Z)
NewtonWrapper.obj : error LNK2001: unresolved external symbol "float __cdecl NewtonBodyRayIntersect(struct NewtonBody const *,float const *,float const *,float *)" (?NewtonBodyRayIntersect@@$$J0YAMPBUNewtonBody@@PBM1PAM@Z)
D:\!CoDiNg\Newton\NewtonWrapper\NewtonWrapper\Debug\NewtonWrapper.dll : fatal error LNK1120: 2 unresolved externals
Build log was saved at "file://d:\!CoDiNg\Newton\NewtonWrapper\NewtonWrapper\Debug\BuildLog.htm"
NewtonWrapper - 3 error(s), 7 warning(s)
jj, wrote:OK! Now I'm sure it works! I've remade tutorial 01 example and it rocks!
http://max.iem.pw.edu.pl:9666/newton/NewtonTest01.zip
Screenshot:
I've also made a NToolsDot.dll with Newton tools:
http://max.iem.pw.edu.pl:9666/newton/Newton_tools/
jj, wrote:works fine for me!
However I've copied it to an other place for U
trynow:
http://max.iem.pw.edu.pl/~malinowj/newton/
Flylio wrote:Hello,
i've just finished a C# wrapper for Newton 1.5, for all methods, delegates, structures...
It's using DllImport, and .......... C#. lol
If it could help you, you can download it here:
http://perso.wanadoo.fr/flylio/Programm ... namics.zip
@PLUS2006!
Flylio.
Users browsing this forum: No registered users and 6 guests