hypersurge/awe6

Awe6 + Haxenme - ios build errors

Closed this issue · 11 comments

Running on OS X Lion with latest updates as of 23rd May 2012.

What steps will reproduce the problem?
1. Get latest awe6 source
2. Run 'nme build awe6.nmml ios' (nme test awe6.nmml ios -simulator) will also 
give similar results.

What is the expected output? What do you see instead?
Expect project to build. Build log can be found at http://pastebin.com/H9hZB1XQ 
although errors of note are:

./src/awe6/core/MessageManager.cpp: In member function ‘virtual 
haxe::FastList_awe6_core__MessageManager__HelperSubscription 
awe6::core::MessageManager_obj::_getSubscriptions(awe6::interfaces::IEntity, 
Dynamic, Dynamic, awe6::interfaces::IEntity, Class)’:
./src/awe6/core/MessageManager.cpp:344: error: ‘EnumValue’ was not declared 
in this scope
./src/awe6/core/MessageManager.cpp:344: error: template argument 1 is invalid
./src/awe6/core/MessageManager.cpp:344: error: ‘EnumValue’ cannot appear in 
a constant-expression
./src/awe6/core/MessageManager.cpp:344: error: template argument 1 is invalid

NME Actuate sample builds fine, problem only occurs when using awe6.

What version of the product are you using? On what operating system?
actuate: [1.40]
awe6: [1.0.391]
hxcpp: 2.09.1 [dev:/users/sam/dev/hxcpp-dev]
nape: [m9.1-r10]
nme: [3.3.2]
swf: [1.11]

Please provide any additional information below.
Build log can be found here: http://pastebin.com/H9hZB1XQ

Original issue reported on code.google.com by samno...@gmail.com on 23 May 2012 at 8:57

Thanks - confirmed and replicated.  Bug introduced at r432.  For temporary 
workaround revert awe6.core.MessageManager to r431.

Original comment by robert.f...@hypersurge.com on 23 May 2012 at 7:25

  • Changed state: Accepted
Wonderful. Glad I'm not going crazy. Thanks. 

Sent from my iPhone 4S

Original comment by samno...@gmail.com on 23 May 2012 at 9:05

I cant reproduce the bug with hxcpp from svn (r474).
Could you try updating hxcpp and see if the build breaks again?

Original comment by i...@elimak.com on 23 May 2012 at 10:27

[deleted comment]
The version of hxcpp doesn't seem to make a difference, but reverting the 
MessageManager did the trick.

The latest revision of hxcpp is 478, but 474 worked also.

Original comment by samno...@gmail.com on 24 May 2012 at 7:49

I've upgraded to hxcpp trunk and reverted the MessageManager to r431 but still 
having this problem.

Original comment by tobias.r...@gmail.com on 24 May 2012 at 2:41

Can you update awe6 to the latest revision? r434.

Original comment by i...@elimak.com on 24 May 2012 at 2:53

Great! Now it's working, except that I get a force close of the app when built 
for the Mac target. 
For a short amount of time I see the intro screen, but music is not playing 
(just some "click" sounds). As soon as one moves the mouse over the "Start" 
button the app quits unexpectedly.

Didn't yet test the other targets.

Original comment by tobias.r...@gmail.com on 24 May 2012 at 3:01

It sounds like a complete different bug. Could you try the other targets?

Original comment by i...@elimak.com on 24 May 2012 at 3:12

Seems to work so far on iOS. I am filing a different bug report for the Mac 
target

Original comment by tobias.r...@gmail.com on 24 May 2012 at 8:17

Original comment by i...@elimak.com on 24 May 2012 at 11:47

  • Changed state: Verified