From dad2895fed91c106c0fe61277151035bb61c4b6e Mon Sep 17 00:00:00 2001 From: Manmohan Bishnoi Date: Mon, 27 Feb 2017 00:04:46 +0530 Subject: [PATCH] Update helloworld.tex with library link order. Added a tip on how to properly link BulletPhysics libraries in order. --- docs/latex/helloworld.tex | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/latex/helloworld.tex b/docs/latex/helloworld.tex index 1a7904d3c..103e3881c 100644 --- a/docs/latex/helloworld.tex +++ b/docs/latex/helloworld.tex @@ -6,6 +6,8 @@ It is a good idea to try to compile, link and run this HelloWorld.cpp program fi As you can see in \ref{helloworld_includefiles} you can include a convenience header file \path{btBulletDynamicsCommon.h}. +While linking to Bullet Physics make sure the link order is: BulletSoftBody, BulletDynamics, BulletCollision and LinearMath. + \lstinputlisting[caption=HelloWorld.cpp include header, label=helloworld_includefiles,linerange=includes_start-includes_end]{../../examples/HelloWorld/HelloWorld.cpp} Now we create the dynamics world: \lstinputlisting[caption=HelloWorld.cpp initialize world, label=stepsimulation,linerange=initialization_start-initialization_end]{../../examples/HelloWorld/HelloWorld.cpp}