lime: Flashdevelop/haxedevelop build Neko is it possible still from OpenFL project? Fails to compile.
I made a fresh reinstall of Win 11 Home 22H2 because previously I tried renaming the AppData username and even though I fixed paths in Registry it caused some permission w issues writing to the user/documents/.(folders) like Gimp was crashing and so was probably Lime config.xml.
Now that I started anew, installed Haxe ToolKit with neko and haxe and then
haxelib install lime haxelib run lime setup lime install openfl
To install LIME libs.
And a simple project will not work when trying to build Neko, example: (but programs I have built like that before 2020 work but I cant update them if I cant compile again)
Error for below code is:
Called from lime/_internal/backend/native/NativeCFFI.hx line 613 Called from lime/system/CFFI.hx line 172 Called from lime/system/CFFI.hx line 306 Uncaught exception - Could not find NekoAPI interface.
if that matters I have C:\Users\Me\.lime\config.xml and is just
<config>
<section id="defines"> </section>
</config>
(do I need to get a proper LIME config and how and where is it stored on the hard disk?)
This is a simple project that will not compile
package;
import openfl.Assets;
import openfl.display.Bitmap;
import openfl.display.BitmapData;
import openfl.display.Sprite;
import openfl.Lib;
/**
* ...
* @author Me
*/
class Main extends Sprite
{
public function new()
{
super();
// Assets:
// openfl.Assets.getBitmapData("img/assetname.jpg");
var iTestPic:Bitmap = new Bitmap(Assets.getBitmapData("img/testpic.jpg"));
addChild(iTestPic);
}
}
About this issue
- Original URL
- State: open
- Created a year ago
- Comments: 15 (9 by maintainers)
Completely unrelated, but I might have to take it back anyway. The code in question is the final fall-through case if all else fails, and probably never gets run.