Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
msb336 committed Jan 9, 2019
1 parent 5246acd commit 1f31e68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions Unity/AirLibWrapper/AirsimWrapper/Source/SimHUD/SimHUD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,6 @@ void SimHUD::createSimMode()
bool SimHUD::getSettingsText(std::string& settingsText)
{
return (
readSettingsTextFromFile(msr::airlib::Settings::getExecutableFullPath("settings.json"), settingsText)
||
readSettingsTextFromFile(msr::airlib::Settings::Settings::getUserDirectoryFullPath("settings.json"), settingsText));
}

Expand Down
4 changes: 3 additions & 1 deletion Unity/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ if [ ! -d "linux-build" ]; then
mkdir linux-build;
fi


cd linux-build;
export CC="clang-5.0"
export CXX="clang++-5.0"
CMAKE="$(readlink -f ../../cmake_build/bin/cmake)"

cmake ../AirLibWrapper/AirsimWrapper;
"$CMAKE" ../../cmake ../AirLibWrapper/AirsimWrapper;
make -j`nproc`;
if [ ! -d "../UnityDemo/Assets/Plugins" ]; then
mkdir ../ UnityDemo/Assets/Plugins;
Expand Down

0 comments on commit 1f31e68

Please sign in to comment.