cocos2d / cocos2d-x-3rd-party-libs-src

Dependencies of cocos2d-x.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

无法编译android arm64的chipmunk库

OpenYourEye opened this issue · comments

使用的命令:./build.sh -p=android --libs=chipmunk --arch=arm64

log信息
You don't specify a valid build mode, use release mode
build api is 21.
checking arm64 is in arm armv7 x86 arm64 mips
checking chipmunk is in png zlib lua luajit websockets curl freetype jpeg tiff webp chipmunk openssl rapidjson

build arm64 for chipmunk in android
toolchain path is /Users/zeromini/Documents/android/android-ndk-r10c/toolchains/aarch64-linux-android-4.9/prebuilt/darwin-x86_64/bin
Creating configuration file... config.mak
The host is linux-android
check android sdk
we are using mthumb for arm64-v8a!!
Bootstrap completed.

Run "make" to start compilation.

Other targets:

  • make install same as "make"
  • make list list packages
  • make fetch fetch required source tarballs
  • make fetch-all fetch all source tarballs
  • make distclean clean everything and undo bootstrap
  • make mostlyclean clean everything except source tarballs
  • make clean clean everything
    (cd chipmunk && patch -fp1) < ../../contrib/src/chipmunk/cocos2d.patch
    patching file include/chipmunk/chipmunk.h
    Hunk #1 FAILED at 117.
    1 out of 1 hunk FAILED -- saving rejects to file include/chipmunk/chipmunk.h.rej
    patching file include/chipmunk/chipmunk_types.h
    Hunk #1 FAILED at 26.
    1 out of 1 hunk FAILED -- saving rejects to file include/chipmunk/chipmunk_types.h.rej
    patching file src/cpHastySpace.c
    Hunk #1 FAILED at 6.
    1 out of 1 hunk FAILED -- saving rejects to file src/cpHastySpace.c.rej
    make: *** [.chipmunk] Error 1

lua库的armeabi版本也没有出来

commented

still not fix