Author Topic: Haxe compiling problem  (Read 2760 times)

eclectic

  • Crewmate
  • *
  • Posts: 13
  • Amateur developer and digital artist.Check my web!
    • View Profile
    • Glitchware
Haxe compiling problem
« on: January 06, 2017, 08:28:17 pm »
Hello everyone, I'm following tutorials and I set up Haxe, Openfl and Neko and I'm trying to compile a default project template and projects from some tutorials with no success.

I really want to learn haxe as I would like to put my creativity into code and try to make a game but I'm stucked trying to compile my first project.

This is my log: http://pastebin.com/wkTUWerr, please if anyone has any idea what's wrong let me know, I'm stucked and I don't know how to proceed. I'm sure the project itself has no errors as it has been tested and even a default template does not compile.

Thanks in advance for any help
« Last Edit: January 07, 2017, 01:38:25 am by eclectic »

QwertymanO07

  • Captain
  • *****
  • Posts: 389
  • Rad scientist exraordinare
    • View Profile
Re: Haxe compiling problem
« Reply #1 on: January 06, 2017, 08:37:49 pm »
If you're just trying to make a game, I'd suggest using the LÖVE engine[love2d.org], since it's cross-platform and apparently far easier to use.  Though if you need Haxe for something in particular, there's not much I can do.

moth 🦋

  • Captain
  • *****
  • Posts: 1564
  • Welcome to the MOTHER3 world
    • View Profile
Re: Haxe compiling problem
« Reply #2 on: January 06, 2017, 08:51:37 pm »
If you're just trying to make a game, I'd suggest using the LÖVE engine[love2d.org], since it's cross-platform and apparently far easier to use.  Though if you need Haxe for something in particular, there's not much I can do.
i think terry knows haxe sooo

eclectic

  • Crewmate
  • *
  • Posts: 13
  • Amateur developer and digital artist.Check my web!
    • View Profile
    • Glitchware
Re: Haxe compiling problem
« Reply #3 on: January 06, 2017, 10:09:16 pm »
Someone told me I must upgrade from version 3.2.1. as it is too old but that is the version that installs from official repository, once I manage to upgrade to a newer version I will post here if it solves the problem.

Terry

  • Administrator
  • Captain
  • *****
  • Posts: 608
    • View Profile
    • distractionware
Re: Haxe compiling problem
« Reply #4 on: January 06, 2017, 11:01:41 pm »
Yeah, from that log it looks like something isn't up to date, probably haxe itself. OpenFL has been getting a *lot* of updates this year, and versions seem to break along the way!

eclectic

  • Crewmate
  • *
  • Posts: 13
  • Amateur developer and digital artist.Check my web!
    • View Profile
    • Glitchware
Re: Haxe compiling problem
« Reply #5 on: January 07, 2017, 09:48:39 am »
Hi Terry, thanks for answering, after searching for a solution I found that the versions of Haxe and Neko that comes from official Ubuntu repository seems to be incompatible (by default installs haxe 3.2. and neko 2.1.) It seems that the only solution is building haxe from source.

Version compatibility
Haxe - neko
2.* - 1.*
3.0.0 - 2.0.0
3.1.3 - 2.0.0
3.2.0 - 2.0.0
3.3.0 - 2.1.0

After building Haxe version 3.4.0 from source I can compile without problem. I hope this information is helpful if anyone try to learn Haxe.

« Last Edit: January 07, 2017, 10:28:31 am by eclectic »

Terry

  • Administrator
  • Captain
  • *****
  • Posts: 608
    • View Profile
    • distractionware
Re: Haxe compiling problem
« Reply #6 on: January 07, 2017, 12:34:43 pm »
Gosh, linux! You had to compile the compiler from source just to get started? :o

Terry

  • Administrator
  • Captain
  • *****
  • Posts: 608
    • View Profile
    • distractionware
Re: Haxe compiling problem
« Reply #7 on: January 07, 2017, 12:38:15 pm »
Made an issue about this on the OpenFL github page, that's a serious barrier to people dipping their feet into Haxe/OpenFL. :victoria: https://github.com/openfl/openfl/issues/1421