同步操作将从 gozfree/gear-lib 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
> "D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\vcvars32.bat"
> cd libraries\libposix4win\
> nmake /f Makefile.nmake clean
> nmake /f Makefile.nmake
> nmake /f Makefile.nmake clean
> nmake /f Makefile.nmake MODE=release
linux platform (>= Ubuntu14.04 >= gcc-4.8.4 32/64 bit)
$ cd libraries
$ ./build.sh
$ sudo ./build.sh install
default debug version,compiler release version
$ ./build.sh {all|libxxx} linux release
$ sudo ./build.sh install linux release
host(linux) target(rasberrypi)
(you need download toolchain of rasberrypi)
$ ./build.sh all pi
default debug version,compiler release version
$ ./build.sh {all|libxxx} pi release
host(rasberrypi board)
$ ./build.sh
$ sudo ./build.sh install
default debug version,compiler release version
$ ./build.sh {all|libxxx} linux release
$ sudo ./build.sh install linux release
android arm cross compile
(you need download android-ndk-r9-linux-x86_64.tar.bz2)
$ ./build.sh all android
default debug version,compiler release version
$ ./build.sh {all|libxxx} android release
android naitve develop
also need ndk tools
$ cd android_jni_libs
$ ndk-build
default debug version,compiler release version
$ ndk-build MODE=release
After install, the libxxx.xx will be installed in /usr/local/lib/.
libxxx.h, libxxx.so or libxxx.a of libraries are also in ./output/$(ARCH)
If you want to add your own library into the build script, no need repeat the same code, only auto gen libxxx framework.
$ ./build/autogen_lib.sh libfoo
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。