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

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2022-09-02T15:41:26+00:00</updated>

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

		<entry>
		<author><name><![CDATA[maximus57]]></name></author>
		<updated>2022-09-02T15:41:26+00:00</updated>

		<published>2022-09-02T15:41:26+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44105#p44105</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44105#p44105"/>
		<title type="html"><![CDATA[Re: btCollisionShape unresolved externals]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44105#p44105"><![CDATA[
If You set USE_DOUBLE_PRECISION in cmake configuration, You also need to set compile difinition in your application:<br>BT_USE_DOUBLE_PRECISION=1<br>Example cmake:<div class="codebox"><p>Code: </p><pre><code>target_compile_definitions(${PROJECT_NAME} PRIVATE BT_USE_DOUBLE_PRECISION=1)</code></pre></div><a href="https://stackoverflow.com/questions/54840674/how-can-i-clear-error-lnk2001-in-vs2015-with-bullet-physics-sdk" class="postlink">https://stackoverflow.com/questions/548 ... hysics-sdk</a><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=14419">maximus57</a> — Fri Sep 02, 2022 3:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[yluo]]></name></author>
		<updated>2020-09-23T19:42:39+00:00</updated>

		<published>2020-09-23T19:42:39+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43107#p43107</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43107#p43107"/>
		<title type="html"><![CDATA[Re: btCollisionShape unresolved externals]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43107#p43107"><![CDATA[
Hi did you solve it? My visual studio also refuses to link the symbols lib as it is supposed to.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=13039">yluo</a> — Wed Sep 23, 2020 7:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BetMora]]></name></author>
		<updated>2014-01-11T08:10:18+00:00</updated>

		<published>2014-01-11T08:10:18+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=32572#p32572</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=32572#p32572"/>
		<title type="html"><![CDATA[Re: btCollisionShape unresolved externals]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=32572#p32572"><![CDATA[
No no, libraries path is correct and libraries are being linked, as i told. Thank you for your help, anyway <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>So i tried removing libraries linking at all yesterday and simply included needed .cpp files(as such - btCollisionShape.cpp and few other collision shapes), got rid of the externals i've shown in the first message but got lots more of another unresolved externals, as i didn't include other files. Still have no idea why linker refuses to find symbols inside lib.<br>Little update: got it compiled, included following .cpp files to the project: btCollisionShape.cpp, btConvexShape.cpp, btSphereShape.cpp, btConvexInternalShape.cpp, btCollisionObject.cpp.<br>Currently does not actually work as intended, putting bullet code back to check if it does.<br>Still, it's not a real solution, just a dirt hack.<br>Another update: had to include whole bullet collisions and dynamics sources.. after all getting that error:<div class="codebox"><p>Code: </p><pre><code>btPolyhedralConvexShape.obj : error LNK2019: unresolved external symbol "private: double __thiscall btConvexHullComputer::compute(void const *,bool,int,int,double,double)" (?compute@btConvexHullComputer@@AAENPBX_NHHNN@Z) referenced in function "public: double __thiscall btConvexHullComputer::compute(double const *,int,int,double,double)" (?compute@btConvexHullComputer@@QAENPBNHHNN@Z)</code></pre></div>That's pretty weird.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=10648">BetMora</a> — Sat Jan 11, 2014 8:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[bwelch]]></name></author>
		<updated>2014-01-10T21:14:05+00:00</updated>

		<published>2014-01-10T21:14:05+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=32570#p32570</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=32570#p32570"/>
		<title type="html"><![CDATA[Re: btCollisionShape unresolved externals]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=32570#p32570"><![CDATA[
I've seen these errors a bunch while trying to integrate Bullet with some other code. Such a headache (especially since I've never dealt with MSVS until this project!). From my understanding, this occurs when you include a .h file that has a function prototype but the corresponding definition (usually in a .cpp) isn't included. When this happened to me, the problem was ALWAYS a problem with adding the .lib files. Either I typed them in wrong, got the filepath wrong, didn't hit Apply, or added them in release but not debug or vice versa. I don't know your comfort with MSVS, but you should be looking at the location in the attached screenshot (your filepaths may vary). Right-click on your project &gt; Properties &gt; Linker &gt; Input.<br><br>If you've checked these things and that's not the problem, then it's probably something out of my league. Good luck.<dl class="file"><dt class="attach-image"><img src="https://pybullet.org/Bullet/phpBB3/download/file.php?id=1174" class="postimage" alt="libs.jpg" onclick="viewableArea(this);" /></dt></dl><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=10605">bwelch</a> — Fri Jan 10, 2014 9:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BetMora]]></name></author>
		<updated>2014-01-10T18:01:49+00:00</updated>

		<published>2014-01-10T18:01:49+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=32563#p32563</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=32563#p32563"/>
		<title type="html"><![CDATA[btCollisionShape unresolved externals]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=32563#p32563"><![CDATA[
Hello dear forum members.<br>Currently trying to compile <a href="https://bitbucket.org/sirbrialliance/raytrace" class="postlink">https://bitbucket.org/sirbrialliance/raytrace</a> this OpenCL raytracer which uses Bullet for some simple physics. As i understand raytracer itself was tested under Linux only. But it's really simply to compile it under Windows, it's successfully running and displays image, but currently static only, as i didn't manage to compile it with Bullet code. All the code which is using Bullet located in one file: <a href="https://bitbucket.org/sirbrialliance/raytrace/src/df9fcf7cda233cfe52e2c8e1b2ac7d9adbe682cd/src/Scene.h?at=default" class="postlink">https://bitbucket.org/sirbrialliance/ra ... at=default</a><br>Errors i'm getting are these: <div class="codebox"><p>Code: </p><pre><code>1&gt;main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btCollisionShape::getBoundingSphere(class btVector3 &amp;,double &amp;)const " (?getBoundingSphere@btCollisionShape@@UBEXAAVbtVector3@@AAN@Z)1&gt;main.obj : error LNK2001: unresolved external symbol "public: virtual double __thiscall btCollisionShape::getAngularMotionDisc(void)const " (?getAngularMotionDisc@btCollisionShape@@UBENXZ)1&gt;main.obj : error LNK2001: unresolved external symbol "public: virtual double __thiscall btCollisionShape::getContactBreakingThreshold(double)const " (?getContactBreakingThreshold@btCollisionShape@@UBENN@Z)1&gt;main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btSphereShape::calculateLocalInertia(double,class btVector3 &amp;)const " (?calculateLocalInertia@btSphereShape@@UBEXNAAVbtVector3@@@Z)1&gt;main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall btConvexShape::project(class btTransform const &amp;,class btVector3 const &amp;,double &amp;,double &amp;)const " (?project@btConvexShape@@UBEXABVbtTransform@@ABVbtVector3@@AAN2@Z)</code></pre></div>Compiling under VS2010 with Bullet 2.82-r2704. BulletDynamics, BulletCollision and LinearMath libraries are being linked. <br>I've been googling that problem for a while already, didn't manage to find at least one "solution" that was able to help me..<br>Hope for your help guys, thanks in advance.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=10648">BetMora</a> — Fri Jan 10, 2014 6:01 pm</p><hr />
]]></content>
	</entry>
	</feed>
