celgil

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: New Software Installation Mechanism #2753
    celgil
    Participant

    Hi Oliver,

    On Ubuntu 22.04LTS when compiling Vrui 12.x & Kinect 4.1 manually, it works out of the box (just needed to edit the location of Vrui for Kinect 4.1 in the makefile).

    However “SARndbox-3.1” stops compiling with the following error:

    Linking bin/SARndbox...
    /usr/bin/ld: o/g++-3.g0.O3/PropertyGridCreator.o: undefined reference to symbol 'TIFFSetField@@LIBTIFF_4.0'
    /usr/bin/ld: /lib/x86_64-linux-gnu/libtiff.so.5: error adding symbols: DSO missing from command line
    collect2: error: ld returned 1 exit status
    make: *** [/usr/local/share/Vrui-12.1/make/BasicMakefile:320: bin/SARndbox] Error 1
    

    Needed to add -ltiff to the linker in the file:
    /usr/local/share/Vrui-12.1/make/BasicMakefile

    so it should look like this (from line 317):

    #
    # Set default link command for executables:
    #
    $(EXEDIR)/%:
            @mkdir -p $(abspath $(EXEDIR)/$(*D))
    ifdef SHOWCOMMAND
            $(CCOMP) $(LINKFLAGS) -o $@ $(filter %.o,$^) $(EXELFLAGS) -ltiff
    else
            @echo Linking $@...
            @$(CCOMP) $(LINKFLAGS) -o $@ $(filter %.o,$^) $(EXELFLAGS) -ltiff
    endif
    

    Cheers

    in reply to: New Software Installation Mechanism #2738
    celgil
    Participant

    Thank you very much okreylos for the updated building scripts:
    I could finally build “AR Sandbox” on Ubuntu 22.04LTS.

    I had trouble building Vrui with errors like:
    /usr/bin/ld: _ZN22GLEXTFramebufferObject7currentE: TLS reference in o/g++-3.g0.O3/VisionTest.o mismatches non-TLS reference

    Well I just need to setup everything but so far everything seems to work.

    Would be great to merge your code to the current SARndBox/Vrui code.
    I didn’t find the code on Github, but only your repo here which wasn’t updated recently:
    https://github.com/Doc-Ok/Vrui

Viewing 2 posts - 1 through 2 (of 2 total)