Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Build external libs from source #20773

Open
donmor opened this issue May 11, 2023 · 1 comment
Open

[Feature Request] Build external libs from source #20773

donmor opened this issue May 11, 2023 · 1 comment

Comments

@donmor
Copy link

donmor commented May 11, 2023

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

@thienphuoc
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants