Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't rosmake it #341

Open
SakuraMemoryKnight opened this issue Sep 9, 2019 · 0 comments
Open

I can't rosmake it #341

SakuraMemoryKnight opened this issue Sep 9, 2019 · 0 comments

Comments

@SakuraMemoryKnight
Copy link

               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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant