<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://pybullet.org/Bullet/phpBB3/app.php/feed/topic/9554" />

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2013-11-18T04:19:46+00:00</updated>

	<author><name><![CDATA[Real-Time Physics Simulation Forum]]></name></author>
	<id>https://pybullet.org/Bullet/phpBB3/app.php/feed/topic/9554</id>

		<entry>
		<author><name><![CDATA[Stunts]]></name></author>
		<updated>2013-11-18T04:19:46+00:00</updated>

		<published>2013-11-18T04:19:46+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=32183#p32183</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=32183#p32183"/>
		<title type="html"><![CDATA[[Reminder] undefined reference to btCollisionObject]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=32183#p32183"><![CDATA[
If anyone ever encounter similar building errors on their first attempt of building a project using bullet, it may be due to the <strong class="text-strong">linking order of the bullet libraries</strong>. AFAIK, the order should be as follow (for win and linux, apparently it didn't seem to matter when I was on mac) :<br><blockquote class="uncited"><div>LIBS += ../lib/Bullet/win32/libBulletDynamics.a<br>LIBS += ../lib/Bullet/win32/libBulletCollision.a<br>LIBS += ../lib/Bullet/win32/libLinearMath.a</div></blockquote>Note that the dynamics lib must be linked before the collision lib (the reverse of the order given by alphabetical rules of windows file system).<br><br>I know this subject must have been covered times and times again but I place another reminder here adding some classic errors messages so that it can be easier to find from your favorite search engine.<br><blockquote class="uncited"><div>undefined reference to `btCollisionObject::~btCollisionObject()'<br>undefined reference to `btCollisionObject::serialize(void*, btSerializer*) const'<br>undefined reference to `btCollisionObject::btCollisionObject()'<br>undefined reference to `btCollisionObject::~btCollisionObject()'<br>undefined reference to `btCollisionObject::btCollisionObject()'<br>undefined reference to `btCollisionObject::~btCollisionObject()'</div></blockquote>Happy collidings <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=10563">Stunts</a> — Mon Nov 18, 2013 4:19 am</p><hr />
]]></content>
	</entry>
	</feed>
