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
pull/8497/head
Wieland Lindenthal 4 years ago
parent 1051ef05c4
commit c706eb9764
  1. 21
      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"
Loading…
Cancel
Save