<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Maratis forum - Custom game plugin on LINUX?]]></title>
		<link>http://forum.maratis3d.com/viewtopic.php?id=753</link>
		<description><![CDATA[The most recent posts in Custom game plugin on LINUX?.]]></description>
		<lastBuildDate>Thu, 29 Aug 2013 21:21:16 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Custom game plugin on LINUX?]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=4876#p4876</link>
			<description><![CDATA[<p>Finally got it working! Makefile did it. Thanks a lot for your help guys</p><p>Had to change LDFLAGS= -shared -Wl to LDFLAGS= -shared -Wall. makefile reported error and put &lt;tab&gt; before all @</p>]]></description>
			<author><![CDATA[dummy@example.com (Skywriter)]]></author>
			<pubDate>Thu, 29 Aug 2013 21:21:16 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=4876#p4876</guid>
		</item>
		<item>
			<title><![CDATA[Re: Custom game plugin on LINUX?]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=4874#p4874</link>
			<description><![CDATA[<p>Using Make &amp; GCC</p><p>Create a &quot;makefile&quot; containing this code: <br /></p><div class="codebox"><pre><code>SRCS = $(wildcard *.cpp)
OBJS = $(SRCS:.cpp=.o) 
CFLAGS= -O2 -fPIC
LDFLAGS= -s -shared

#Set path to MSDK (MCore &amp; MEngine from ../trunk/dev/)
INCLUDES = -I../SDK/MCore/Includes/ -I../SDK/MEngine/Includes/

all: $(OBJS)
    @g++ $(LDFLAGS) $(OBJS) -o ../Game.so

.cpp.o:
    @echo &quot;( Compiling $^ )&quot; # debug output
    @g++ $(CFLAGS) $(INCLUDES) -c -o $@ $^</code></pre></div><p>NB: &quot;@&quot; lines are indented by a tabulation, not spaces</p><p>Instructions:<br />In your project folder (containg the .mproj file):<br />&nbsp; &nbsp; - put a copy of the SDK folder (or use a symlink)<br />&nbsp; &nbsp; - put the plugin sources+includes and the makefile into a new folder</p><p>Run the makefile using make.<br />The plugin is created in your project folder</p>]]></description>
			<author><![CDATA[dummy@example.com (com3D)]]></author>
			<pubDate>Thu, 29 Aug 2013 20:54:30 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=4874#p4874</guid>
		</item>
		<item>
			<title><![CDATA[Re: Custom game plugin on LINUX?]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=4867#p4867</link>
			<description><![CDATA[<p>Just thinking, maybe someone knows a proven way to compile it under Ubuntu linux using gcc without CodeBlocks. Can you post a command line to compile this project.</p>]]></description>
			<author><![CDATA[dummy@example.com (Skywriter)]]></author>
			<pubDate>Thu, 29 Aug 2013 19:20:42 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=4867#p4867</guid>
		</item>
		<item>
			<title><![CDATA[Re: Custom game plugin on LINUX?]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=4866#p4866</link>
			<description><![CDATA[<p>Did everything just as you said. Compiled WaterGameDemo with Game.so name, im using 32 bit OS Ubuntu linux, Maratis version is 3.21 also 32 bit, libraries and includes i used are from Maratis SDK folder, i did not compiled Maratis(just downloaded), used Codeblocks for compiler, compiled in Relese mode. Code is used from tutorial, nothing added - nothing removed, dll is in the same directory as .mproj. But still the same. Maybe i&#039;m missing something...</p>]]></description>
			<author><![CDATA[dummy@example.com (Skywriter)]]></author>
			<pubDate>Thu, 29 Aug 2013 17:35:42 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=4866#p4866</guid>
		</item>
		<item>
			<title><![CDATA[Re: Custom game plugin on LINUX?]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=4865#p4865</link>
			<description><![CDATA[<p>Try to use the codeblocks project from this example : <a href="http://www.maratis3d.org/download/WaterGameDemo.zip">http://www.maratis3d.org/download/WaterGameDemo.zip</a><br />I don&#039;t have access to linux right now to test your file.</p><p>Some infos in case :<br />- don&#039;t use maratis source code from svn, just link to the headers of MCore and MEngine present with the release of Maratis you downloaded.<br />- don&#039;t compile MCore and MEngine, just link to it.<br />- compile in release<br />- name the plugin &quot;Game.so&quot; (not libGame.so)</p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Thu, 29 Aug 2013 17:09:54 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=4865#p4865</guid>
		</item>
		<item>
			<title><![CDATA[Re: Custom game plugin on LINUX?]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=4864#p4864</link>
			<description><![CDATA[<p>Compiled in both versions debug/release, named it Game.so and tried libGame.so, but its still the same... Thanks for correcting the link com3D. I took out the dot. It works now</p>]]></description>
			<author><![CDATA[dummy@example.com (Skywriter)]]></author>
			<pubDate>Thu, 29 Aug 2013 15:48:56 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=4864#p4864</guid>
		</item>
		<item>
			<title><![CDATA[Re: Custom game plugin on LINUX?]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=4861#p4861</link>
			<description><![CDATA[<p>did you build it in &quot;release&quot; mode ? (&quot;debug&quot; mode won&#039;t work)</p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Thu, 29 Aug 2013 08:21:26 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=4861#p4861</guid>
		</item>
		<item>
			<title><![CDATA[Re: Custom game plugin on LINUX?]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=4860#p4860</link>
			<description><![CDATA[<p>Tried renaming libGame.so to Game.so and plugin is in the project directory with the .mproj file, but still nothing. Size of plugin is 238.3kb<br />I have uploaded the project here <a href="http://skywriter.freeoda.com/SimpleGamePlugin.zip">http://skywriter.freeoda.com/SimpleGamePlugin.zip</a> If someone could check it, i would be gratelly thankfull.</p>]]></description>
			<author><![CDATA[dummy@example.com (Skywriter)]]></author>
			<pubDate>Thu, 29 Aug 2013 07:40:44 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=4860#p4860</guid>
		</item>
		<item>
			<title><![CDATA[Re: Custom game plugin on LINUX?]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=4855#p4855</link>
			<description><![CDATA[<p>the plugin needs to be named &quot;Game.so&quot;.</p><p>Be also sure it&#039;s in your maratis project directory.</p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Wed, 28 Aug 2013 18:16:46 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=4855#p4855</guid>
		</item>
		<item>
			<title><![CDATA[Re: Custom game plugin on LINUX?]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=4849#p4849</link>
			<description><![CDATA[<p>Hi Sponk. My OS is 32 bit Ubuntu 13.04. I&#039;m new to codeblocks and c++ programming. What this flag does and how can i set it? I checked codeblocks under build options/compiler flags, but didnt find such flag</p>]]></description>
			<author><![CDATA[dummy@example.com (Skywriter)]]></author>
			<pubDate>Wed, 28 Aug 2013 12:59:30 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=4849#p4849</guid>
		</item>
		<item>
			<title><![CDATA[Re: Custom game plugin on LINUX?]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=4846#p4846</link>
			<description><![CDATA[<p>Hey Skywriter!</p><p>What Linux kernel are you using? A 32bit or 64bit kernel?</p><p>The precompiled Maratis version from the download page is 32bit afaik so you would have to recompile Maratis for 64bit and use the 64bit SDK. You could also compile your plugin with the -m32 flag.</p><p>Sponk</p>]]></description>
			<author><![CDATA[dummy@example.com (Sponk)]]></author>
			<pubDate>Wed, 28 Aug 2013 09:15:43 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=4846#p4846</guid>
		</item>
		<item>
			<title><![CDATA[Custom game plugin on LINUX?]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=4845#p4845</link>
			<description><![CDATA[<p>Hi everyone . I have compiled a dll of SimpleGamePlugin under linux ubuntu using codeblocks. The name&nbsp; of dll was libGame.so. I followed the tutorial of creating simple game plugin, but when i lounched the editor behavior was not visible. Actually it is not visible for any plugin(tried SimpleWaterDemo). Anyboady knows why? Is it working at linux at all?</p>]]></description>
			<author><![CDATA[dummy@example.com (Skywriter)]]></author>
			<pubDate>Wed, 28 Aug 2013 08:34:57 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=4845#p4845</guid>
		</item>
	</channel>
</rss>
