cocos2d / cocos2d-x

Cocos2d-x is a suite of open-source, cross-platform, game-development tools utilized by millions of developers across the globe. Its core has evolved to serve as the foundation for Cocos Creator 1.x & 2.x.
https://www.cocos.com/en/cocos2d-x
18.02k stars 7.05k forks source link

ubuntu 20 : cpGearJoint.c:(.text+0x144): undefined reference to `__powf_finite' #20737

Closed xufangbo closed 2 years ago

xufangbo commented 2 years ago

Steps to Reproduce:

  1. downlaod code from https://cocos2d-x.org/filedown/cocos2d-x-v4.0
  2. unzip
  3. install dependency
  4. cd build
  5. mkdir linux-build
  6. cd linux-build
  7. cmake ../..
  8. make
xufangbo commented 2 years ago

see : https://github.com/cocos2d/cocos2d-x/issues/20471