summaryrefslogtreecommitdiff
path: root/docs/latex
diff options
context:
space:
mode:
authorManmohan Bishnoi <manmohan.bishnoi@gmail.com>2017-02-27 00:04:46 +0530
committerGitHub <noreply@github.com>2017-02-27 00:04:46 +0530
commitdad2895fed91c106c0fe61277151035bb61c4b6e (patch)
tree630f187c2cd79679c7cd11b8ba1c90966a173035 /docs/latex
parente2bdf124a1e63c5e9f3d7eaf22f9b8b7cd8e22e0 (diff)
downloadbullet3-dad2895fed91c106c0fe61277151035bb61c4b6e.tar.gz
Update helloworld.tex with library link order.
Added a tip on how to properly link BulletPhysics libraries in order.
Diffstat (limited to 'docs/latex')
-rw-r--r--docs/latex/helloworld.tex2
1 files changed, 2 insertions, 0 deletions
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}