Skip to content

Commit

Permalink
Updated Eigen version to unofficial patched version 3.4.1 to better s…
Browse files Browse the repository at this point in the history
…upport C++20
  • Loading branch information
WouterJansen committed Jul 1, 2024
1 parent d5588d9 commit b77621c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
* Updated to be compatible with Unreal 5.4.2.
* Note that 5.4.2 requires _r.DetailMode 2_ console command or scalability settings to be set to Epic to avoid issues with rendering the RGB scene camera sensor. More info [here]((docs/unreal_custenv.md#unreal-5354-scene-camera-bug)).
* Disabled treating warnings as errors on Windows to avoid build issues.
* Updated rpclib version to unofficial patched version 2.3.1 to support C++20.
* Updated Eigen version to 3.4.0 on Windows to support C++20.
* Updated rpclib version to unofficial patched version 2.3.1 to better support C++20.
* Updated Eigen version to unofficial patched version 3.4.1 to better support C++20.
* Updated cpp-linenoise library of DroneShell to support C++20.
* Updated json library to 3.11.3 to support C++20.
* Updated airlib to use C++20.
Expand Down
4 changes: 2 additions & 2 deletions build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ REM //---------- get Eigen library ----------
IF NOT EXIST AirLib\deps mkdir AirLib\deps
IF NOT EXIST AirLib\deps\eigen3 (
if "%PWSHV7%" == "" (
%powershell% -command "& { [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; iwr https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.zip -OutFile eigen3.zip }"
%powershell% -command "& { [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; iwr https://github.com/WouterJansen/eigen/archive/refs/tags/3.4.1.zip -OutFile eigen3.zip }"
) else (
%powershell% -command "iwr https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.zip -OutFile eigen3.zip"
%powershell% -command "iwr https://github.com/WouterJansen/eigen/archive/refs/tags/3.4.1.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"
Expand Down
2 changes: 1 addition & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ echo "Installing Eigen library..."

if [ ! -d "AirLib/deps/eigen3" ]; then
echo "Downloading Eigen..."
wget -O eigen3.zip https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.zip
wget -O eigen3.zip https://github.com/WouterJansen/eigen/archive/refs/tags/3.4.1.zip
unzip -q eigen3.zip -d temp_eigen
mkdir -p AirLib/deps/eigen3
mv temp_eigen/eigen*/Eigen AirLib/deps/eigen3
Expand Down

0 comments on commit b77621c

Please sign in to comment.