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

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2009-08-05T15:02:31+00:00</updated>

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

		<entry>
		<author><name><![CDATA[leo]]></name></author>
		<updated>2009-08-05T15:02:31+00:00</updated>

		<published>2009-08-05T15:02:31+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=14617#p14617</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=14617#p14617"/>
		<title type="html"><![CDATA[Re: Hello World...]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=14617#p14617"><![CDATA[
Problem solved... I had an error while installing and did not see it...<br>Cheers Leo<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=5058">leo</a> — Wed Aug 05, 2009 3:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cbuchner1]]></name></author>
		<updated>2009-06-26T14:39:26+00:00</updated>

		<published>2009-06-26T14:39:26+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=14137#p14137</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=14137#p14137"/>
		<title type="html"><![CDATA[Re: Hello World...]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=14137#p14137"><![CDATA[
use -lbulletdynamics  instead of -libbulletdynamics<br><br>same with the other libs<br><br>Don't forget to add library paths (-L option I believe) pointing to all folders where your compiled bullet libraries are located<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=4870">cbuchner1</a> — Fri Jun 26, 2009 2:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[leo]]></name></author>
		<updated>2009-06-25T18:23:13+00:00</updated>

		<published>2009-06-25T18:23:13+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=14128#p14128</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=14128#p14128"/>
		<title type="html"><![CDATA[Re: Hello World...]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=14128#p14128"><![CDATA[
Hi Dominik,<br><br>I rebuilt the bullet library (version 2.74) on my Kubuntu 8.10 (I did as described here: <a href="http://bulletphysics.com/Bullet/BulletPhysics2.74_2.htm#_Toc223854819" class="postlink">http://bulletphysics.com/Bullet/BulletP ... c223854819</a>).<br><ul><li>cmake . –G “Unix Makefiles”<br>./autogen.sh<br>./configure <br>make<br><br>include path: bullet/src<br>library path: bullet/src/.libs<br>linked libs: libbulletdynamics, libbulletcollision, libbulletmath</li></ul>Still the <strong class="text-strong">/bullet/lib/ </strong>folder is empty...  but I found the<em class="text-italics"> libbulletdynamics, libbulletcollision, libbulletmath</em> libraries in the <strong class="text-strong">bullet/src/.libs</strong>. Unfortunately there is still a (or a new) problem with the linker: <br><div class="codebox"><p>Code: </p><pre><code>Building target: TestBulletInvoking: GCC C++ Linkerg++ -L/home/phmathys/bullet-2.74/src/.libs -o"TestBullet"  ./src/HelloWorld.o   -llibbulletdynamics -llibbulletcollision -llibbulletmath/usr/bin/ld: cannot find -llibbulletdynamicscollect2: ld returned 1 exit statusmake: *** [TestBullet] Error 1make: Target `all' not remade because of errors.Build complete for project TestBullet</code></pre></div>I don't understand why the libraries cannot be found! And what has the <em class="text-italics">/usr/bin/ld</em> to do with this problem?<br><br>Cheers Philipp<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=5058">leo</a> — Thu Jun 25, 2009 6:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dominik]]></name></author>
		<updated>2009-06-24T11:33:40+00:00</updated>

		<published>2009-06-24T11:33:40+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=14108#p14108</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=14108#p14108"/>
		<title type="html"><![CDATA[Re: Hello World...]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=14108#p14108"><![CDATA[
if you use #include &lt;*.h&gt;, you do not use a library. In the header files, there are only declarations, while the libraries include the actual definitions (the stuff in the .cpp-files). So, you have to tell your application to use the bullet libraries (which is done during linking, when the compiler tries to resolve the function calls that were declared in included .h-files).<br><br>For this, you need the bullet libraries, which you get by building bullet. If your bullet/lib/ directory doesn't contain them after successfully building bullet, check the build directories, and copy the required files to the lib directory.<br><br>To tell the compiler to link the libraries when building bullet, you have to add them to the linker (windows/msvc) or add the necessary tags to the makefile (linux/gcc), If you need help on this, google can probably help you <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=3001">Dominik</a> — Wed Jun 24, 2009 11:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[leo]]></name></author>
		<updated>2009-06-24T10:24:17+00:00</updated>

		<published>2009-06-24T10:24:17+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=14106#p14106</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=14106#p14106"/>
		<title type="html"><![CDATA[Re: Hello World...]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=14106#p14106"><![CDATA[
Hi Dominik,<br><br>thanks for your reply! Good argument with the compilation....<br>Concerning the linked libraries: I include (as default in the HelloWorld) btBulletDynamicsCommon.h file in which the rest of the includes for all the other .h files is defined. As far as I understand it there is no need to include these pathes explicitly - correct me if I'm wrong. <br><br>I even tried to include the path to the btAxisSweep.h file ... but still I got the error. Does it mean that the file could not be read? Or would it cause another error? Sorry I'm not so common with C/C++ things....<br><br>Another thing I recognised was that the directory bullet-2.73/lib/ is empty with the exception of a readme file. Shouldn't there be some files in like bulletmath.a, bulletcollision.a, bulletdynamics.a...?<br><br>Cheers Leo<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=5058">leo</a> — Wed Jun 24, 2009 10:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dominik]]></name></author>
		<updated>2009-06-24T07:31:29+00:00</updated>

		<published>2009-06-24T07:31:29+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=14104#p14104</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=14104#p14104"/>
		<title type="html"><![CDATA[Re: Hello World...]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=14104#p14104"><![CDATA[
<blockquote class="uncited"><div>btAxisSweep3(const btVector3&amp; worldAabbMin,const btVector3&amp; worldAabbMax, unsigned short int maxHandles = 16384, btOverlappingPairCache* pairCache = 0, bool disableRaycastAccelerator = false)</div></blockquote>The btAxisSweep3 construcot uses default arguments, so you don't have to specify the last ones. Your code should thus work fine (after all, it compiles successfully, and only the linking fails)<br><br>Are you sure you added the bullet libraries to your project?<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=3001">Dominik</a> — Wed Jun 24, 2009 7:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[leo]]></name></author>
		<updated>2009-06-23T18:48:31+00:00</updated>

		<published>2009-06-23T18:48:31+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=14101#p14101</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=14101#p14101"/>
		<title type="html"><![CDATA[Hello World...]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=14101#p14101"><![CDATA[
Hi there!<br><br>I'm interested in programming using the bulletphysics library. While doing the first steps I was trying to run the "HelloWorld" program from the website (<a href="http://www.bulletphysics.com/mediawiki-1.5.8/index.php?title=Hello_World" class="postlink">http://www.bulletphysics.com/mediawiki- ... ello_World</a>). Unfortunately I got some errors like:<br><blockquote class="uncited"><div>undefined reference to 'btAxisSweep3::btAxisSweep3(btVector3 const&amp;, btVector3 const&amp;, unsigned short, btOverlappingPairCache*, bool)'</div></blockquote>First I thought that there is a linker problem and so I checked the paths of correctness (the files are in the concerning directories and I could open them!). Then I found out that the code looks like:<br><div class="codebox"><p>Code: </p><pre><code>#include &lt;btBulletDynamicsCommon.h&gt;int main (void){        btVector3 worldAabbMin(-10000,-10000,-10000);        btVector3 worldAabbMax(10000,10000,10000);        int maxProxies = 1024;        btAxisSweep3* broadphase = new btAxisSweep3(worldAabbMin,worldAabbMax,maxProxies);        ...</code></pre></div>for me it looks like the btAxisSweep3 - constructor is not appropriate...?! <br><strong class="text-strong">[btAxisSweep3(worldAabbMin,worldAabbMax,maxProxies) vs btAxisSweep3(btVector3 const&amp;, btVector3 const&amp;, unsigned short, btOverlappingPairCache*, bool)]</strong><br>source: <a href="http://www.bulletphysics.com/Bullet/BulletFull/classbtAxisSweep3.html" class="postlink">http://www.bulletphysics.com/Bullet/Bul ... weep3.html</a><br>Please correct me if I am wrong! <br><br>I tried to correct the implementation but was stumbling over the btOverlappingPairCache... it has no constructor - virtual function...<br><br>Hope anyone could give me a hint about that all!<br><br>Thanks<br>Leo<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=5058">leo</a> — Tue Jun 23, 2009 6:48 pm</p><hr />
]]></content>
	</entry>
	</feed>
