about the lib,
Are dAnimation, dContainers, etc meant to be compiled to dAnimation.a, dContainers.a, etc? Should they then be appended to libNewton.a (using AR for instance)?
you do not need to make libraries dAnimation and dContainer unless you want to use then for you own toolbox, those are utilities I have develop over the years and that I like to use.
these are the only files you need to mak eteh joint joints library.
- Code: Select all
SDK_MATH_SRC = \
$(SDK_MATH)/dMathDefines.cpp \
$(SDK_MATH)/dMatrix.cpp \
$(SDK_MATH)/dQuaternion.cpp
SDK_JOINTS_SRC = \
$(SDK_JOINTS)/Custom6DOF.cpp \
$(SDK_JOINTS)/CustomGear.cpp \
$(SDK_JOINTS)/CustomHinge.cpp \
$(SDK_JOINTS)/CustomPulley.cpp \
$(SDK_JOINTS)/JointLibrary.cpp \
$(SDK_JOINTS)/CustomSlider.cpp \
$(SDK_JOINTS)/CustomRagDoll.cpp \
$(SDK_JOINTS)/CustomWormGear.cpp \
$(SDK_JOINTS)/CustomUpVector.cpp \
$(SDK_JOINTS)/CustomUniversal.cpp \
$(SDK_JOINTS)/CustomCorkScrew.cpp \
$(SDK_JOINTS)/NewtonCustomJoint.cpp \
$(SDK_JOINTS)/CustomDGRayCastCar.cpp \
$(SDK_JOINTS)/CustomBallAndSocket.cpp \
$(SDK_JOINTS)/CustomSlidingContact.cpp \
$(SDK_JOINTS)/CustomMultiBodyVehicle.cpp \
$(SDK_JOINTS)/CustomPlayerController.cpp \
$(SDK_JOINTS)/CustomDryRollingFriction.cpp \
$(SDK_JOINTS)/CustomKinematicController.cpp
if you take those files and you make a library or a dll you can append it the to Newton.a use AR. these are the minimal files.
- Newton.h
newton.lib
JointLibrary.h
JointLibrary.lib
if you download the tutorial demos from the wiki you will see a more streamlined version of demos that use a minimal set of files.
no containers, no other utilities.
I use my container instead of STL because had comaptibility problems compiling code the was using STL using then with VS8 and VS2003, in different targets (liek motrthreaded, single threaded, etc),
I need these projects to be cross platform I decided to use my own, but you do not need to use then you can use what ever else you like.
The engine does not need any of those container for anything, they are only used for the demos.
In the tutorials demos I do not use those containers, presicely to avoid confusion from many users who think they are part of Newton.