<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Hxcpp 0.4, NME 0.9, Neash 0.9 Released!</title>
	<atom:link href="http://gamehaxe.com/2009/04/07/hxcpp-nme-neash-released/feed/" rel="self" type="application/rss+xml" />
	<link>http://gamehaxe.com/2009/04/07/hxcpp-nme-neash-released/</link>
	<description>Experimenting with Web Game Development</description>
	<lastBuildDate>Sat, 04 Sep 2010 13:14:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Joshua Granick</title>
		<link>http://gamehaxe.com/2009/04/07/hxcpp-nme-neash-released/comment-page-1/#comment-848</link>
		<dc:creator>Joshua Granick</dc:creator>
		<pubDate>Thu, 08 Jul 2010 01:21:57 +0000</pubDate>
		<guid isPermaLink="false">http://gamehaxe.com/?p=119#comment-848</guid>
		<description>I also am receiving the &quot;Error: Could not load module nme@nme_filter_image__2&quot; error. I&#039;m publishing it to a phone (similar to iPhone), where all the code is linked together. Is it possible that this is a pathing issue, once its linked together, or why wouldn&#039;t it find this module?

Thank you for any help!</description>
		<content:encoded><![CDATA[<p>I also am receiving the &#8220;Error: Could not load module nme@nme_filter_image__2&#8243; error. I&#8217;m publishing it to a phone (similar to iPhone), where all the code is linked together. Is it possible that this is a pathing issue, once its linked together, or why wouldn&#8217;t it find this module?</p>
<p>Thank you for any help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Huge</title>
		<link>http://gamehaxe.com/2009/04/07/hxcpp-nme-neash-released/comment-page-1/#comment-333</link>
		<dc:creator>Huge</dc:creator>
		<pubDate>Wed, 04 Nov 2009 14:41:48 +0000</pubDate>
		<guid isPermaLink="false">http://gamehaxe.com/?p=119#comment-333</guid>
		<description>Joacim, thanks for reporting that. I&#039;ll fold this logic into the next release.</description>
		<content:encoded><![CDATA[<p>Joacim, thanks for reporting that. I&#8217;ll fold this logic into the next release.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joacim</title>
		<link>http://gamehaxe.com/2009/04/07/hxcpp-nme-neash-released/comment-page-1/#comment-331</link>
		<dc:creator>Joacim</dc:creator>
		<pubDate>Wed, 04 Nov 2009 00:53:17 +0000</pubDate>
		<guid isPermaLink="false">http://gamehaxe.com/?p=119#comment-331</guid>
		<description>Thanks Huge, setting the -m32 flag did the trick!

I also had to set the -m32 flag in the linker sections below to avoid &quot;file is not of required architecture&quot; errors from g++.

/J</description>
		<content:encoded><![CDATA[<p>Thanks Huge, setting the -m32 flag did the trick!</p>
<p>I also had to set the -m32 flag in the linker sections below to avoid &#8220;file is not of required architecture&#8221; errors from g++.</p>
<p>/J</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Huge</title>
		<link>http://gamehaxe.com/2009/04/07/hxcpp-nme-neash-released/comment-page-1/#comment-329</link>
		<dc:creator>Huge</dc:creator>
		<pubDate>Mon, 02 Nov 2009 15:47:34 +0000</pubDate>
		<guid isPermaLink="false">http://gamehaxe.com/?p=119#comment-329</guid>
		<description>Hi Joacim,
Is your system 64-bit?  Your cpp code may have been compiled as 64 bit, in which case it will not be able to load the 32-bit ndll files.  I think the easiest fix in this case would be to add a flag to force 32-bit compiles.

I have not tried this, but you can try this out in the &quot;BuildCommon.xml&quot; file in the &quot;build-tool&quot; sub-directory of your haxelib hxcpp distribution.
 
in the MACOS section that starts with:
&lt;code&gt;
&lt;compiler id=&quot;darwin&quot; exe=&quot;gcc&quot; if=&quot;macos&quot;&gt;
&lt;/code&gt;
 
Add the line:
&lt;code&gt;
&lt;flag value=&quot;-m32&quot;/&gt;
&lt;/code&gt;

Also, you can debug the HXCPP loading by setting the HXCPP_LOAD_DEBUG environement variable.</description>
		<content:encoded><![CDATA[<p>Hi Joacim,<br />
Is your system 64-bit?  Your cpp code may have been compiled as 64 bit, in which case it will not be able to load the 32-bit ndll files.  I think the easiest fix in this case would be to add a flag to force 32-bit compiles.</p>
<p>I have not tried this, but you can try this out in the &#8220;BuildCommon.xml&#8221; file in the &#8220;build-tool&#8221; sub-directory of your haxelib hxcpp distribution.</p>
<p>in the MACOS section that starts with:<br />
<code><br />
&lt;compiler id="darwin" exe="gcc" if="macos"&gt;<br />
</code></p>
<p>Add the line:<br />
<code><br />
&lt;flag value="-m32"/&gt;<br />
</code></p>
<p>Also, you can debug the HXCPP loading by setting the HXCPP_LOAD_DEBUG environement variable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joacim</title>
		<link>http://gamehaxe.com/2009/04/07/hxcpp-nme-neash-released/comment-page-1/#comment-318</link>
		<dc:creator>Joacim</dc:creator>
		<pubDate>Thu, 22 Oct 2009 22:52:48 +0000</pubDate>
		<guid isPermaLink="false">http://gamehaxe.com/?p=119#comment-318</guid>
		<description>Hello,

I&#039;m having some trouble running the binary compiled by hxcpp. I get &quot;Error : Could not load module nme@nme_filter_image__2&quot; when trying to run my own code or any of the samples included.

I tried both setting DYLD_LIBRARY_PATH and copying nekoapi.dylib and nme.ndll to the same dir as the binary. No luck.

I also tried setting DYLD_PRINT_LIBRARIES and DYLD_PRINT_BINDINGS, but can find no references to nme or neko whatsoever.

The neko version compile and runs fine.

Any ideas what might go wrong?

I&#039;m running OS X 10.6 och hxcpp 1.0.7 (and haxe 2.0.4)

Thanks
/J</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I&#8217;m having some trouble running the binary compiled by hxcpp. I get &#8220;Error : Could not load module nme@nme_filter_image__2&#8243; when trying to run my own code or any of the samples included.</p>
<p>I tried both setting DYLD_LIBRARY_PATH and copying nekoapi.dylib and nme.ndll to the same dir as the binary. No luck.</p>
<p>I also tried setting DYLD_PRINT_LIBRARIES and DYLD_PRINT_BINDINGS, but can find no references to nme or neko whatsoever.</p>
<p>The neko version compile and runs fine.</p>
<p>Any ideas what might go wrong?</p>
<p>I&#8217;m running OS X 10.6 och hxcpp 1.0.7 (and haxe 2.0.4)</p>
<p>Thanks<br />
/J</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Huge</title>
		<link>http://gamehaxe.com/2009/04/07/hxcpp-nme-neash-released/comment-page-1/#comment-194</link>
		<dc:creator>Huge</dc:creator>
		<pubDate>Sat, 25 Jul 2009 01:39:37 +0000</pubDate>
		<guid isPermaLink="false">http://gamehaxe.com/?p=119#comment-194</guid>
		<description>Thanks Fedor you are certainly correct.  I have fixed the source code, and will get the binaries sorted later this weekend.</description>
		<content:encoded><![CDATA[<p>Thanks Fedor you are certainly correct.  I have fixed the source code, and will get the binaries sorted later this weekend.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fedor</title>
		<link>http://gamehaxe.com/2009/04/07/hxcpp-nme-neash-released/comment-page-1/#comment-193</link>
		<dc:creator>Fedor</dc:creator>
		<pubDate>Fri, 24 Jul 2009 06:13:33 +0000</pubDate>
		<guid isPermaLink="false">http://gamehaxe.com/?p=119#comment-193</guid>
		<description>Hi.

I think that in &quot;runtime\libs\std\Thread.cpp&quot; in method 
static value thread_create( value f, value param )

error near the end:

	return p-&gt;t-&gt;v;

should be changed to 

	return v;</description>
		<content:encoded><![CDATA[<p>Hi.</p>
<p>I think that in &#8220;runtime\libs\std\Thread.cpp&#8221; in method<br />
static value thread_create( value f, value param )</p>
<p>error near the end:</p>
<p>	return p-&gt;t-&gt;v;</p>
<p>should be changed to </p>
<p>	return v;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fedor</title>
		<link>http://gamehaxe.com/2009/04/07/hxcpp-nme-neash-released/comment-page-1/#comment-190</link>
		<dc:creator>Fedor</dc:creator>
		<pubDate>Thu, 23 Jul 2009 07:38:53 +0000</pubDate>
		<guid isPermaLink="false">http://gamehaxe.com/?p=119#comment-190</guid>
		<description>Hi.

I&#039;m running Win32 and VS2008. After internal errors I&#039;m using intel compiler for VS2008. 

Checked with standard VS2008 compiler - TestEnum does not generate that error, but intel compiler (icl.exe) produces it.

Standard VS2008 compiler still have internal error on more comples projects.</description>
		<content:encoded><![CDATA[<p>Hi.</p>
<p>I&#8217;m running Win32 and VS2008. After internal errors I&#8217;m using intel compiler for VS2008. </p>
<p>Checked with standard VS2008 compiler &#8211; TestEnum does not generate that error, but intel compiler (icl.exe) produces it.</p>
<p>Standard VS2008 compiler still have internal error on more comples projects.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Huge</title>
		<link>http://gamehaxe.com/2009/04/07/hxcpp-nme-neash-released/comment-page-1/#comment-189</link>
		<dc:creator>Huge</dc:creator>
		<pubDate>Tue, 21 Jul 2009 13:51:43 +0000</pubDate>
		<guid isPermaLink="false">http://gamehaxe.com/?p=119#comment-189</guid>
		<description>Hi Fedor,
I&#039;v looked at as couple of systems and do not see this bug.  Are you running 64-bit OS and compiler?  I have just made a minor modification to hxMacros.h that may fix your problem.  Let me know if the problem persists.
If you feel like it, you could also try replacing the string macro with:
#define STRING(s,len) String(s,len)
and see if that fixes it.
Thanks,
Hugh</description>
		<content:encoded><![CDATA[<p>Hi Fedor,<br />
I&#8217;v looked at as couple of systems and do not see this bug.  Are you running 64-bit OS and compiler?  I have just made a minor modification to hxMacros.h that may fix your problem.  Let me know if the problem persists.<br />
If you feel like it, you could also try replacing the string macro with:<br />
#define STRING(s,len) String(s,len)<br />
and see if that fixes it.<br />
Thanks,<br />
Hugh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fedor</title>
		<link>http://gamehaxe.com/2009/04/07/hxcpp-nme-neash-released/comment-page-1/#comment-187</link>
		<dc:creator>Fedor</dc:creator>
		<pubDate>Fri, 17 Jul 2009 05:35:13 +0000</pubDate>
		<guid isPermaLink="false">http://gamehaxe.com/?p=119#comment-187</guid>
		<description>It compiles OK. I have problem during execution, problem in next:
after line 
var k = Reflect.field(EnumWeek_obj,kname);

k is equal not to &quot;Friday&quot; but &quot;iday&quot;.

Type.getEnumConstructs(cast EnumWeek) returns cutted strings &quot;nday&quot;, &quot;esday&quot;, ...</description>
		<content:encoded><![CDATA[<p>It compiles OK. I have problem during execution, problem in next:<br />
after line<br />
var k = Reflect.field(EnumWeek_obj,kname);</p>
<p>k is equal not to &#8220;Friday&#8221; but &#8220;iday&#8221;.</p>
<p>Type.getEnumConstructs(cast EnumWeek) returns cutted strings &#8220;nday&#8221;, &#8220;esday&#8221;, &#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
