<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Maratis forum - Compile and run Maratis on OS X Lion, Xcode 4.3.1 / 4.5, crashes]]></title>
		<link>http://forum.maratis3d.com/viewtopic.php?id=447</link>
		<description><![CDATA[The most recent posts in Compile and run Maratis on OS X Lion, Xcode 4.3.1 / 4.5, crashes.]]></description>
		<lastBuildDate>Thu, 20 Sep 2012 07:34:49 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Compile and run Maratis on OS X Lion, Xcode 4.3.1 / 4.5, crashes]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=2668#p2668</link>
			<description><![CDATA[<p>Both MCore and Mengine&nbsp; was compile in Debug.<br />I think I can use Release for now.<br />If I need to use the Debug later, I will try to configure debug settings.<br />Thank you.</p>]]></description>
			<author><![CDATA[dummy@example.com (Petr)]]></author>
			<pubDate>Thu, 20 Sep 2012 07:34:49 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=2668#p2668</guid>
		</item>
		<item>
			<title><![CDATA[Re: Compile and run Maratis on OS X Lion, Xcode 4.3.1 / 4.5, crashes]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=2667#p2667</link>
			<description><![CDATA[<p>In my machine it works on debug, but the project setting is maybe a bit different than release, I honesty don&#039;t know what.<br />Just to be sure, when you compile editor in debug, was MCore and MEngine also compile in debug ? (it needs to be)</p><p>Otherwise, if you really need to be in debug mode, try to compare the debug and release project setting.</p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Thu, 20 Sep 2012 07:27:27 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=2667#p2667</guid>
		</item>
		<item>
			<title><![CDATA[Re: Compile and run Maratis on OS X Lion, Xcode 4.3.1 / 4.5, crashes]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=2666#p2666</link>
			<description><![CDATA[<p>I switched&nbsp; to Release, and project runs without errors. <br />Thank you for advice.<br />I will try to debug publishing of my scene now.</p>]]></description>
			<author><![CDATA[dummy@example.com (Petr)]]></author>
			<pubDate>Thu, 20 Sep 2012 07:17:11 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=2666#p2666</guid>
		</item>
		<item>
			<title><![CDATA[Re: Compile and run Maratis on OS X Lion, Xcode 4.3.1 / 4.5, crashes]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=2663#p2663</link>
			<description><![CDATA[<p>It could be a problem with the external libs,<br />some pre-compiled osx lib are maybe not compatible with a more recent xcode or osx,<br />the pre-compiled libs are :</p><p>- zlib<br />- libsndfile<br />- libpng<br />- libjpg<br />- libfreetype<br />- libiL</p><p>I&#039;ll tell you if I think about something else</p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Wed, 19 Sep 2012 15:29:47 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=2663#p2663</guid>
		</item>
		<item>
			<title><![CDATA[Re: Compile and run Maratis on OS X Lion, Xcode 4.3.1 / 4.5, crashes]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=2662#p2662</link>
			<description><![CDATA[<p>I have old xcode 3.2.6 where it works fine, so I cannot reproduce the crash.<br />Can you try to compile in release to see if it&#039;s the same ?</p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Wed, 19 Sep 2012 15:13:08 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=2662#p2662</guid>
		</item>
		<item>
			<title><![CDATA[Re: Compile and run Maratis on OS X Lion, Xcode 4.3.1 / 4.5, crashes]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=2659#p2659</link>
			<description><![CDATA[<p>I compiled project successfully, but when I run the program, I&#039;ve got crashes described above.</p><p><a href="http://imageshack.us/a/img829/3018/screennw.png">screen</a></p>]]></description>
			<author><![CDATA[dummy@example.com (Petr)]]></author>
			<pubDate>Wed, 19 Sep 2012 11:16:05 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=2659#p2659</guid>
		</item>
		<item>
			<title><![CDATA[Re: Compile and run Maratis on OS X Lion, Xcode 4.3.1 / 4.5, crashes]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=2657#p2657</link>
			<description><![CDATA[<p>In trunk/dev/Projects/XCode/</p><p>- compile first MCore.xcodeproj to compile MCore.dylib<br />- compile then MEngine.xcodeproj to compile MEngine.dylib<br />- then you can compile Maratis.xcodeproj or MaratisPlayer.xcodeproj</p><p>It needs to be compiled in this order because I didn&#039;t find how to embed xcodeproj dependency.</p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Wed, 19 Sep 2012 09:04:51 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=2657#p2657</guid>
		</item>
		<item>
			<title><![CDATA[Compile and run Maratis on OS X Lion, Xcode 4.3.1 / 4.5, crashes]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=2656#p2656</link>
			<description><![CDATA[<p>I am trying to compile and run Maratis from sources (Mac, 64 bit, Lion, Xcode 4.3.1 / 4.5).<br />I want to debug Publish Project with my scene to see what is wrong.<br /> I can compile Maratis<br />When I run it from Xcode on my Mac, program crashes (EXC_BAD_ACCESS) at Maratis::start()<br /></p><div class="codebox"><pre><code>engine-&gt;getBehaviorManager()-&gt;addBehavior(MBLookAt::getStaticName(), M_OBJECT3D, MBLookAt::getNew);</code></pre></div><p>in<br /></p><div class="codebox"><pre><code>m_behaviors.push_back(newBCreator);</code></pre></div><p>I cannot understand where is a problem.<br />As I can see, newBCreator is a valid object, and m_behaviors is instance variable, so it must be initialized automatically while creating MBehaviorManager.<br />If I comment <br /></p><div class="codebox"><pre><code>engine-&gt;getBehaviorManager()-&gt;addBehavior(MBLookAt::getStaticName(), M_OBJECT3D, MBLookAt::getNew);</code></pre></div><p>, program crashes again in<br /></p><div class="codebox"><pre><code>engine-&gt;getMeshLoader()-&gt;addLoader(M_loadBinMesh);</code></pre></div><p>in<br /></p><div class="codebox"><pre><code>m_loaders.push_back( loadFunction );</code></pre></div><p>.<br />I understand that it is a C++ question.<br />I want to solve this problem to achieve proper publishing of my big scene from editor, so I ask it here.<br />Can you help me with it?</p><p>Sometimes, during launch program crashes at <br /></p><div class="codebox"><pre><code>m_packageManager = new MPackageManagerNPK();</code></pre></div><p>in Maratis::Maratis with message<br />Maratis(5116,0x7fff72cbe960) malloc: *** error for object 0x100e8fb38: incorrect checksum for freed object - object was probably modified after being freed.<br />*** set a breakpoint in malloc_error_break to debug</p><p>If I Enable Guard Malloc for project, then project crashes in MLevel::MLevel&nbsp; MDataManager::MDataManager&nbsp; while constructing instance of<br /> vector &lt;MDataRef *&gt; m_refs;</p>]]></description>
			<author><![CDATA[dummy@example.com (Petr)]]></author>
			<pubDate>Wed, 19 Sep 2012 08:00:05 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=2656#p2656</guid>
		</item>
	</channel>
</rss>
