Closed cshreyastech closed 5 years ago
viewer.cpp:(.text._ZN3ros27SubscriptionCallbackHelperTIRKNS_12MessageEventIKN11sensor_msgs11CameraInfo_ISaIvEEEEEvE11deserializeERKNS_43SubscriptionCallbackHelperDeserializeParamsE[_ZN3ros27SubscriptionCallbackHelperTIRKNS_12MessageEventIKN11sensor_msgs11CameraInfo_ISaIvEEEEEvE11deserializeERKNS_43SubscriptionCallbackHelperDeserializeParamsE]+0x660): undefined reference to `ros::console::initializeLogLocation(ros::console::LogLocation*, std::string const&, ros::console::levels::Level)' collect2: error: ld returned 1 exit status iai_kinect2/kinect2_viewer/CMakeFiles/kinect2_viewer.dir/build.make:509: recipe for target '/home/nvidia/catkin_ws/devel/lib/kinect2_viewer/kinect2_viewer' failed make[2]: [/home/nvidia/catkin_ws/devel/lib/kinect2_viewer/kinect2_viewer] Error 1 CMakeFiles/Makefile2:2845: recipe for target 'iai_kinect2/kinect2_viewer/CMakeFiles/kinect2_viewer.dir/all' failed make[1]: [iai_kinect2/kinect2_viewer/CMakeFiles/kinect2_viewer.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: *** [all] Error 2 Invoking "make -j4 -l4" failed
I am not sure what is causing this, can anyone suggest some direction?
Thanks,
I have also tried to reinstall libfreenect2. libfreenect2 can be compiled without errors. I am trying this in TX2
I got it resolved after reinstalling libfreenect2.
viewer.cpp:(.text._ZN3ros27SubscriptionCallbackHelperTIRKNS_12MessageEventIKN11sensor_msgs11CameraInfo_ISaIvEEEEEvE11deserializeERKNS_43SubscriptionCallbackHelperDeserializeParamsE[_ZN3ros27SubscriptionCallbackHelperTIRKNS_12MessageEventIKN11sensor_msgs11CameraInfo_ISaIvEEEEEvE11deserializeERKNS_43SubscriptionCallbackHelperDeserializeParamsE]+0x660): undefined reference to `ros::console::initializeLogLocation(ros::console::LogLocation*, std::string const&, ros::console::levels::Level)' collect2: error: ld returned 1 exit status iai_kinect2/kinect2_viewer/CMakeFiles/kinect2_viewer.dir/build.make:509: recipe for target '/home/nvidia/catkin_ws/devel/lib/kinect2_viewer/kinect2_viewer' failed make[2]: [/home/nvidia/catkin_ws/devel/lib/kinect2_viewer/kinect2_viewer] Error 1 CMakeFiles/Makefile2:2845: recipe for target 'iai_kinect2/kinect2_viewer/CMakeFiles/kinect2_viewer.dir/all' failed make[1]: [iai_kinect2/kinect2_viewer/CMakeFiles/kinect2_viewer.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: *** [all] Error 2 Invoking "make -j4 -l4" failed
I am not sure what is causing this, can anyone suggest some direction?
Thanks,