Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes after clicking the "Open Rom" icon #8

Open
fullofcaffeine opened this issue Jul 2, 2015 · 3 comments
Open

Crashes after clicking the "Open Rom" icon #8

fullofcaffeine opened this issue Jul 2, 2015 · 3 comments
Labels

Comments

@fullofcaffeine
Copy link

Hi,

Building on mac (Yosemite, x86_64), OpenFL 3.1.0, systools straight from github (this: https://github.com/waneck/systools, using haxelib dev to set it up), retrio-core also from github and set using haxelib dev. It compiles succesfully, and runs:

screenshot 2015-07-02 18 09 28

But when I click the "Open Rom" icon:

screenshot 2015-07-02 18 10 14

It just silently crashes.

When starting it from the CLI, I do get an error message:

nes/bin/mac64/cpp/bin/retrio.app/Contents/MacOS (master)$ ./retrio                                                    [2.2.1]
Could not find primitive dialogs_open_file__4.
Error : Null Function Pointer

So it seems related to systools. Any ideas? Maybe I'm using the wrong version? The version from Haxelib, btw, errs with:

openfl build mac                                                                                        [2.2.1]
/Users/fullofcaffeine/icebox/code/retrio-core/retrio/ui/openfl/FilePicker.hx:27: characters 90-95 : Too many arguments

Great work with the emulators, btw! Thank you for making them open source.

@bendmorris bendmorris added the bug label Jul 3, 2015
@bendmorris
Copy link
Contributor

Looks to me like it's not loading the open_file function correctly from the systools ndll.

  1. You might need to rebuild your ndll: Mac64 OpenFile Dialog Crash [Solved] waneck/systools#25

  2. Check the app after building - does "systools.ndll" show up in bin/mac64/cpp/bin/retrio.app/Contents/MacOS/ ?

  3. Does copying systools.ndll to the directory you're executing from make any difference?

@fullofcaffeine
Copy link
Author

Hi Ben,

  1. Check the app after building - does "systools.ndll" show up in >bin/mac64/cpp/bin/retrio.app/Contents/MacOS/ ?

It does: https://www.dropbox.com/s/rjs4x70dflw58kz/Screenshot%202015-07-14%2015.46.50.png?dl=0

Why wouldn't this version not work/be loaded?

@bendmorris
Copy link
Contributor

I'm not sure. I do have a pull request in to systools waneck/systools#30 but it doesn't sound like exactly the same issue. You could try building from my fork though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants