<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Maratis forum - Ubuntu 64bits compilation failed]]></title>
		<link>http://forum.maratis3d.com/viewtopic.php?id=281</link>
		<description><![CDATA[The most recent posts in Ubuntu 64bits compilation failed.]]></description>
		<lastBuildDate>Sun, 29 Jan 2012 16:23:10 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Ubuntu 64bits compilation failed]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=1344#p1344</link>
			<description><![CDATA[<p>You need openal to compile Maratis and, as Maratis is 32bit, trying to link to x64 won&#039;t work. Also, there is a copy of libsndfile provided with Maratis itself, using one in /usr/lib(32) will possibly create problems.</p><p>Why do you think the lib32 won&#039;t solve the problem?</p>]]></description>
			<author><![CDATA[dummy@example.com (Nistur)]]></author>
			<pubDate>Sun, 29 Jan 2012 16:23:10 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=1344#p1344</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ubuntu 64bits compilation failed]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=1342#p1342</link>
			<description><![CDATA[<p>Ok, I needed the libgl1-mesa-dev and also libxxf86vm-dev to continue. </p><p>I am stopped after that, with this error</p><p>/usr/bin/ld: skipping incompatible /home/kao/maratis-read-only/3rdparty/openal/linux/libopenal.so when searching for -lopenal<br />/usr/bin/ld: skipping incompatible /home/kao/maratis-read-only/3rdparty/libsndfile/linux/libsndfile.so when searching for -lsndfile<br />/usr/bin/ld: skipping incompatible /home/kao/maratis-read-only/3rdparty/libsndfile/linux/libsndfile.a when searching for -lsndfile<br />/usr/bin/ld: cannot find -lsndfile<br />collect2: ld returned 1 exit status<br />scons: *** [build/linux2/release/Examples/ManualUse/ManualUse] Error 1<br />scons: building terminated because of errors.</p><p>The libs are already installed, </p><p>locate libopenal.so libsndfile.so</p><p>/usr/lib/x86_64-linux-gnu/libopenal.so<br />/usr/lib/x86_64-linux-gnu/libopenal.so.1<br />/usr/lib/x86_64-linux-gnu/libopenal.so.1.13.0<br />/usr/lib/x86_64-linux-gnu/libsndfile.so.1<br />/usr/lib/x86_64-linux-gnu/libsndfile.so.1.0.25</p><br /><p>But I suspect that the scons have problem with them because they are build for an 64bits platform.</p><p>I tried to fool it with this, but without success:<br />sudo ln -s x86_64-linux-gnu/libopenal.so lib32/libopenal.so</p><p>I could try to install the lib32 but it will not solve the real problem, in my opinion.<br />Regards<br />Kao</p>]]></description>
			<author><![CDATA[dummy@example.com (kao_chen)]]></author>
			<pubDate>Sun, 29 Jan 2012 11:21:40 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=1342#p1342</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ubuntu 64bits compilation failed]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=1328#p1328</link>
			<description><![CDATA[<p>you need to install a opengl dev package or something like that</p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Fri, 27 Jan 2012 15:14:39 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=1328#p1328</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ubuntu 64bits compilation failed]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=1321#p1321</link>
			<description><![CDATA[<p>it&#039;s working better with build-essential installed <img src="http://forum.maratis3d.com/img/smilies/wink.png" width="15" height="15" alt="wink" /><br />So now I&nbsp; use&nbsp; this:<br />sudo apt-get install libopenal-dev libalut-dev scons subversion gcc build-essential<br />svn checkout <a href="http://maratis.googlecode.com/svn/">http://maratis.googlecode.com/svn/</a> maratis-read-only <br />cd maratis-read-only/trunk/dev<br />python scons.py </p><br /><p>but I still have errors&nbsp; &nbsp;in the compilation process:</p><p>gcc -o build/linux2/release/3rdparty/glee/GLee.o -c -fPIC -DLINUX -Ibuild/linux2/release/3rdparty/glee -I/home/kao/maratis-read-only/3rdparty/glee /home/kao/maratis-read-only/3rdparty/glee/GLee.c<br />In file included from /home/kao/maratis-read-only/3rdparty/glee/GLee.c:43:0:<br />/home/kao/maratis-read-only/3rdparty/glee/GLee.h:66:20: fatal error: GL/gl.h: No such file or directory<br />compilation terminated.<br />scons: *** [build/linux2/release/3rdparty/glee/GLee.o] Error 1<br />scons: building terminated because of errors</p><p>Perhaps a problem with mesa? I think the error comes from this block of the GLee.h file:</p><p>#ifdef WIN32<br />&nbsp; &nbsp; #define WIN32_LEAN_AND_MEAN<br />&nbsp; &nbsp; #include &lt;windows.h&gt;<br />&nbsp; &nbsp; #include &lt;GL/gl.h&gt;<br />#elif defined(__APPLE__) || defined(__APPLE_CC__)<br />&nbsp; &nbsp; #define GL_GLEXT_LEGACY<br />&nbsp; &nbsp; #include &lt;OpenGL/gl.h&gt;<br />#else // GLX<br />&nbsp; &nbsp; #define __glext_h_&nbsp; /* prevent glext.h from being included&nbsp; */<br />&nbsp; &nbsp; #define __glxext_h_ /* prevent glxext.h from being included */<br />&nbsp; &nbsp; #define GLX_GLXEXT_PROTOTYPES<br />&nbsp; &nbsp; #include &lt;GL/gl.h&gt;<br />&nbsp; &nbsp; #include &lt;GL/glx.h&gt;</p><p>I tried to find gl.h without success with:<br />locate gl.h<br />It&#039;s missing, I&#039;ll try to find out more about this file.<br />regards <br />Kao</p>]]></description>
			<author><![CDATA[dummy@example.com (kao_chen)]]></author>
			<pubDate>Fri, 27 Jan 2012 13:24:18 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=1321#p1321</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ubuntu 64bits compilation failed]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=1303#p1303</link>
			<description><![CDATA[<p>Just to make it sure, do you have gcc?<br />or install build-essential?</p>]]></description>
			<author><![CDATA[dummy@example.com (jurgel)]]></author>
			<pubDate>Wed, 25 Jan 2012 01:14:23 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=1303#p1303</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ubuntu 64bits compilation failed]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=1292#p1292</link>
			<description><![CDATA[<p>Thanks, I will check your next updates, I really appreciate the software.</p><p>In my problem, each commands begin with the letter &quot;o&quot;<br />o build/linux2/release/3rdpart......<br />And the script seems to believe that &quot;o&quot; is a real file, and in consequence says:<br />sh: 1: o: not found</p><p>I tried to find the misterious &quot;o&quot; in the scons scripts but I don&#039;t see where does it come from.</p><p>Regards<br /> kao</p>]]></description>
			<author><![CDATA[dummy@example.com (kao_chen)]]></author>
			<pubDate>Tue, 24 Jan 2012 17:52:44 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=1292#p1292</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ubuntu 64bits compilation failed]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=1219#p1219</link>
			<description><![CDATA[<p>thank you for reporting,<br />if I have an idea I&#039;ll let you know.</p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Fri, 20 Jan 2012 15:04:12 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=1219#p1219</guid>
		</item>
		<item>
			<title><![CDATA[Ubuntu 64bits compilation failed]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=1215#p1215</link>
			<description><![CDATA[<p>Hello,<br />I have got errors when I try to build &quot;Maratis&quot; on an Ubuntu 64bits. </p><p>svn checkout <a href="http://maratis.googlecode.com/svn/">http://maratis.googlecode.com/svn/</a> maratis-read-only<br />cd maratis-read-only/trunk/dev/</p><p>I run :<br />python scons.py</p><p>and here my first error: </p><p>scons: Reading SConscript files ...<br />&nbsp; File &quot;/home/kao/maratis-read-only/trunk/dev/var/scons/platformcustom.py&quot;, line 3</p><p>SyntaxError: Non-ASCII character &#039;\xc3&#039; in file /home/kao/maratis-read-only/trunk/dev/var/scons/platformcustom.py on line 3, but no encoding declared; see <a href="http://www.python.org/peps/pep-0263.html">http://www.python.org/peps/pep-0263.html</a> for details</p><p>I just remove the accent on &quot;févr&quot; line 3 on platformcustom.py and I try another time.<br />python scons.py<br />And I get this message. </p><p>python scons.pyscons: Reading SConscript files ...<br />Build in release mode<br />Using 3rdparty libraries in folder: /home/kao/maratis-read-only/3rdparty<br />scons: done reading SConscript files.<br />scons: Building targets ...<br />o build/linux2/release/3rdparty/bullet/BulletCollision/BroadphaseCollision/btAxisSweep3.o -c -fpermissive -fPIC -DLINUX -Ibuild/linux2/release/3rdparty/bullet -I/home/kao/maratis-read-only/3rdparty/bullet /home/kao/maratis-read-only/3rdparty/bullet/BulletCollision/BroadphaseCollision/btAxisSweep3.cpp<br />sh: 1: o: not found<br />o build/linux2/release/3rdparty/bullet/BulletCollision/BroadphaseCollision/btBroadphaseProxy.o -c -fpermissive -fPIC -DLINUX -Ibuild/linux2/release/3rdparty/bullet -I/home/kao/maratis-read-only/3rdparty/bullet /home/kao/maratis-read-only/3rdparty/bullet/BulletCollision/BroadphaseCollision/btBroadphaseProxy.cpp<br />sh: 1: ................a lot of lines...<br />................/BulletCollision/Gimpact/btGImpactCollisionAlgorithm.o build/linux2/release/3rdparty/bullet/BulletCollision/CollisionShapes/btConvexShape.o build/linux2/release/3rdparty/bullet/BulletCollision/NarrowPhaseCollision/btGjkEpa2.o build/linux2/release/3rdparty/bullet/BulletCollision/NarrowPhaseCollision/btGjkConvexCast.o<br />ar: build/linux2/release/3rdparty/bullet/BulletCollision/CollisionShapes/btConvex2dShape.o: No such file or directory<br />scons: *** [build/linux2/release/3rdparty/bullet/libbullet.a] Error 1<br />scons: building terminated because of errors.</p><p>The script seems to not find files.</p><p>Regards.<br />Kao</p>]]></description>
			<author><![CDATA[dummy@example.com (kao_chen)]]></author>
			<pubDate>Fri, 20 Jan 2012 11:03:51 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=1215#p1215</guid>
		</item>
	</channel>
</rss>
