From 6ea3615af2414a6ef9072e342eff878cad82a79f Mon Sep 17 00:00:00 2001 From: Xiaocheng Song Date: Sat, 23 Nov 2019 01:15:23 +0800 Subject: [PATCH] Update Eigen version The new version of Eigen fixes some bugs and compilations issues. --- build.cmd | 2 +- setup.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.cmd b/build.cmd index a726e5653..7abe9cd4f 100644 --- a/build.cmd +++ b/build.cmd @@ -143,7 +143,7 @@ IF NOT EXIST Unreal\Plugins\AirSim\Content\VehicleAdv\SUV\v1.2.0 ( REM //---------- get Eigen library ---------- IF NOT EXIST AirLib\deps mkdir AirLib\deps IF NOT EXIST AirLib\deps\eigen3 ( - powershell -command "& { [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; iwr https://gitlab.com/libeigen/eigen/-/archive/3.3.2/eigen-3.3.2.zip -OutFile eigen3.zip }" + powershell -command "& { [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; iwr https://gitlab.com/libeigen/eigen/-/archive/3.3.7/eigen-3.3.7.zip -OutFile eigen3.zip }" powershell -command "& { Expand-Archive -Path eigen3.zip -DestinationPath AirLib\deps }" powershell -command "& { Move-Item -Path AirLib\deps\eigen* -Destination AirLib\deps\del_eigen }" REM move AirLib\deps\eigen* AirLib\deps\del_eigen diff --git a/setup.sh b/setup.sh index 123318a95..28353fc73 100755 --- a/setup.sh +++ b/setup.sh @@ -233,12 +233,12 @@ else sudo rm -rf ./AirLib/deps/eigen3/Eigen fi echo "downloading eigen..." -wget https://gitlab.com/libeigen/eigen/-/archive/3.3.2/eigen-3.3.2.zip -unzip eigen-3.3.2.zip -d temp_eigen +wget -O eigen3.zip https://gitlab.com/libeigen/eigen/-/archive/3.3.7/eigen-3.3.7.zip +unzip eigen3.zip -d temp_eigen mkdir -p AirLib/deps/eigen3 mv temp_eigen/eigen*/Eigen AirLib/deps/eigen3 rm -rf temp_eigen -rm eigen-3.3.2.zip +rm eigen3.zip popd >/dev/null