It managed to buidl the Library and the DLL, but ther si still something wrong
Here is the Rule I am usin to build the DLL, and it works
Newton.dll : $(DG_OBJ_FILES)
dlltool -e $(DG_NEWTON_PATH)Newton.o -l Newton.lib $(DG_NEWTON_PATH)Newton.o
gcc $? C:/MinGW/lib/gcc/mingw32/4.4.1/libstdc++.a -o Newton.dll
copy Newton.lib C:\Newton_200\NewtonSDK\sdk\MinWG\Newton.lib
copy Newton.dll C:\Newton_200\NewtonSDK\sdk\MinWG\Newton.dll
However It does not create the export funtions when I try to use it I get these link errors
Error 1 error LNK2001: unresolved external symbol __imp__NewtonUserJointAddLinearRow Custom6DOF.obj JointLibrary
Error 2 error LNK2001: unresolved external symbol __imp__NewtonUserJointSetRowStiffness Custom6DOF.obj JointLibrary
Error 3 error LNK2001: unresolved external symbol __imp__NewtonUserJointSetRowMaximumFriction Custom6DOF.obj JointLibrary
Error 4 error LNK2001: unresolved external symbol __imp__NewtonUserJointSetRowMinimumFriction Custom6DOF.obj JointLibrary
Error 5 error LNK2001: unresolved external symbol __imp__NewtonUserJointAddAngularRow Custom6DOF.obj JointLibrary
Error 6 error LNK2001: unresolved external symbol __imp__NewtonBodyGetCentreOfMass CustomBasicRayCastCar.obj JointLibrary
Error 7 error LNK2001: unresolved external symbol __imp__NewtonBodyGetMassMatrix CustomBasicRayCastCar.obj JointLibrary
....
...
do anyone know what I need to do to make export the correl lib file?