Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Complete Installation Instructions #101739

    mcsquared
    Participant

    Hi Oliver, I have run into a new roadblock. I got my Sandbox up and running and it was a big hit at GIS day!! However, I was using my desktop computer to run it. Now I am trying to have a more permanent installation and want to run it on a Raspberry Pi2 (without the water) so people at my office can play with it. I am using Ubuntu Mate image on my Pi and everything seems to install correctly but when I try to run the sandbox I get an error that says:

    
    Cannot fix projector view due to exception IO::StandardFile: Unable to open file
    /home/matt/src/SARndbox-1.6/ProjectorMatrix.dat for reading due to error 2
    0.152457 x 0.156846
    

    Any ideas? Or am I just wasting my time try to get a Pi to do this?

    in reply to: Complete Installation Instructions #101672

    mcsquared
    Participant

    I think I must have. Here is what it says:

    Vrui: Entering verbose mode
    Vrui: Run-time version 3.1-003 installed in:
            libraries   : /home/matt/Vrui-3.1/lib/x86_64-linux-gnu
            executables : /home/matt/Vrui-3.1/bin
            plug-ins    : /home/matt/Vrui-3.1/lib/x86_64-linux-gnu
            config files: /home/matt/Vrui-3.1/etc
            shared files: /home/matt/Vrui-3.1/share
    Vrui: Reading system-wide configuration file /home/matt/Vrui-3.1/etc/Vrui.cfg
    Vrui: Merging user configuration file ./Vrui.cfg... does not exist
    Vrui: Going to root section /Vrui/Desktop
    Vrui: Initializing Vrui environment... Ok
    Vrui: Command line passed to application:
    Usage: /home/matt/Vrui-3.1/bin/AlignTrackingMarkers ( <rigid body definition file name> <rigid body name> ) | ( -npc <NaturalPoint server name> <rigid body ID> ) [-scale <unit scale factor>] [-inches] [-flipZ] [-size <marker size>]
    Vrui: Shutting down Vrui environment
    Caught exception AlignTrackingMarkers::AlignTrackingMarkers: No file name and rigid body name or NaturalPoint server name and rigid body ID provided'

    I don’t know how that happened as I just copied and pasted the commands from this thread. And being a Linux newb, I don’t really know how to fix it. Nevermind, for some reason everything compiled correctly once I tried it again this morning. Thanks for taking the time to respond. I really appreciate it. Wish me luck for GIS day!

    • This reply was modified 3 years, 10 months ago by  mcsquared.
    in reply to: Complete Installation Instructions #101666

    mcsquared
    Participant

    Brand new install of Ubuntu 14.04 LTS install and g++ version 4.8

    in reply to: Complete Installation Instructions #101664

    mcsquared
    Participant

    Hi, Oliver
    First of all thanks for making all your hard work available to everybody. I have successfully completed the installation process twice before. This is my 3rd go round (upgrading computers each time). However, this time I have hit a wall with an error while installing Kinect-2.8-002. I am getting an error when compiling SphereExtractorTool.cpp Here is the error (sorry for the long text):

    matt@matts-Workstation:~/src/Kinect-2.8-002$ make
    ---- Kinect configuration options: ----
    CPU-based facade projector selected
    ---- Kinect installation configuration ----
    Root installation directory: /home/matt/Vrui-3.1
    Calibration data directory: /home/matt/Vrui-3.1/etc/Kinect-2.8
    Resource data directory: /home/matt/Vrui-3.1/share/Kinect-2.8
    Vislet plug-in directory: /home/matt/Vrui-3.1/lib/x86_64-linux-gnu/VRVislets
    ---- End of Kinect configuration options: ----
    make: Warning: File 

    SphereExtractorTool.cpp’ has modification time 2.8e+04 s in the future
    Compiling SphereExtractorTool.cpp…
    SphereExtractorTool.cpp: In member function ‘virtual void SphereExtractorTool::initialize()’:
    SphereExtractorTool.cpp:213:119: error: no matching function for call to ‘createFunctionCall(SphereExtractorTool* const, void (SphereExtractorTool::*)(const SphereList&, unsigned int), unsigned int&)’
    sphereExtractor->startStreaming(Misc::createFunctionCall(this,&SphereExtractorTool::sphereListCallback,streamerIndex));
    ^
    SphereExtractorTool.cpp:213:119: note: candidates are:
    In file included from /home/matt/Vrui-3.1/include/Vrui/FileSelectionHelper.h:28:0,
    from KinectViewer.h:33,
    from SphereExtractorTool.h:40,
    from SphereExtractorTool.cpp:24:
    /home/matt/Vrui-3.1/include/Misc/FunctionCalls.h:254:1: note: template<class ParameterParam> Misc::FunctionCall<ParameterParam>* Misc::createFunctionCall(void (*)(ParameterParam))
    createFunctionCall(
    ^
    /home/matt/Vrui-3.1/include/Misc/FunctionCalls.h:254:1: note: template argument deduction/substitution failed:
    SphereExtractorTool.cpp:213:119: note: mismatched types ‘void(ParameterParam)’ and ‘SphereExtractorTool’
    sphereExtractor->startStreaming(Misc::createFunctionCall(this,&SphereExtractorTool::sphereListCallback,streamerIndex));
    ^
    In file included from /home/matt/Vrui-3.1/include/Vrui/FileSelectionHelper.h:28:0,
    from KinectViewer.h:33,
    from SphereExtractorTool.h:40,
    from SphereExtractorTool.cpp:24:
    /home/matt/Vrui-3.1/include/Misc/FunctionCalls.h:263:1: note: template<class ParameterParam, class ArgumentParam> Misc::FunctionCall<ParameterParam>* Misc::createFunctionCall(void (*)(ParameterParam, const ArgumentParam&), ArgumentParam)
    createFunctionCall(
    ^
    /home/matt/Vrui-3.1/include/Misc/FunctionCalls.h:263:1: note: template argument deduction/substitution failed:
    SphereExtractorTool.cpp:213:119: note: mismatched types ‘void(ParameterParam, const ArgumentParam&)’ and ‘SphereExtractorTool’
    sphereExtractor->startStreaming(Misc::createFunctionCall(this,&SphereExtractorTool::sphereListCallback,streamerIndex));
    ^
    In file included from /home/matt/Vrui-3.1/include/Vrui/FileSelectionHelper.h:28:0,
    from KinectViewer.h:33,
    from SphereExtractorTool.h:40,
    from SphereExtractorTool.cpp:24:
    /home/matt/Vrui-3.1/include/Misc/FunctionCalls.h:273:1: note: template<class ParameterParam, class CalleeParam> Misc::FunctionCall<ParameterParam>* Misc::createFunctionCall(CalleeParam*, void (CalleeParam::*)(ParameterParam))
    createFunctionCall(
    ^
    /home/matt/Vrui-3.1/include/Misc/FunctionCalls.h:273:1: note: template argument deduction/substitution failed:
    SphereExtractorTool.cpp:213:119: note: candidate expects 2 arguments, 3 provided
    sphereExtractor->startStreaming(Misc::createFunctionCall(this,&SphereExtractorTool::sphereListCallback,streamerIndex));
    ^
    In file included from /home/matt/Vrui-3.1/include/Vrui/FileSelectionHelper.h:28:0,
    from KinectViewer.h:33,
    from SphereExtractorTool.h:40,
    from SphereExtractorTool.cpp:24:
    /home/matt/Vrui-3.1/include/Misc/FunctionCalls.h:283:1: note: template<class ParameterParam, class CalleeParam> Misc::FunctionCall<ParameterParam>* Misc::createFunctionCall(const CalleeParam*, void (CalleeParam::*)(ParameterParam)const)
    createFunctionCall(
    ^
    /home/matt/Vrui-3.1/include/Misc/FunctionCalls.h:283:1: note: template argument deduction/substitution failed:
    SphereExtractorTool.cpp:213:119: note: types ‘void (CalleeParam::)(ParameterParam)const’ and ‘void (SphereExtractorTool::)(const SphereList&, unsigned int) {aka void (SphereExtractorTool::)(const std::vector<Geometry::Sphere<double, 3> >&, unsigned int)}’ have incompatible cv-qualifiers
    sphereExtractor->startStreaming(Misc::createFunctionCall(this,&SphereExtractorTool::sphereListCallback,streamerIndex));
    ^
    In file included from /home/matt/Vrui-3.1/include/Vrui/FileSelectionHelper.h:28:0,
    from KinectViewer.h:33,
    from SphereExtractorTool.h:40,
    from SphereExtractorTool.cpp:24:
    /home/matt/Vrui-3.1/include/Misc/FunctionCalls.h:293:1: note: template<class ParameterParam, class CalleeParam, class ArgumentParam> Misc::FunctionCall<ParameterParam>* Misc::createFunctionCall(CalleeParam*, void (CalleeParam::*)(ParameterParam, const ArgumentParam&), ArgumentParam)
    createFunctionCall(
    ^
    /home/matt/Vrui-3.1/include/Misc/FunctionCalls.h:293:1: note: template argument deduction/substitution failed:
    SphereExtractorTool.cpp:213:119: note: mismatched types ‘const ArgumentParam&’ and ‘unsigned int’
    sphereExtractor->startStreaming(Misc::createFunctionCall(this,&SphereExtractorTool::sphereListCallback,streamerIndex));
    ^
    In file included from /home/matt/Vrui-3.1/include/Vrui/FileSelectionHelper.h:28:0,
    from KinectViewer.h:33,
    from SphereExtractorTool.h:40,
    from SphereExtractorTool.cpp:24:
    /home/matt/Vrui-3.1/include/Misc/FunctionCalls.h:304:1: note: template<class ParameterParam, class CalleeParam, class ArgumentParam> Misc::FunctionCall<ParameterParam>* Misc::createFunctionCall(const CalleeParam*, void (CalleeParam::*)(ParameterParam, const ArgumentParam&)const, ArgumentParam)
    createFunctionCall(
    ^
    /home/matt/Vrui-3.1/include/Misc/FunctionCalls.h:304:1: note: template argument deduction/substitution failed:
    SphereExtractorTool.cpp:213:119: note: types ‘void (CalleeParam::)(ParameterParam, const ArgumentParam&)const’ and ‘void (SphereExtractorTool::)(const SphereList&, unsigned int) {aka void (SphereExtractorTool::)(const std::vector<Geometry::Sphere<double, 3> >&, unsigned int)}’ have incompatible cv-qualifiers
    sphereExtractor->startStreaming(Misc::createFunctionCall(this,&SphereExtractorTool::sphereListCallback,streamerIndex));
    ^
    make: *** [o/g++-3.g0.O3/SphereExtractorTool.o] Error 1
    `

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