android - CGAL-for-Android 交叉编译中的问题
问题描述
我正在尝试按照https://github.com/CGAL/cgal/wiki/Cross-Compilation-of-CGAL-for-Android为 Android 交叉编译 CGAL
执行 cmake 时出现以下错误:
CMake Error at /usr/share/cmake-3.12/Modules/Platform/Android-Common.cmake:54 (message):
Android: STL 'gnustl_static' include directory not found:
有人有线索吗?
(使用 kubuntu 16.10、CGAL 4.13、android 28)
解决方案
I read that gnustl_static has been recently replaced by c++_static. My guess is you should add
-DCMAKE_ANDROID_STL_TYPE="c++_static"
to your cmake configuration options. Source: https://cmake.org/cmake/help/v3.9/variable/CMAKE_ANDROID_STL_TYPE.html Please let me know if that works and I'll update the wiki.
推荐阅读
- spring - Spring集成java dsl错误发现参数类型不明确
- python - python:如果存在于另一个列表中,则比较列表中的值
- python - 我不明白当变量以数字为值时,我的计算如何被读取为 str 而不是整数
- python - 文本文件不会用 open() 打开
- bash - 使用 bash 比较递增编号目录中的文件
- .net - 如何解决与 net core 反应的 Webpack 错误
- json - 将 JSON 值转换为另一个 JSON 形状?
- python - 您如何根据函数运行的次数执行不同的选项?
- rxjs - Redux Observable - 如何发送一个动作来开始一个单独的史诗,然后等待史诗响应(或超时)
- bash - 回显到 stderr 并将 stderr 输出到文件