Stanny_Bing 2017-04-25 08:37 采纳率: 0%
浏览 1664
已结题

android如何重新编译一个第三方SDK,底层是c++。

最近需要将MapBox这个sdk给重新编译,在源码上进行修改,但是,对于这个步骤一无所知。
https://github.com/mapbox/mapbox-gl-native/blob/master/INSTALL.md#additional-dependencies-for-macos
不知道有没有做过这相关的工作的朋友能够给予帮助,十分感谢。

  • 写回答

1条回答

  • 普通网友 2017-04-25 09:43
    关注

    你最好的选择应该是去follow git hub上的Getting Started,系统选择Ubuntu 16.04 LTS
    按他们的要求把依赖都安装好,遇到问题再解决问题
    Setup environment

    These instructions are for developers interested in making code-level contributions to the SDK itself. If you instead want to use the SDK in your app, see above.

    Getting the source

    Clone the git repository

    git clone https://github.com/mapbox/mapbox-gl-native.git
    cd mapbox-gl-native
    Installing dependencies

    These dependencies are required for all operating systems and all platform targets.

    Latest stable Android Studio

    Update Android SDK with latest

    Android SDK Build-Tools
    Android Platform-Tools
    Android SDK Tools
    CMake
    NDK
    LLDB
    Modern C++ compiler that supports -std=c++14

    clang++ 3.5 or later or
    g++-5 or later
    cURL (for build only)

    Node.js or later (for build only)

    pkg-config (for build only)

    Additional Dependencies for Linux

    These instructions were tested on Ubuntu 16.04 LTS (aka Xenial Xerus).

    $ sudo apt-get install -y build-essential curl lib32stdc++6 lib32z1 pkg-config python

    评论

报告相同问题?

悬赏问题

  • ¥15 对于相关问题的求解与代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料
  • ¥15 使用R语言marginaleffects包进行边际效应图绘制
  • ¥20 usb设备兼容性问题
  • ¥15 错误(10048): “调用exui内部功能”库命令的参数“参数4”不能接受空数据。怎么解决啊
  • ¥15 安装svn网络有问题怎么办