Problem with setup for development build

I’m having a problem with dynamic audio generation on a mac target, so I thought I’d debug the problem by installing the lime development build. I followed the instructions at http://www.openfl.org/documentation/advanced-setup/development-builds/, but now when I run “lime test mac”, I get:

Called from openfl/_v2/utils/ByteArray.hx line 757
Called from openfl/_v2/Lib.hx line 248
Called from openfl/_v2/Lib.hx line 391
Called from openfl/_v2/Lib.hx line 193
Called from /usr/lib/haxe/std/neko/Lib.hx line 30
Uncaught exception - load.c(237) : Failed to load library : lime.ndll (dlopen(lime.ndll, 1): image not found)

What am I doing wrong? How can I fix this problem?

Thank you!

I don’t think these instructions are up to date anymore,
so what happens is you’re missing the legacy ndll.
Try lime rebuild mac -Dlegacy.

That did it. Thank you!!

So how do I setup to use the “next” build instead of legacy?

You already built it when you didn’t use -Dlegacy,
currently only flash and html5 targets use the “next” version,
but you can force it with -Dnext or -Dlegacy when compiling your project.
Note that “next” doesn’t have support for ios or android yet and may isn’t complete on native either (that’s why it isn’t activated by default).

1 Like