From abd07f8afa9e8d3d4bba53028528c3bda1ea5849 Mon Sep 17 00:00:00 2001 From: Shital Shah Date: Wed, 26 Jul 2017 15:20:57 -0700 Subject: [PATCH] fix Linux build --- .gitignore | 2 +- build.sh | 2 +- setup.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 741821fec4..25047eb897 100644 --- a/.gitignore +++ b/.gitignore @@ -25,7 +25,7 @@ bld/ Intermediate/ Binaries/ llvm-build/ -llvm-source/ +llvm-source*/ # CMake files CMakeFiles/ diff --git a/build.sh b/build.sh index 47745eaf56..341009d2ef 100755 --- a/build.sh +++ b/build.sh @@ -11,7 +11,7 @@ set -x git submodule update --init --recursive # check for libc++ -if [[ !(-d "./llvm-build/output/bin") ]]; then +if [[ !(-d "./llvm-build/output/lib") ]]; then echo "ERROR: clang++ and libc++ is necessary to compile AirSim and run it in Unreal engine" echo "please run setup.sh first." exit 1 diff --git a/setup.sh b/setup.sh index f061303d3e..7fdb164aec 100755 --- a/setup.sh +++ b/setup.sh @@ -47,7 +47,7 @@ cmake -DCMAKE_C_COMPILER=${C_COMPILER} -DCMAKE_CXX_COMPILER=${COMPILER} \ make cxx #install libc++ locally in output folder -sudo make install-cxx install-cxxabi +sudo make install-libcxx install-libcxxabi popd >/dev/null