gpt4 book ai didi

c++ - arm-linux-androideabi-gcc : get unrecognized command line option when passing -mmacosx-version-min argument

转载 作者:太空宇宙 更新时间:2023-11-04 13:30:11 24 4
gpt4 key购买 nike

我在尝试为 Android 构建 Qt 5.5 时遇到错误。“make”命令返回一个错误:

arm-linux-androideabi-gcc: error: unrecognized command line option '-mmacosx-version-min=10.7'

我正在为 mac osx 10.10 构建,ndk 版本为 r10e ..

这是我的配置命令行:

./configure -xplatform android-g++ -nomake tests -nomake examples -android-ndk /Users/John/Android/android-ndk-r10e -android-sdk /Users/John/Android/adt-bundle-mac-x86_64-20140321/sdk -android-ndk-host darwin-x86_64 -skip qttranslations -skip qtwebkit -skip qtserialport -skip qtwebkit-examples -no-warnings-are-errors -opensource -confirm-license

我只是按照这个指南: http://wiki.qt.io/Android

最佳答案

尝试使用“10.8”硬编码 -mmacosx-version-min 或直接尝试“10.x”

关于c++ - arm-linux-androideabi-gcc : get unrecognized command line option when passing -mmacosx-version-min argument,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31801912/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com