VRUI – “Unable to locate package”

Home Forums AR Sandbox Forum VRUI – “Unable to locate package”

Tagged: , ,

Viewing 5 posts - 16 through 20 (of 20 total)
  • Author
  • #2209

    It didn’t hit me until you said that out loud Sean.

    I try not to use Amazon for a lot of reasons.

    This is the pc I bought:

    I’ve been staring at the Victus for a couple weeks & saw the Amazon link multiple times & it never occurred to me they could be different. ( nervous grin )

    So we helped the community by showing the Victus & TPM chip has issues with 19.3 & 20.1?

    I imagine the Pavillion works I guess?

    Sean Robinson

    Missing 1 line of code?

    I misread the error and the Linux Mint forum poster is right, the cstddef header is not included in FrameRateViewer.h.

    I have been able to build Vrui (and the full AR Sandbox software) in a LM21 virtual machine with two changes. First, the version number has been removed from the libdc1390-dev package. Edit Build-Ubuntu.sh to change libdc1390-22-dev to libdc1390-dev.

    Second, FrameRateViewer.h needs to be patched before building. Add a new line to Build-Ubuntu.sh before “make -j$NUM_CPUS INSTALLDIR=$VRUI_INSTALLDIR” (line 65). The added line should contain “patch -p1 < ../../Fix-missing-size_t.patch”.

    Create a new text file in the same directory as Build-Ubuntu.sh. This file should be named Fix-missing-size_t.patch and contain the following text.

    --- a/Vrui/Vislets/FrameRateViewer.h    2019-07-17 13:48:41.000000000 -0700
    +++ b/Vrui/Vislets/FrameRateViewer.h    2022-08-24 09:05:57.472284693 -0700
    @@ -27,6 +27,8 @@
     #include <GL/GLNumberRenderer.h>
     #include <Vrui/Vislet.h>
    +#include <cstddef>
     namespace Vrui {
     namespace Vislets {

    Remove the old src directory (if still around) and run the new Build-Ubuntu.sh. Let me know if this works or not.

    • This reply was modified 3 months, 2 weeks ago by Sean Robinson. Reason: fix patch file formatting


    How would you recommend we share your fix for Linux Mint 21 in here & Github Issues I opened?

    As a rookie, I don’t want to goof how your fix is shared for everyone who’ll see it in the future.


    Sean Robinson

    Congratulations! Now the fun of construction and calibration can begin?

    I assume that when @okreylos moves to LM21 the missing include could be added to Vrui for the next release. I don’t think this would cause
    backward-compatible problems.

    Changing the libdc1390-dev package name will probably be part of an update to Build-Ubuntu.sh when Ubuntu 22.04 LTS and LM21 become recommended distributions. Until that time, the current package name is proper for LM19.


    In case this useful for others:


    So, for anyone else who has this problem: I created a patch for Build-Ubuntu.sh, that doesn’t require a separate patch file. This will work no matter where the build script is located in your machine. Just edit Build-Ubuntu.sh:

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