waneck / systools

fork of neko-systools ( https://code.google.com/p/neko-systools ) for Haxe 3/Neko 2
Other
49 stars 21 forks source link

error with neko #34

Closed R3D9477 closed 8 years ago

R3D9477 commented 8 years ago

Hi. When I haxe error, when trying to run dialog from neko

Main.n:

package;

import systools.Dialogs;

class Main {
    public static function main () {
        Dialogs.message("neko-systools","Message error test", true);
        trace("confirm error: " + Dialogs.confirm("neko-systools","Confirm error test", true));
    }
}

build.hxml:

-main Main
-lib systools
-neko Main.n

result:

$ haxe build.hxml && neko Main.n
Could not link to neko.
Called from systools/Dialogs.hx line 36
Called from systools/Loader.hx line 18
Called from systools/Loader.hx line 33
Uncaught exception - Segmentation fault

haxe 3.2.1. Linux Mint 18 x64

R3D9477 commented 8 years ago

problem is solved, just needed to install package neko-dev sudo apt-get install neko-dev