如何解决如何为iOS编译gdal3.3.1
我正在为 iOS 编译 gdal。我可以通过this script:编译gdal1.11.5(您应该在脚本中更改gdal版本),我无法编译gdal3.3.1。
谁能给我一些建议?
checking how to run the C++ preprocessor... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cpp -std=c++11
configure: error: in `/Users/xxx/Desktop/gdal05/proj-8.1.0':
configure: error: C++ preprocessor "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cpp -std=c++11" fails sanity check
See `config.log' for more details
config.log
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
configure:3299: $? = 0
configure:3288: /Applications/Xcode.app/Contents/Developer/usr/bin/gcc -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:3299: $? = 1
configure:3288: /Applications/Xcode.app/Contents/Developer/usr/bin/gcc -qversion >&5
clang: error: unknown argument '-qversion'; did you mean '--version'?
clang: error: no input files
configure:3299: $? = 1
configure:3319: checking whether the C compiler works
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
configure:4323: $? = 0
configure:4312: /Applications/Xcode.app/Contents/Developer/usr/bin/g++ -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:4323: $? = 1
configure:4312: /Applications/Xcode.app/Contents/Developer/usr/bin/g++ -qversion >&5
clang: error: unknown argument '-qversion'; did you mean '--version'?
clang: error: no input files
configure:4323: $? = 1
configure:4327: checking whether we are using the GNU C++ compiler
conftest.cpp:22:2: error: "This is not a C++11 compiler"
#error "This is not a C++11 compiler"
^
1 warning and 1 error generated.
configure:4878: $? = 1
configure: failed program was:
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。