Thanks for help!
I found fixed bonus:
nme-dev/tools/build/build.hx
Find:
public function buildSDL2Mixer(inVer:String)
{
var dir = 'unpack/SDL2_mixer-$inVer';
untar(dir,"SDL2_mixer-" + inVer + ".tgz");
copy("buildfiles/sdl2_mixer.xml", dir);
copy("patches/SDL2_mixer/music.c", dir);
runIn(dir, "haxelib", ["run", "hxcpp", "sdl2_mixer.xml" ].concat(buildArgs));
mkdir("../include/SDL2");
copy('$dir/SDL_mixer.h',"../include/SDL2/SDL_mixer.h");
}
Replace with “//”
public function buildSDL2Mixer(inVer:String)
{
var dir = 'unpack/SDL2_mixer-$inVer';
//untar(dir,"SDL2_mixer-" + inVer + ".tgz");
copy("buildfiles/sdl2_mixer.xml", dir);
copy("patches/SDL2_mixer/music.c", dir);
runIn(dir, "haxelib", ["run", "hxcpp", "sdl2_mixer.xml" ].concat(buildArgs));
mkdir("../include/SDL2");
copy('$dir/SDL_mixer.h',"../include/SDL2/SDL_mixer.h");
}
Compile with compile.hxml
And unpack manuell nme-dev-project/tars/SDL2_mixer-2.0.0.tgz to nme-dev/project/unpack/
and cd nme-dev/project
neko build.n
Wiat for whole lib files
than lime rebuild hxcpp windows
lime rebuild lime windows -Dlegacy
It works fine.
Thanks I forget to add Dlegacy because it is safest because newest version has problem with vector or Float32Array that is why so sad…
I go back old version. How do I replace newest version of lime.Window() and lime.Application? from old version into new version like I want use 3.6.0 for Openfl and 2.9.0 for Lime. Can I replace with new version of Application, Window and Event from Lime 3.3.0?
Is it allow or not allow? I must be careful - I should replace same to cpp / header too?