Today i updated my development versions of lime, nme and nme-dev. Now when i want to compile my code to cpp windows target, compilation fails with the message “… legacy/lime.ndll not found.”
There is no lime.ndll and when I run “lime rebuild windows” it rebuilds, but it doesn’t build a lime.ndll in the lime legacy folder.
I don’t know what to do now.
I installed the development versions like i do it always.
get lime, nme and nme-dev dev. versions from github.
If you are working from the source, Lime now has the Lime 2.0 binaries, as well as Lime “legacy” binaries, which are the older codebase.
In order to build the standard Lime binary (used by “next” in OpenFL, or all standard Lime projects), use “lime rebuild windows”, after you “git submodule init && git submodule update” on the repository.
Building the legacy binary is more complex, you may opt to download a recent build, and copy the “legacy/ndll” directory yourself. To build it, you will need development versions of NME, nme-dev and HXCPP, then you can “lime rebuild hxcpp windows”, and go to “project” within “nme-dev” and run “neko build.n windows” before you finally “lime rebuild windows -Dlegacy”
What can i do? I need to change the drawtiles cpp code a little bit, i added some more values for cropping the tiles.
My code will not run with the release build.
I can’t find an older nme-dev version, where the extractor still exists. Does it mean i can’t build from source on windows until this is fixed? I tried to unpack the files manually, i installed GnuWin32 tar and added the path to the environment path. No Luck at all.
It looks like the regression was only the most recent commit. If you’re using GIT from a command-prompt, try this:
git reset --hard HEAD~1
This should revert the repository back a commit, it should say that the head is at a commit called “Update meta”. Afterward, try running the “neko build.n windows” command from the nme-dev project folder again
Thanks for the tip. I found the last version (1.3) and it runs successfully the neko build.n command. But now there is another error with “lime rebuild windows -Dlegacy”.