Android Studio 中移植RBOT

软件版本

SDK、NDK 和 CMake 都是使用 Android Studio 的 SDK Manager 下载的。

  • 操作系统:macOS Big Sur Beta
  • Android Studio: 4.0.1
  • OpenGL:GLES 3.0
  • SDK:30.0.1
  • NDK:21.0.6113669
  • CMake:3.10.2.4988404
  • Gradle:6.1.1(Android Gradle Plugin Version 是 4.0.1)

编译RBOT

在VSCode中设置其 include 路径

{
    "configurations": [
        {
            "name": "Mac",
            "includePath": [
                "${workspaceFolder}/src",
                "/usr/local/include",
                "/usr/local/include/opencv4",
                "/usr/local/Cellar/qt/5.13.2/include",
                "/usr/local/Cellar/qt/5.13.2/lib/QtGui.framework/Versions/5/Headers",
                "/usr/local/Cellar/qt/5.13.2/lib/QtCore.framework/Versions/5/Headers",
                "/usr/local/Cellar/qt/5.13.2/lib/QtOpenGL.framework/Versions/5/Headers",
                "/usr/local/Cellar/qt/5.13.2/lib/QtWidgets.framework/Versions/5/Headers"
            ],
            "defines": [],
            "macFrameworkPath": [],
            "compilerPath": "/usr/local/bin/gcc-9",
            "cStandard": "c11",
            "cppStandard": "gnu++14",
            "intelliSenseMode": "clang-x64"
        }
    ],
    "version": 4
}

设置Qt5路径

export CMAKE_PREFIX_PATH=/usr/local/Cellar/qt/5.13.2/

未完待续。。。

你可能感兴趣的:(图形图像,算法与数据结构,计算机视觉)