You should re-generate binding codes since you changed the macro.
What do you mean? I donāt understand, Iām just executing cocos gen-libsā¦
Why WebP removed in it? Iām using WebP as one type resource for both platforms. Thats what I need most.
And moreover Iām using SpriteBuilderX with custom cocos, based on current official version.
You modified the macro value from 1 to 0, you should re-generate binding codes to unbind some functions. You need to set up environments as the readme says, then you can do
cd cocos2dx_root/tools/tolua
python ./genbindings.py
cd ../tojs
python ./genbindings.py
1 Like
Ok, I probably should try it. But how do you think it will save my final build size? Iād prefer never use any bindingsā¦ or scripts and save build time and size.
I didnāt say it will save you package size, just help you to fix compiling error.