Problems with VRUI

Home Forums AR Sandbox Forum Problems with VRUI

Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2127
    neto-jerson
    Participant

    I need help to solve one problem with the VRUI’s instalation. This message error appears and I don’t kwon how I could procedure:

    simbat@simbat-H270M-Gaming3 ~ $ bash Build-Ubuntu.sh
    Please enter your password to install Vrui’s prerequisite packages
    Lendo listas de pacotes… Pronto
    Construindo árvore de dependências
    Lendo informação de estado… Pronto
    Note, a seleccionar ‘libpng12-dev’ em vez de ‘libpng-dev’
    Note, a seleccionar ‘libtiff5-dev’ em vez de ‘libtiff-dev’
    build-essential is already the newest version (12.1ubuntu2).
    g++ is already the newest version (4:5.3.1-1ubuntu1).
    libasound2-dev is already the newest version (1.1.0-0ubuntu1).
    libglu1-mesa-dev is already the newest version (9.0.0-2.1).
    libjpeg-dev is already the newest version (8c-2ubuntu8).
    libspeex-dev is already the newest version (1.2~rc1.2-1ubuntu1).
    libtheora-dev is already the newest version (1.1.1+dfsg.1-8).
    libusb-1.0-0-dev is already the newest version (2:1.0.20-1).
    libv4l-dev is already the newest version (1.10.0-1).
    libxi-dev is already the newest version (2:1.7.6-1).
    libxrandr-dev is already the newest version (2:1.5.0-1).
    libdc1394-22-dev is already the newest version (2.2.4-1).
    libopenal-dev is already the newest version (1:1.16.0-3).
    libbluetooth-dev is already the newest version (5.37-0ubuntu5.3).
    libdbus-1-dev is already the newest version (1.10.6-1ubuntu3.6).
    libfreetype6-dev is already the newest version (2.6.1-0.1ubuntu2.5).
    libgl1-mesa-dev is already the newest version (18.0.5-0ubuntu0~16.04.1).
    libpng12-dev is already the newest version (1.2.54-1ubuntu1.1).
    libssl-dev is already the newest version (1.0.2g-1ubuntu4.20).
    libtiff5-dev is already the newest version (4.0.6-1ubuntu0.8).
    libudev-dev is already the newest version (229-4ubuntu21.31).
    mesa-common-dev is already the newest version (18.0.5-0ubuntu0~16.04.1).
    zlib1g-dev is already the newest version (1:1.2.8.dfsg-2ubuntu4.3).
    0 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
    Creating source code directory /home/simbat/src
    mkdir: cannot create directory ‘src’: File exists
    Downloading Vrui-8.0-002 into /home/simbat/src
    –2022-06-08 13:15:34– 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-06-08 13:15:35– 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 201KB/s in 22s

    2022-06-08 13:15:58 (167 KB/s) – written to stdout [3714440/3714440]

    Building Vrui on 4 CPUs
    Building build utilities…
    —- Vrui configuration options: —-
    Run-time library search paths enabled
    Realtime library uses POSIX clocks
    Realtime library uses POSIX timers
    Threads library has built-in thread-local storage
    Threads library uses built-in atomics
    Threads library uses POSIX spinlocks
    Local pthread implements pthread_cancel
    Libusb library version 1.0 exists on host system
    Libusb library supports bus topology queries
    Libusb library has libusb_strerror function
    TLS-secured TCP connections enabled
    Multithreaded rendering disabled
    Default GL font directory: /usr/local/share/Vrui-8.0/GLFonts
    PNG image file format enabled
    JPG image file format enabled
    TIFF image file format enabled
    ALSA sound device support enabled
    SPEEX speech compression support enabled
    Video4Linux2 video device support enabled
    FireWire DC1394 video device support enabled
    Theora video codec support enabled
    Spatial sound using OpenAL enabled
    FreeType library exists on system
    Core TrueType font directory: /usr/share/fonts/truetype/freefont/
    Fancy font rendering in simple scene graph renderer enabled
    Swapgroup support for Vrui windows disabled
    Support for screen saver inhibition via DBus enabled
    Vrui will save screenshots in PNG format
    Support for spatial audio enabled
    Support to save screen captures in Ogg/Theora format enabled
    Support for multitouch screens enabled
    Support for named video outputs enabled
    LatencyTester vislet for Oculus DK1 latency tester enabled
    Using global per-user configuration file .config/Vrui-8.0/Vrui.cfg
    Event device support for joysticks disabled
    Bluetooth support (for Nintendo Wii controller) enabled
    USB support (for Razer Hydra and Oculus Rift tracker) enabled
    OpenVR SDK and SteamVR run-time exist on host system; support for HTC Vive enabled
    SteamVR run-time root directory: /home/simbat/.local/share/Steam/steamapps/common/SteamVR
    SteamVR run-time library directories: /home/simbat/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu /home/simbat/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu
    SteamVR Lighthouse driver directory: /home/simbat/.local/share/Steam/steamapps/common/SteamVR/drivers/lighthouse/bin/linux64
    —- Vrui installation configuration —-
    Root installation directory : /usr/local
    Header installation root directory : /usr/local/include/Vrui-8.0
    Library installation root directory : /usr/local/lib/x86_64-linux-gnu/Vrui-8.0
    Executable installation directory : /usr/local/bin
    Plug-in installation root directory : /usr/local/lib/x86_64-linux-gnu/Vrui-8.0
    Configuration file installation directory : /usr/local/etc/Vrui-8.0
    Shared file installation root directory : /usr/local/share/Vrui-8.0
    Makefile fragment installation directory : /usr/local/share/Vrui-8.0
    Build system installation directory : /usr/local/share/Vrui-8.0/make
    pkg-config metafile installation directory: /usr/local/lib/x86_64-linux-gnu/pkgconfig
    Documentation installation directory : /usr/local/share/doc/Vrui-8.0
    —- End of Vrui configuration options —-
    Creating configuration makefile fragment…
    Creating application makefile fragment…
    Creating pkg-config meta data file…
    Configuring template makefile…
    Configuring makefile in ExamplePrograms…
    Configuring makefile in ExamplePrograms/MeshEditor…
    Configuring makefile in ExamplePrograms/VRMLViewer…
    Compiling Misc/FileTests.cpp…
    Compiling Misc/ColorValueCoders.cpp…
    Compiling Misc/ReadBuffer.cpp…
    Compiling Misc/FileNameExtensions.cpp…
    Compiling Misc/CreateNumberedFileName.cpp…
    Compiling Misc/CallbackList.cpp…
    Compiling Misc/FdSet.cpp…
    Compiling Misc/Directory.cpp…
    Compiling Misc/ConfigurationFile.cpp…
    Compiling Misc/ThrowStdErr.cpp…
    Compiling Misc/RGBA.cpp…
    Compiling Misc/PrintfTemplateTests.cpp…
    Misc/ConfigurationFile.cpp: In member function ‘void Misc::{anonymous}::FileParser::strip(std::__cxx11::string&)’:
    Misc/ConfigurationFile.cpp:819:41: error: ‘std::__cxx11::string {aka class std::__cxx11::basic_string<char>}’ has no member named ‘back’
    while(!string.empty()&&(cc[int(string.back())]&Whitespace)!=0)
    ^
    Misc/ConfigurationFile.cpp:820:11: error: ‘std::__cxx11::string {aka class std::__cxx11::basic_string<char>}’ has no member named ‘pop_back’
    string.pop_back();
    ^
    /home/simbat/src/Vrui-8.0-002/BuildRoot/BasicMakefile:224: recipe for target ‘o/g++-3.g0.O3/pic/Misc/ConfigurationFile.o’ failed
    make: *** [o/g++-3.g0.O3/pic/Misc/ConfigurationFile.o] Error 1
    make: *** Waiting for unfinished jobs….
    Build unsuccessful; please fix any reported errors and try again

    #2143
    Sean Robinson
    Participant

    Did I somehow miss this and your previous posts on the same topic or were they held for moderation until recently? Well, I see this post.

    Could you post the output of lsb_release -dc? The output will tell me what OS version you are using.

    I suspect from the line “g++ is already the newest version (4:5.3.1-1ubuntu1).” that you are running “Ubuntu 16.04 LTS (Xenial Xerus)”. This is probably too old to tun the latest sandbox version.

    #2144
    neto-jerson
    Participant

    simbat@simbat-H270M-Gaming3 ~ $ lsb_release -dc
    Description: Linux Mint 18.3 Sylvia
    Codename: sylvia

    This is my current OS version.

    #2146
    Sean Robinson
    Participant

    Thank you, that’s what I expected to see.

    The Vrui Download page mentions Build-Ubuntu.sh may not work with Mint versions before v19. Can you upgrade to Linux Mint 19.3 Tricia? Your other option, on the same page page, is to try Build-Ubuntu-Old.sh.

    #2228
    okreylos
    Keymaster

    Yes, the version of the C++ standard library on your computer is too old. The code uses a function that was added to that library fairly recently.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.