Questions tagged [haxelib]

Tool which enables developers to share their code and libraries into a common repository.

67 questions
6
votes
1 answer

OpenFL and Lime does not run, because of a segmentation fault

Recently, I have found (on Mac OS X Mavericks) OpenFL and LIME (with the command line tools) not working due to a 'segmentation fault'. Before I get into the details, here's some background. I originally got Haxe + Neko from the installer provided…
hpm
  • 1,202
  • 13
  • 34
5
votes
1 answer

haxelib selfupdate won't work

Whenever I run haxelib selfupdate I get the following error: Error writing file /usr/bin/haxelib. Please ensure you have write permissions. [file_open,/usr/bin/haxelib] I tried to change the owner and group of /usr /usr/bin and /usr/bin/haxelib…
Fabio Picchi
  • 1,202
  • 2
  • 10
  • 22
5
votes
2 answers

Haxe can't find std libraries

I am trying to setup Haxe with IntelliJ and my Linux box. I downloaded Linux 64bit binaries from haxe(haxe 3.1.3) site and community edition intellij. I installed Haxe plugin in intellij and then created a new Haxe Module. For sdk I picked the haxe…
Apostolos
  • 7,763
  • 17
  • 80
  • 150
4
votes
1 answer

haxelib run can't start new threads?

I'm getting an exception when trying to use the haxelib run command on my test Haxelib: haxelib run haxelib-test D:\HaxeToolkit\haxe\std/neko/vm/Thread.hx:54: characters 20-71 : Can't create thread from within a macro Without threading everything…
Curly Brace
  • 515
  • 3
  • 13
4
votes
2 answers

Can I precompile a haxelib library so that it doesn't recompile every time I build the project?

I'm building a game with Haxe and NME. My code was compiling pretty quickly, but then I added the Nape physics engine with haxelib and now my compile time has increased by quite a lot. My guess is that the Nape library is being recompiled every…
davidscolgan
  • 7,508
  • 9
  • 59
  • 78
3
votes
1 answer

How can I expose, together with my classes, the types imported from the glm Haxe lib?

I am writing a class that I will translate to both Python and C#. My code uses the nice "glm" library. Glm provides useful datatypes, e.g: Vec3. Can I make Vec3 visible to the Python and C# users of my class? In other words, can I expose public…
fnunnari
  • 159
  • 2
  • 11
3
votes
1 answer

Haxe - Why can I not access a child's attribute without getting an error that the parent does not have the given attribute?

I've recently been getting into Haxe and just started to use HaxeFlixel to load a Tiled .TMX file. I am creating a TiledMap object and passing it the TMX file path, then I want to iterate over the layers in that object to add them to the game scene.…
Jay Turner
  • 33
  • 5
3
votes
2 answers

Haxe how to speed up compilation (choosing fastest target)

I'm currently using Haxe, specifically haxeflixel for development. One thing that really bugs me is the build/compile time. I'm not even compiling to c++ target but decided to compile to neko vm as I thought it maybe faster. However; the compile…
efel
  • 1,054
  • 3
  • 14
  • 29
3
votes
1 answer

Haxe - Create a C++ Stand-alone executable

I have written a haxe program that tries to communicate with a remote server. I was able to compile to the C++ target successfully. The executable runs just fine on my system. However, when I try to run the same on another windows box, it fails with…
Hells Guardian
  • 395
  • 1
  • 4
  • 16
3
votes
0 answers

Haxe - Monitor CPU usage of a particular process/executable

It is required of my Haxe program to calculate the average CPU usage of a particular executable/process over a specified period of time. I understand that the solution is platform specific and would like to achieve it for both Windows and Linux.
Ranganatha Rao
  • 375
  • 1
  • 2
  • 9
3
votes
1 answer

haxelib to install with haxe in a custom directory

I'm trying to set up haxe development environment. I'd prefer not to install haxe in /usr, so I edited haxe Makefile so that the install directory is a local one: INSTALL_DIR=/home/liori/Programy/haxe.install However, now I cannot use haxelib: %…
liori
  • 40,917
  • 13
  • 78
  • 105
3
votes
2 answers

What exactly is lime, lime-tools, aether, etc

I understand the overall concept of the Haxe programming language and OpenFL, but I'm having a lot of trouble understanding the purpose of these various libraries and how they relate to each other and which ones are deprecated. I've read that…
c..
  • 1,044
  • 1
  • 9
  • 23
2
votes
1 answer

Haxe: get path to the `std` library

I need to get path to the std folder of Haxe. On Linux system it can be /usr/share/haxe/std, on Windows -- C:\HaxeToolkit\haxe\std\. There are haxelib config, haxelib path and haxelib libpath commands, but they point me to /usr/local/lib/haxe/…
XorNut
  • 23
  • 1
  • 7
2
votes
3 answers

Error: Failed with error: No such Project : polymod

I am trying to make a Friday Night Funkin' mod, but when I compile it, this error shows up: Error: Could not find haxelib "polymod", does it need to be installed? So of course I tried to install it, but then this showed up: Error: Failed with…
neksodebe
  • 65
  • 8
2
votes
1 answer

HaxeFlixel - Expected } error when using a case command

I keep getting an error where it's expecting a } in the "case 'captain-cool'" I don't know what it means and adding a } gives me the same error. swith(curSong.toLowerCase()); { case 'captain-cool': { …
1
2 3 4 5