Reply To: Complete Installation Instructions

Home Forums AR Sandbox Forum Complete Installation Instructions 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
`

Comments are closed.