cocos2d-x icon indicating copy to clipboard operation
cocos2d-x copied to clipboard

[Feature Request] Build external libs from source

Open donmor opened this issue 2 years ago • 1 comments

  • cocos2d-x version: 4.x-git
  • devices test on: qemu loongarch guest
  • developing environments
    • NDK version: none
    • Xcode version: none
    • VS version: none
    • browser type and version: none

Building cocos2d-x library and tests from source failed of linking error because prebuilt external libs are x64 only. The library itself built with all tests commented out. Demo project can be created from source tree, failed of linking errors because of libfmod.so. It'll be great if:

  • source code of external libs provided along with prebuilt (except fmod because it is closed-source), and can be built if with -DREBUILD_EXT_XXX
  • replace 64-bit with arch like x86_64, retrived from machine
  • make fmod (and other closed-source libs) default selected but optional. If not built with fmod, developers can use other open-source audio libs, or make their own audio stacks (even pwm on gpio if intended to do so)

Currently I'm tring to get over fmod problem on loongarch64, either purging out from source, or making a fake library wrapping some open source libraries.

donmor avatar May 11 '23 04:05 donmor

This is a fork from Cocos v4. it's being updated continuously. https://github.com/axmolengine/axmol

thienphuoc avatar May 11 '23 09:05 thienphuoc