什么时候构建 AirSim在 Mac OSX 上,我运行./setup.sh
,但它不起作用。
它在 Linux 上运行良好,AirSim 确实没有在 OSX 上测试过。我运行过brew update
,brew doctor
但效果不太好。
有人能帮我解决这个问题吗?
localhost:AirSim x$ ./setup.sh
+ set -e
+++ dirname ./setup.sh
++ cd .
++ pwd
+ SCRIPT_DIR=/Users/xuxin/Documents/AirSim
+ pushd /Users/xuxin/Documents/AirSim
+ downloadHighPolySuv=true
+ [[ '' == \-\-\n\o\-\f\u\l\l\-\p\o\l\y\-\c\a\r ]]
++ uname
+ '[' Darwin == Darwin ']'
+ [[ ! -z '' ]]
+ brew tap llvm-hs/homebrew-llvm
==> Tapping llvm-hs/llvm
Cloning into '/usr/local/Homebrew/Library/Taps/llvm-hs/homebrew-llvm'...
remote: Enumerating objects: 16, done.
remote: Counting objects: 100% (16/16), done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 16 (delta 5), reused 7 (delta 0), pack-reused 0
Unpacking objects: 100% (16/16), done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/llvm-hs/homebrew-llvm/Formula/llvm-3.7.rb
Calling fails_with :gcc is disabled! There is no replacement.
Please report this to the llvm-hs/llvm tap:
/usr/local/Homebrew/Library/Taps/llvm-hs/homebrew-llvm/Formula/llvm-3.7.rb:99
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/llvm-hs/homebrew-llvm/Formula/llvm-3.8.rb
Calling fails_with :gcc is disabled! There is no replacement.
Please report this to the llvm-hs/llvm tap:
/usr/local/Homebrew/Library/Taps/llvm-hs/homebrew-llvm/Formula/llvm-3.8.rb:99
Error: Cannot tap llvm-hs/llvm: invalid syntax in tap!
答案1
在你能够在 macOS 上轻松构建 AirSim 之前,似乎需要进行一些重要的工程工作,如问题 #2。