diff --git a/build.cmd b/build.cmd index 4eb41215b..85593a2e5 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 http://bitbucket.org/eigen/eigen/get/3.3.2.zip -OutFile eigen3.zip }" + 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 "& { 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 fa211e875..b7eb33ad1 100755 --- a/setup.sh +++ b/setup.sh @@ -164,12 +164,13 @@ popd >/dev/null rm -rf ./AirLib/deps/eigen3/Eigen echo "downloading eigen..." +wget https://gitlab.com/libeigen/eigen/-/archive/3.3.2/eigen-3.3.2.zip wget http://bitbucket.org/eigen/eigen/get/3.3.2.zip -unzip 3.3.2.zip -d temp_eigen +unzip eigen-3.3.2.zip -d temp_eigen mkdir -p AirLib/deps/eigen3 mv temp_eigen/eigen*/Eigen AirLib/deps/eigen3 rm -rf temp_eigen -rm 3.3.2.zip +rm eigen-3.3.2.zip popd >/dev/null