Errors after updating nme and haxe

Hi I am developing a game and using nme version 3.3.0 and haxe 2.08. It builds pretty fine for android target ans iOS as well but when I update both of them then it starts showing errors. Not sure what they mean but I think it's related to shared obj…

Viewing 1 to 5 (5 Total)
Errors after updating nme and haxe

deepak

deepak
Total Posts: 7
Joined: March 21, 2012

Hi

I am developing a game and using nme version 3.3.0 and haxe 2.08. It builds pretty fine for android target ans iOS as well but when I update both of them then it starts showing errors. Not sure what they mean but I think it's related to shared objects and text field .
Can someone help me as I have to submit it before 9 th for evaluation to GSOC.

Most of errors are related to neash and changing haxe back to 2.08.3 seems to fix this issue but my app crashes as soon as start playing it and when I back to nme 3.3.0 everything works fine. sad

You can clone or download it fromhttp://bitbucket.org/blogmedia/tux4kids...

Deepak


Errors which I am getting

./src/neash/utils/WeakRef.cpp:104: error: prototype for 'Dynamic neash::utils::W
eakRef_obj::__Field(const String&)' does not match any in class 'neash::utils::W
eakRef_obj'
include/neash/utils/WeakRef.h:26: error: candidate is: virtual Dynamic neash::ut
ils::WeakRef_obj::__Field(const String&, bool)
./src/neash/utils/WeakRef.cpp:126: error: prototype for 'Dynamic neash::utils::W
eakRef_obj::__SetField(const String&, const Dynamic&)' does not match any in cla
ss 'neash::utils::WeakRef_obj'
include/neash/utils/WeakRef.h:26: error: candidate is: virtual Dynamic neash::ut
ils::WeakRef_obj::__SetField(const String&, const Dynamic&, bool)
./src/neash/text/TextFieldType.cpp:29: error: prototype for 'Dynamic neash::text
::TextFieldType_obj::__Field(const String&)' does not match any in class 'neash:
:text::TextFieldType_obj'
include/neash/text/TextFieldType.h:20: error: candidate is: virtual Dynamic neas
h::text::TextFieldType_obj::__Field(const String&, bool)
Called from ? line 1
Called from BuildTool.hx line 1246
Called from BuildTool.hx line 554
Called from BuildTool.hx line 591
Called from BuildTool.hx line 710
Called from BuildTool.hx line 785
Uncaught exception - Error in building thread
Error : Build failed

Tags:
Posted on June 27, 2012 at 7:58 AM

pulseapps

pulseapps
Total Posts: 13
Joined: February 22, 2012

Re: Errors after updating nme and haxe

I was getting the same errors. Rolling back to hxcpp 2.09 fixed it.

Posted on July 03, 2012 at 1:02 PM

deepak

deepak
Total Posts: 7
Joined: March 21, 2012

Re: Errors after updating nme and haxe

Hi

Just uninstall haxe and all it's libraries without uninstalling sdk's and then install it again using new installer 3.3.3 then everything will get fixed automatically. I had to do same thing on my Mac in order to fix it.




Deepak

Posted on July 03, 2012 at 2:23 PM

igghera

igghera
Total Posts: 3
Joined: September 12, 2012

Re: Errors after updating nme and haxe

I apologize for the newbie question but... how do I uninstall haxe and all its libraries?

[EDIT] Just found out how to do it. On mac, simply delete the haxe folder: sudo rm -rf /usr/lib/haxe

Posted on September 12, 2012 at 8:24 PM

singmajesty

singmajesty
Total Posts: 2140
Joined: August 25, 2011

Re: Errors after updating nme and haxe

If you are experiencing "WeakRef" errors when building after an update to NME 3.4.3, try building your project with "-clean"

Posted on September 13, 2012 at 12:35 AM