diff --git a/Assets/dll/libencore.so b/Assets/dll/libencore.so new file mode 100755 index 0000000000..1449cffa9c Binary files /dev/null and b/Assets/dll/libencore.so differ diff --git a/encore/build_release.sh b/encore/build_release.sh old mode 100644 new mode 100755 index 982031d921..1b9906a7e3 --- a/encore/build_release.sh +++ b/encore/build_release.sh @@ -8,9 +8,12 @@ if [ -z "$CXX" ]; then export CXX="clang++"; fi # Note that Debian 10's stdlibc++ is too old (nearly no c++20 support), so at least Debian 11 must be used to compile this core # At least cmake 3.20 must be present too, so get cmake from bullseye-backports +# TODO: Not sure if the above applies since core update, also Vulkan code does not compile under Debian 11's stdlibc++ (needs at least GCC 11) +# Possibly want to just statically link in stdlibc++? + rm -rf build mkdir build cd build cmake ../encore -DCMAKE_BUILD_TYPE=Release -DENABLE_LTO=ON -DCMAKE_C_COMPILER=$CC -DCMAKE_CXX_COMPILER=$CXX \ - -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_CXX_FLAGS="-Wno-deprecated -include limits.h" -G Ninja + -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DENABLE_VULKAN=OFF -G Ninja ninja diff --git a/encore/encore b/encore/encore index ab248a1beb..438249f25a 160000 --- a/encore/encore +++ b/encore/encore @@ -1 +1 @@ -Subproject commit ab248a1beb2c7993f1da92afa4da663802643904 +Subproject commit 438249f25aefd2d750aa0d7a45f4bb35da047a3e