[NME 3.3.3] Problems while building project

Under Xubuntu 12.04 with 32-bit nme/haxe backend, right after doing [i]haxelib upgrade[/i] I get: [i]nme build [project] flash|linux[/i] [b]Called from neash/display/Graphics.hx line 221 Called from neash/Loader.hx line 70 Called from C:\Motion-Twin…

  • Forums
  • »
  • Bugs
  • »
  • [NME 3.3.3] Problems while building project
Viewing 1 to 10 (10 Total)
[NME 3.3.3] Problems while building project

GrzegorzNowak

GrzegorzNowak
Total Posts: 7
Joined: June 06, 2012

Under Xubuntu 12.04 with 32-bit nme/haxe backend, right after doing haxelib upgrade I get:

nme build [project] flash|linux
Called from neash/display/Graphics.hx line 221
Called from neash/Loader.hx line 70
Called from C:\Motion-Twin\haxe/std/neko/Lib.hx line 33
Uncaught exception - load.c(352) : Primitive not found : ./nme@nme_gfx_draw_path(4)


haxelib list:
swf: 1.11 [1.12]
hxcpp: 2.09 2.09.1 [2.09.3]
nme: 3.3.2 [3.3.3]
HaxePunk: [1.6.5]
actuate: [1.40]
gm2d: [1.1]
jeash: [0.8.7]

Tags:
Posted on June 10, 2012 at 11:52 AM

q13

q13
Total Posts: 6
Joined: June 08, 2012

Re: [NME 3.3.3] Problems while building project

Try to use: "nme.display..." instead of all display classes of neash.
It's should help.

Posted on June 10, 2012 at 1:03 PM

GrzegorzNowak

GrzegorzNowak
Total Posts: 7
Joined: June 06, 2012

Re: [NME 3.3.3] Problems while building project

import nme.display...

That's exactly what I'm doing across the app. If I didn't, then compiler should have complained about not being able to compile to flash target at all.

See the exception callstack. The origin lies in Uncaught exception - load.c(352) : Primitive not found : ./nme@nme_gfx_draw_path(4)

Posted on June 10, 2012 at 2:57 PM

GrzegorzNowak

GrzegorzNowak
Total Posts: 7
Joined: June 06, 2012

Re: [NME 3.3.3] Problems while building project

Actually this exception is thrown even if I simply type:
nme
in the console.
Reinstallation of nme library didn't help.


I found a reference to this "gfx_draw_path" in this issue:http://code.google.com/p/nekonme/issues/detail?id=238...

I didn't dwelve into the codebase, but from the first glance it looks like my version of library file doesn't contain this object.

Posted on June 10, 2012 at 3:32 PM

singmajesty

singmajesty
Total Posts: 2140
Joined: August 25, 2011

Re: [NME 3.3.3] Problems while building project

Hmm, this is strange. Are you running a 32-bit copy of Xubuntu, or 64-bit?

So you tried a command like "nme test MyCoolProject.nmml linux" and got this error? If you are running 64-bit, does it behave differently if you add a "-64" flag?

Posted on June 10, 2012 at 8:17 PM

singmajesty

singmajesty
Total Posts: 2140
Joined: August 25, 2011

Re: [NME 3.3.3] Problems while building project

Did NME 3.3.2 work for you properly?

Posted on June 10, 2012 at 8:18 PM

GrzegorzNowak

GrzegorzNowak
Total Posts: 7
Joined: June 06, 2012

Re: [NME 3.3.3] Problems while building project

I run 32-bit vbox'd flavour of latest Xubuntu.

As wrote previously: after investigation this error is not specific to building a project, but rather to nme per se. simply invoking nme in terminal results in the same error:
Called from neash/display/Graphics.hx line 221
Called from neash/Loader.hx line 70
Called from C:\Motion-Twin\haxe/std/neko/Lib.hx line 33
Uncaught exception - load.c(352) : Primitive not found : ./nme@nme_gfx_draw_path(4)

Yes it works with 3.3.2 flawlessly. Even now, when I pointed haxelib to use 3.3.2 it worked fine. But switching to latest breaks the nme in the way described.

Posted on June 11, 2012 at 8:39 AM

mrmojorisin

mrmojorisin
Total Posts: 48
Joined: April 04, 2012

Re: [NME 3.3.3] Problems while building project

and Haxe is 2.09?

Posted on June 13, 2012 at 1:11 PM

GrzegorzNowak

GrzegorzNowak
Total Posts: 7
Joined: June 06, 2012

Re: [NME 3.3.3] Problems while building project

indeed

Posted on June 14, 2012 at 1:51 AM

GrzegorzNowak

GrzegorzNowak
Total Posts: 7
Joined: June 06, 2012

Re: [NME 3.3.3] Problems while building project

I'd love to learn the NME codebase to support the project with my skills, but right now I have to many assignments to start a thorough analysis. If you could point me where to look the problem for, I might try to resolve it on my own. Just a hook to catch on start, please.
This project rocks btw.

Posted on June 14, 2012 at 1:52 PM