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

Dependencies of cocos2d-x.
142 stars 169 forks source link

v2: mod archive file download URL #170

Closed keitarou closed 6 years ago

keitarou commented 6 years ago

NG: http://heanet.dl.sourceforge.net/sourceforge/libpng/libpng16/1.6.16/libpng-1.6.16.tar.xz OK: http://downloads.sourceforge.net/sourceforge/libpng/libpng16/1.6.16/libpng-1.6.16.tar.xz

ex.

./build.sh -p=android --libs=png --arch=arm64 --mode=release

build api is 21.
checking arm64 is in arm armv7 x86 arm64 mips
checking png is in png zlib lua luajit websockets curl freetype jpeg tiff webp chipmunk openssl rapidjson

build arm64 for png in android
toolchain path is /???/android-ndk-r10e/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
curl -f -L -- "http://heanet.dl.sourceforge.net/sourceforge/libpng/libpng16/1.6.16/libpng-1.6.16.tar.xz" > "../../contrib/tarballs/libpng-1.6.16.tar.xz"
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: heanet.dl.sourceforge.net
make: *** [../../contrib/tarballs/libpng-1.6.16.tar.xz] Error 6
make: *** Deleting file `../../contrib/tarballs/libpng-1.6.16.tar.xz'
minggo commented 6 years ago

Did you still use cocos2d-x v2.x? It is not maintained now. Will you please also send a PR to v3 too?

keitarou commented 6 years ago

I use both v2 and v3. v3 had no problem. This was troubled only by v2.