Skip to content

Commit

Permalink
fix Linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
sytelus committed Jul 26, 2017
1 parent c201ada commit abd07f8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ bld/
Intermediate/
Binaries/
llvm-build/
llvm-source/
llvm-source*/

# CMake files
CMakeFiles/
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit abd07f8

Please sign in to comment.