<?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/12796" />

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2019-11-06T14:38:30+00:00</updated>

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

		<entry>
		<author><name><![CDATA[DarkinFlux]]></name></author>
		<updated>2019-11-06T14:38:30+00:00</updated>

		<published>2019-11-06T14:38:30+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42451#p42451</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42451#p42451"/>
		<title type="html"><![CDATA[undefined reference to `btCapsuleShapeX::btCapsuleShapeX(float,float)]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42451#p42451"><![CDATA[
Hi<br><br>I'm trying to compile the RollingFrictionDemo example stand alone.<br>So I made a main.cpp, but during linking I got these errors:<br><br>undefined reference to `btCapsuleShape::btCapsuleShape(float, float)'<br>undefined reference to `btCapsuleShapeX::btCapsuleShapeX(float, float)'<br>undefined reference to `btCapsuleShapeZ::btCapsuleShapeZ(float, float)'<br>undefined reference to `btConeShape::btConeShape(float, float)'<br>undefined reference to `btConeShapeX::btConeShapeX(float, float)'<br>undefined reference to `btConeShapeZ::btConeShapeZ(float, float)'<br><br>I compiled with this command:<br>g++ -c main.cpp -I../../src<br>g++ -c RollingFrictionDemo.cpp -I../../src<br><br>and linked like this:<br><br>g++ main.o  RollingFrictionDemo.o -lBulletCollision  -lBulletDynamics -lLinearMath -lBullet3Common -lBullet3Geometry<br><br>The libs are compiled and moved to /usr/lib<br><br>If I comment out the functions it compiles and links, but then I get a malloc assertion error.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=13458">DarkinFlux</a> — Wed Nov 06, 2019 2:38 pm</p><hr />
]]></content>
	</entry>
	</feed>
