From c706eb9764bb3981d915c46e279fde465a901202 Mon Sep 17 00:00:00 2001 From: Wieland Lindenthal Date: Wed, 8 Jul 2020 11:13:22 +0200 Subject: [PATCH] Update bim/setup_dev.sh - Remove OpenCollada - Update xeokit-metadata to 1.0.0. which brings metadata for the app that created the IFC and more. - Update installation instructions for .NET runtime which now is version 3.1, as required by xeokit-metadata --- modules/bim/bin/setup_dev.sh | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/modules/bim/bin/setup_dev.sh b/modules/bim/bin/setup_dev.sh index c1d2adac27c2..ef3b5742c0f1 100755 --- a/modules/bim/bin/setup_dev.sh +++ b/modules/bim/bin/setup_dev.sh @@ -25,16 +25,6 @@ rm -rf /usr/local/src/bim || true mkdir -p /usr/local/src/bim cd /usr/local/src/bim -# OpenCOLLADA -echo "-- Downloading and building OpenCOLLADA --" -git clone https://github.com/KhronosGroup/OpenCOLLADA.git --depth 1 -mkdir OpenCOLLADA/build -pushd OpenCOLLADA/build -cmake .. -make -j -make install -popd - # Install COLLADA2GLTF echo "-- Downloading COLLADA2GLTF --" wget --quiet https://github.com/KhronosGroup/COLLADA2GLTF/releases/download/v2.1.5/COLLADA2GLTF-v2.1.5-linux.zip @@ -51,7 +41,7 @@ rm -rf IfcConvert-v0.6.0-9bcd932-linux64.zip echo "-- Downloading and building xeokit-metadata --" -wget --quiet https://github.com/bimspot/xeokit-metadata/releases/download/0.0.5/xeokit-metadata-linux-x64.tar.gz +wget --quiet https://github.com/bimspot/xeokit-metadata/releases/download/1.0.0/xeokit-metadata-linux-x64.tar.gz tar -zxvf xeokit-metadata-linux-x64.tar.gz chmod +x xeokit-metadata-linux-x64/xeokit-metadata cp -r xeokit-metadata-linux-x64/ /usr/lib/xeokit-metadata @@ -75,5 +65,10 @@ echo "DONE - BUT! You still need to: 2. install your distribution's version of .NET core: - Select distribution and follow steps at - https://dotnet.microsoft.com/download/linux-package-manager/ubuntu18-04/runtime-2.2.0" + Ubuntu: + - With snap simply install the '.NET Runtime 3.1 (LTS)' + - Add the DOTNET_ROOR environment variable to your .bashrc: + export DOTNET_ROOT=/snap/dotnet-runtime-31/current + + Other OSes, check out and install runtime 3.1: + https://dotnet.microsoft.com/download" \ No newline at end of file