Skip to content

[Feature Request] Build external libs from source #20773

Description

@donmor
  • 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions