You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from /usr/include/QGLViewer/camera.h:26,
from /usr/include/QGLViewer/qglviewer.h:26,
from /home/zcg/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/src/PointCloudViewer.h:26,
from /home/zcg/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/src/PointCloudViewer.cpp:22:
/usr/include/QGLViewer/frame.h:188:7: note: initializing argument 1 of ‘void qglviewer::Frame::getPosition(qreal&, qreal&, qreal&) const’
void getPosition(qreal& x, qreal& y, qreal& z) const;
^
In file included from /home/zcg/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/src/main_viewer.cpp:25:0:
/home/zcg/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/src/PointCloudViewer.h: In constructor ‘AnimationObject::AnimationObject(std::__cxx11::string)’:
/home/zcg/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/src/PointCloudViewer.h:104:25: warning: format ‘%f’ expects argument of type ‘float*’, but argument 17 has type ‘qreal* {aka double*}’ [-Wformat=]
&x, &y, &z, &isFix_i))
^
/home/zcg/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/src/PointCloudViewer.h:104:25: warning: format ‘%f’ expects argument of type ‘float*’, but argument 18 has type ‘qreal* {aka double*}’ [-Wformat=]
/home/zcg/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/src/PointCloudViewer.h:104:25: warning: format ‘%f’ expects argument of type ‘float*’, but argument 19 has type ‘qreal* {aka double*}’ [-Wformat=]
/home/zcg/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/src/PointCloudViewer.h: In member function ‘std::__cxx11::string AnimationObject::toString()’:
/home/zcg/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/src/PointCloudViewer.h:136:26: error: invalid initialization of non-const reference of type ‘qreal& {aka double&}’ from an rvalue of type ‘qreal {aka double}’
frame.getPosition(x,y,z);
^
In file included from /usr/include/QGLViewer/keyFrameInterpolator.h:31:0,
from /usr/include/QGLViewer/camera.h:26,
from /usr/include/QGLViewer/qglviewer.h:26,
from /home/zcg/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/src/PointCloudViewer.h:26,
from /home/zcg/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/src/main_viewer.cpp:25:
/usr/include/QGLViewer/frame.h:188:7: note: initializing argument 1 of ‘void qglviewer::Frame::getPosition(qreal&, qreal&, qreal&) const’
void getPosition(qreal& x, qreal& y, qreal& z) const;
^
CMakeFiles/viewer.dir/build.make:160: recipe for target 'CMakeFiles/viewer.dir/src/PointCloudViewer.cpp.o' failed
make[3]: *** [CMakeFiles/viewer.dir/src/PointCloudViewer.cpp.o] Error 1
make[3]: *** 正在等待未完成的任务....
CMakeFiles/viewer.dir/build.make:99: recipe for target 'CMakeFiles/viewer.dir/src/main_viewer.cpp.o' failed
make[3]: *** [CMakeFiles/viewer.dir/src/main_viewer.cpp.o] Error 1
make[3]: Leaving directory '/home/zcg/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build'
CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/viewer.dir/all' failed
make[2]: *** [CMakeFiles/viewer.dir/all] Error 2
make[2]: Leaving directory '/home/zcg/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build'
Makefile:127: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/zcg/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build'
/opt/ros/kinetic/share/mk/cmake.mk:7: recipe for target 'all' failed
The text was updated successfully, but these errors were encountered:
/usr/include/QGLViewer/frame.h:188:7: note: initializing argument 1 of ‘void qglviewer::Frame::getPosition(qreal&, qreal&, qreal&) const’
void getPosition(qreal& x, qreal& y, qreal& z) const;
^
In file included from /home/zcg/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/src/main_viewer.cpp:25:0:
/home/zcg/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/src/PointCloudViewer.h: In constructor ‘AnimationObject::AnimationObject(std::__cxx11::string)’:
/home/zcg/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/src/PointCloudViewer.h:104:25: warning: format ‘%f’ expects argument of type ‘float*’, but argument 17 has type ‘qreal* {aka double*}’ [-Wformat=]
&x, &y, &z, &isFix_i))
^
/home/zcg/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/src/PointCloudViewer.h:104:25: warning: format ‘%f’ expects argument of type ‘float*’, but argument 18 has type ‘qreal* {aka double*}’ [-Wformat=]
/home/zcg/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/src/PointCloudViewer.h:104:25: warning: format ‘%f’ expects argument of type ‘float*’, but argument 19 has type ‘qreal* {aka double*}’ [-Wformat=]
/home/zcg/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/src/PointCloudViewer.h: In member function ‘std::__cxx11::string AnimationObject::toString()’:
/home/zcg/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/src/PointCloudViewer.h:136:26: error: invalid initialization of non-const reference of type ‘qreal& {aka double&}’ from an rvalue of type ‘qreal {aka double}’
frame.getPosition(x,y,z);
^
In file included from /usr/include/QGLViewer/keyFrameInterpolator.h:31:0,
from /usr/include/QGLViewer/camera.h:26,
from /usr/include/QGLViewer/qglviewer.h:26,
from /home/zcg/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/src/PointCloudViewer.h:26,
from /home/zcg/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/src/main_viewer.cpp:25:
/usr/include/QGLViewer/frame.h:188:7: note: initializing argument 1 of ‘void qglviewer::Frame::getPosition(qreal&, qreal&, qreal&) const’
void getPosition(qreal& x, qreal& y, qreal& z) const;
^
CMakeFiles/viewer.dir/build.make:160: recipe for target 'CMakeFiles/viewer.dir/src/PointCloudViewer.cpp.o' failed
make[3]: *** [CMakeFiles/viewer.dir/src/PointCloudViewer.cpp.o] Error 1
make[3]: *** 正在等待未完成的任务....
CMakeFiles/viewer.dir/build.make:99: recipe for target 'CMakeFiles/viewer.dir/src/main_viewer.cpp.o' failed
make[3]: *** [CMakeFiles/viewer.dir/src/main_viewer.cpp.o] Error 1
make[3]: Leaving directory '/home/zcg/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build'
CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/viewer.dir/all' failed
make[2]: *** [CMakeFiles/viewer.dir/all] Error 2
make[2]: Leaving directory '/home/zcg/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build'
Makefile:127: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/zcg/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build'
/opt/ros/kinetic/share/mk/cmake.mk:7: recipe for target 'all' failed
The text was updated successfully, but these errors were encountered: