原本是打算根據iOS的編譯配置,照貓畫虎,有好多配置變數在configure,找不到對應的。
下面是iOS的編譯配置
--host=aarch64-apple-darwin \
CC="xcrun -sdk iphoneos clang" \
CXX="xcrun -sdk iphoneos clang" \
CPP="xcrun -sdk iphoneos clang -E" \
AS="xcrun -sdk iphoneos clang" \
CFLAGS="-arch arm64 -fembed-bitcode" \
LDFLAGS="-arch arm64 -fembed-bitcode" \
CPPFLAGS="-arch arm64 -fembed-bitcode" \
如果改成x86應該怎么改?
我現在寫的
--host=i386-w64-mingw32 \
不知道CC、CXX、AS、CFLAGS、LDFLAGS等后面需要寫什么所以就沒寫
編譯失敗。
報如下錯誤
checking for i386-w64-mingw32-gcc... no
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/e/Download/FFmpegInterop/fdkaac/fdk-aac-0.1.6/Output/Windows10/x86':
configure: error: C compiler cannot create executables
See `config.log' for more details
+ make install
make: *** 沒有規則可制作目標“install”。 停止。
uj5u.com熱心網友回復:
米有人會嗎?轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/116214.html
標籤:應用程序開發區
