Getting strated: "haxelib.exe not found in SDK path" in Flash Develop

1,500 views
Skip to first unread message

daemonion

unread,
Aug 24, 2015, 2:44:42 AM8/24/15
to HaxeFlixel


The tutorials were very simple to follow and I was able to successfully run my HelloWorld program from the command line using

lime test neko

However, looking at the MenuState.hx file in FlashDevelop, I get the same error in the output window which I typed in the subject line.

Where did I go wrong? Thanks for the help!

Gama11

unread,
Aug 24, 2015, 4:10:45 AM8/24/15
to haxef...@googlegroups.com
Sounds like FlashDevelop had trouble finding the location of your Haxe SDK for some reason. Did you install it in a custom directory? But even if you did, FD should normally be able to deal with that...

You can set the path manually via Tools -> Program Settings -> HaxeContext -> InstalledSDKs. Press the "..." here to add / remove / change Haxe SDKs.

Edit: you said "looking at the MenuState.hx file" - is this an issue that actually prevents you from compiling with FlashDevelop or just some error that randomnly appears in the output panel?

daemonion

unread,
Aug 24, 2015, 11:51:19 AM8/24/15
to haxef...@googlegroups.com
Hey Gama, thanks for the reply.

When I did my initial search to diagnose the issue, one of the first things I found was to make sure the the Haxe SDK path was actually referenced properly in Flash Develop.
It is indeed correctly pointing to my ...
C:\HaxeToolkit\haxe
... directory, where haxelib.exe lives. That was the default directory that was created during the install.

As far as compiling goes, I can run my code fine using command prompt.

Here is what I see when loading up a working program.

Here is what I see when I run the program from within FlashDevelop. [edit] There are also "can't locate font" errors.

Here is what I see when I navigate to the directory the code is in and run it through command line.

[edit]I'm using Win10.

Gama11

unread,
Aug 25, 2015, 3:35:03 AM8/25/15
to HaxeFlixel
The "can't locate font errors" stem from the fact that that's an entirely different target (HTML5) and has nothing to do with FD - so it would seem compiling via FlashDevelop works just fine for you after all. Try changing the dropdown to neko and compare to the command line results.
Message has been deleted

Allen Liao

unread,
Dec 4, 2015, 4:05:22 AM12/4/15
to HaxeFlixel
run Flash Develop as administrator can fixed this issue.

daemonion於 2015年8月24日星期一 UTC+8下午11時51分19秒寫道:
Reply all
Reply to author
Forward
0 new messages