BIG UPDATE
Today, I wanted to work on something else and I realized that Haxe was completley down. In fact, I can't compile any library. Even openfl doesn't work.
I tried to uninstall/reinstall Haxe without success.
I was currently working on my library project. Everything was working fine and suddenly, it became impossible to compile anything.
I restricted the problem to a minimal one.
So here is the project tree under haxe/lib folder near to every other libraries
beluga/current
beluga/0,1,0/haxelib.json
beluga/0,1,0/test/Test.hx
Note: I tried to rename the folder to
0.1.1and haxe threw me the following errorLibrary beluga version 0.1.0 is not installed
The content of the file Test.hx
package test;
class Test {
}
Now, if I create a new project. If I try to compile with
haxe -cp src -lib beluga -php bin -main Main
Please note that this works
haxe -cp src -cp ../../../lib/beluga/0,1 -php bin -main Main
It does not say that the beluga library is not found so it should be properly installed. Also, in FlashDevelop, the auto completion works fine. However, with a main like this:
package ;
import test.Test;
class Main {
static function main() { }
}
I have the following error:
src/Main.hx:2: characters 7-16 : Class not found : test.Test
Finally, the content of haxelib.json:
{
"name": "beluga",
"license": "GPL",
"tags": ["php","neko","framework","game"],
"description": "\r\n\t\tBeluga is a video game framework.\r\n\t",
"contributors": ["masadow"],
"releasenote": "Initial version, not released yet",
"version": "0.1",
"url": "http://myproject.org",
"dependencies": {
}
}
You can find the github repositories of the project here
Any idea ?
haxelib selfupdateto get the latest haxelib. And then try change the version to0.1.0. I'm not sure if it would make a difference, but it is worth a shot. If that doesn't work, perhaps you can post the code to Github so me or @back2dos can take a look? - Jason O'Neil