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

Mac64 OpenFile Dialog Crash [Solved] #25

Closed yupswing closed 9 years ago

yupswing commented 9 years ago

When I try to open the file dialog it crashes with this error

Could not find primitive dialogs_open_file__4.
Null Function Pointer
        var files = Dialogs.openFile
                                ( "Select a file please, or type name"
                                , "This additional message will only be shown on OSX"
                                ,{ count: 1
                                 , descriptions: [filetype]
                                 , extensions: [extension]
                              }
                                );
        trace(files);
        if (files==null) return "";
        return files[0];
yupswing commented 9 years ago

[SOLVED]

NDLL need to be recompiled

cd project
haxelib run hxcpp build.xml

(Thanks to ibilon http://community.openfl.org/t/help-systools-problems/1172/3)