LinuxMint 21 compiling errors with VRUI toolkit. Missing 1 line of code?
Solanicars opened this issue · 2 comments
Solanicars commented
It seems the toolkit needs 1 line updated noted here:
https://forums.linuxmint.com/viewtopic.php?p=2217731#p2217731
_The error code is asking you to add a line of
Code: Select all
#include
below
Code: Select all
#include <Vrui/Vislet.h>_
Is it possible for someone to update the Toolkit so LM21 can be used?
Solanicars commented
libdc1394-25-dev ATTEMPT:
Another possible avenue with your local Linux Mint expert: use a fresh, clean LM21 and try to manually build Vrui, etc. The “Unable to locate package libdc1394-22-dev” is specific to using Build-Ubuntu.sh. Or edit Build-Ubuntu.sh to install libdc1394-25-dev instead.
RESULT:
GNU nano 6.2 Build-Ubuntu.sh *
#!/bin/bash
# Get prerequisite packages:
<libjpeg-dev libtiff-dev libasound2-dev libspeex-dev libopenal-dev libv4l-dev libdc1394-25-dev libtheora-dev libbluetooth-dev>
echo "Please enter your password to install Vrui's prerequisite packages"
sudo apt-get install $PREREQUISITE_PACKAGES
INSTALL_RESULT=$?
if [ $INSTALL_RESULT -ne 0 ]; then
echo "Problem while downloading prerequisite packages; please fix the issue and try again"
exit $INSTALL_RESULT
fi
# Create src directory:
echo "Creating source code directory $HOME/src"
cd $HOME
mkdir src
cd src
CD_RESULT=$?
if [ $CD_RESULT -ne 0 ]; then
echo "Could not create source code directory $HOME/src. Please fix the issue and try again"
exit $CD_RESULT
fi
# Determine current Vrui version:
VRUI_CURRENT_RELEASE=$(wget -q -O - http://web.cs.ucdavis.edu/~okreylos/ResDev/Vrui/CurrentVruiRelease.txt)
GETVERSION_RESULT=$?
if [ $GETVERSION_RESULT -ne 0 ]; then
echo "Could not determine current Vrui release number; please check your network connection and try again"
exit $GETVERSION_RESULT
fi
read VRUI_VERSION VRUI_RELEASE <<< "$VRUI_CURRENT_RELEASE"
# Download and unpack Vrui tarball:
echo "Downloading Vrui-$VRUI_VERSION-$VRUI_RELEASE into $HOME/src"
wget -O - http://web.cs.ucdavis.edu/~okreylos/ResDev/Vrui/Vrui-$VRUI_VERSION-$VRUI_RELEASE.tar.gz | tar xfz -
cd Vrui-$VRUI_VERSION-$VRUI_RELEASE
DOWNLOAD_RESULT=$?
if [ $DOWNLOAD_RESULT -ne 0 ]; then
echo "Problem while downloading or unpacking Vrui; please check your network connection and try again"
exit $DOWNLOAD_RESULT
fi
# Set up Vrui's installation directory:
VRUI_INSTALLDIR=/usr/local
if [ $# -ge 1 ]; then
VRUI_INSTALLDIR=$1
Solanicars commented