Home › Forums › AR Sandbox Forum › Problems while installing VRUI (Build unsuccessful)
Tagged: VRUI
- This topic has 4 replies, 3 voices, and was last updated 2 years, 5 months ago by John M..
-
AuthorPosts
-
May 8, 2022 at 11:45 am #2073John M.Participant
I’m trying to buildthe AR Sandbox. I’m new to Linux, and when I tried to install VRUI in the terminal (Step 3) using the tutorial on Oliver Kreylos’ website, it ended with “Build unsuccessful; please fix any reported errors and try again”. This is a clean install of Linux Mint 19, following this tutorial. If anyone could help it’d be great, I scoured the internet but I couldn’t find a solution.
I copied everything from the terminal here, in case it was needed:
john@AR-Sandbox-PC:~$ cd ~ john@AR-Sandbox-PC:~$ wget http://web.cs.ucdavis.edu/~okreylos/ResDev/Vrui/Build-Ubuntu.sh --2022-05-07 16:24:08-- http://web.cs.ucdavis.edu/~okreylos/ResDev/Vrui/Build-Ubuntu.sh Resolving web.cs.ucdavis.edu (web.cs.ucdavis.edu)... 169.237.212.78 Connecting to web.cs.ucdavis.edu (web.cs.ucdavis.edu)|169.237.212.78|:80... connected. HTTP request sent, awaiting response... 302 Found Location: https://web.cs.ucdavis.edu/~okreylos/ResDev/Vrui/Build-Ubuntu.sh [following] --2022-05-07 16:24:08-- https://web.cs.ucdavis.edu/~okreylos/ResDev/Vrui/Build-Ubuntu.sh Connecting to web.cs.ucdavis.edu (web.cs.ucdavis.edu)|169.237.212.78|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 4604 (4.5K) [text/x-sh] Saving to: ‘Build-Ubuntu.sh’ Build-Ubuntu.sh 100%[===================>] 4.50K --.-KB/s in 0s 2022-05-07 16:24:08 (377 MB/s) - ‘Build-Ubuntu.sh’ saved [4604/4604] john@AR-Sandbox-PC:~$ bash Build-Ubuntu.sh Please enter your password to install Vrui's prerequisite packages [sudo] password for john: Reading package lists... Done Building dependency tree Reading state information... Done build-essential is already the newest version (12.4ubuntu1). libglu1-mesa-dev is already the newest version (9.0.0-2.1build1). libjpeg-dev is already the newest version (8c-2ubuntu8). libtheora-dev is already the newest version (1.1.1+dfsg.1-14). libusb-1.0-0-dev is already the newest version (2:1.0.21-2). libv4l-dev is already the newest version (1.14.2-1). libxi-dev is already the newest version (2:1.7.9-1). libxrandr-dev is already the newest version (2:1.5.1-1). libdc1394-22-dev is already the newest version (2.2.5-1). libopenal-dev is already the newest version (1:1.18.2-2). g++ is already the newest version (4:7.4.0-1ubuntu2.3). libasound2-dev is already the newest version (1.1.3-5ubuntu0.6). libbluetooth-dev is already the newest version (5.48-0ubuntu3.8). libdbus-1-dev is already the newest version (1.12.2-1ubuntu1.2). libfreetype6-dev is already the newest version (2.8.1-2ubuntu2.1). libgl1-mesa-dev is already the newest version (20.0.8-0ubuntu1~18.04.1). libpng-dev is already the newest version (1.6.34-1ubuntu0.18.04.2). libspeex-dev is already the newest version (1.2~rc1.2-1ubuntu2.1). libssl-dev is already the newest version (1.1.1-1ubuntu2.1~18.04.17). libtiff-dev is already the newest version (4.0.9-5ubuntu0.4). libudev-dev is already the newest version (237-3ubuntu10.53). mesa-common-dev is already the newest version (20.0.8-0ubuntu1~18.04.1). zlib1g-dev is already the newest version (1:1.2.11.dfsg-0ubuntu2.1). 0 upgraded, 0 newly installed, 0 to remove and 687 not upgraded. Creating source code directory /home/john/src mkdir: cannot create directory ‘src’: File exists Downloading Vrui-8.0-002 into /home/john/src --2022-05-07 16:24:24-- http://web.cs.ucdavis.edu/~okreylos/ResDev/Vrui/Vrui-8.0-002.tar.gz Resolving web.cs.ucdavis.edu (web.cs.ucdavis.edu)... 169.237.212.78 Connecting to web.cs.ucdavis.edu (web.cs.ucdavis.edu)|169.237.212.78|:80... connected. HTTP request sent, awaiting response... 302 Found Location: https://web.cs.ucdavis.edu/~okreylos/ResDev/Vrui/Vrui-8.0-002.tar.gz [following] --2022-05-07 16:24:24-- https://web.cs.ucdavis.edu/~okreylos/ResDev/Vrui/Vrui-8.0-002.tar.gz Connecting to web.cs.ucdavis.edu (web.cs.ucdavis.edu)|169.237.212.78|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 3714440 (3.5M) [application/x-gzip] Saving to: ‘STDOUT’ - 100%[===================>] 3.54M 2.77MB/s in 1.3s 2022-05-07 16:24:26 (2.77 MB/s) - written to stdout [3714440/3714440] Building Vrui on 8 CPUs Configuring template makefile... Configuring makefile in ExamplePrograms... Configuring makefile in ExamplePrograms/MeshEditor... Configuring makefile in ExamplePrograms/VRMLViewer... Build successful; installing Vrui in /usr/local Please enter your password to install Vrui in /usr/local Installing header files in /usr/local/include/Vrui-8.0... Installing libraries in /usr/local/lib/x86_64-linux-gnu/Vrui-8.0... Configuring run-time linker... Installing executables in /usr/local/bin... Installing plug-ins in /usr/local/lib/x86_64-linux-gnu/Vrui-8.0... Installing configuration files in /usr/local/etc/Vrui-8.0... Retaining existing /usr/local/etc/Vrui-8.0/Vrui.cfg Retaining existing /usr/local/etc/Vrui-8.0/VRDevices.cfg Installing shared files in /usr/local/share/Vrui-8.0... Installing application makefile fragment in /usr/local/share/Vrui-8.0... Installing build system in /usr/local/share/Vrui-8.0/make... Installing pkg-config metafile in /usr/local/lib/x86_64-linux-gnu/pkgconfig... Installing documentation in /usr/local/share/doc/Vrui-8.0... Installation in /usr/local successful; installing device permission rules in /etc/udev/rules.d If prompted, please enter your password again to install device permission rules Installing udev rules into /etc/udev/rules.d... Building Vrui example programs on 8 CPUs Compiling VruiDemo.cpp... VruiDemo.cpp:22:10: fatal error: Math/Math.h: No such file or directory #include <Math/Math.h> ^~~~~~~~~~~~~ compilation terminated. Compiling VruiDemoSmall.cpp... /usr/local/share/Vrui-8.0/make/BasicMakefile:182: recipe for target 'o/g++-3.g0.O3/VruiDemo.o' failed make: *** [o/g++-3.g0.O3/VruiDemo.o] Error 1 make: *** Waiting for unfinished jobs.... VruiDemoSmall.cpp:22:10: fatal error: GL/GLMaterialTemplates.h: No such file or directory #include <GL/GLMaterialTemplates.h> ^~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. /usr/local/share/Vrui-8.0/make/BasicMakefile:182: recipe for target 'o/g++-3.g0.O3/VruiDemoSmall.o' failed make: *** [o/g++-3.g0.O3/VruiDemoSmall.o] Error 1 make: *** wait: No child processes. Stop. Build unsuccessful; please fix any reported errors and try again john@AR-Sandbox-PC:~$
I’ve never really worked with Linux before, so any help would be greatly appreciated. Thanks in advance!
May 9, 2022 at 5:04 am #2083LithopParticipantTry this guide its what I used
https://web.cs.ucdavis.edu/~okreylos/ResDev/SARndbox/May 9, 2022 at 11:55 am #2084John M.ParticipantThat WAS the guide I used, forgot to link it. Knew I’d forget something.
May 10, 2022 at 7:53 am #2085Sean RobinsonParticipantIf the transcript you included is complete, I strongly suspect that was not your first attempt building the software. Files left over from previous failed builds may be causing problems when attempting a new build. I recommend you delete the /home/john/src directory nd anything that mentions Vrui under the /usr/local directory before starting again from Step 3.
May 10, 2022 at 1:15 pm #2086John M.ParticipantThank you! That was exactly it. I’ll make a new reply if I have any more issues.
-
AuthorPosts
- You must be logged in to reply to this topic.