Skip to content

Instantly share code, notes, and snippets.

@nguillermin
Created August 11, 2015 01:39
Show Gist options
  • Save nguillermin/e49573a44ae82b64d209 to your computer and use it in GitHub Desktop.
Save nguillermin/e49573a44ae82b64d209 to your computer and use it in GitHub Desktop.
mkdir -p bin
cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=/opt/ros/indigo/share/ros/core/rosbuild/rostoolchain.cmake ..
[rosbuild] Building package lsd_slam_viewer
-- Using CATKIN_DEVEL_PREFIX: /opt/ros/indigo/share/lsd_slam/lsd_slam_viewer/build/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/indigo
-- This workspace overlays: /opt/ros/indigo
-- Using PYTHON_EXECUTABLE: /usr/local/bin/python
-- Using default Python package layout
-- Using empy: /usr/local/lib/python2.7/site-packages/em.pyc
-- Using CATKIN_ENABLE_TESTING: ON
-- Skip enable_testing() for dry packages
-- Using CATKIN_TEST_RESULTS_DIR: /opt/ros/indigo/share/lsd_slam/lsd_slam_viewer/build/test_results
-- Found gtest: gtests will be built
-- Using Python nosetests: /usr/local/bin/nosetests-2.7
-- catkin 0.6.14
-- Using these message generators: gencpp;genlisp;genpy
[rosbuild] Including /opt/ros/indigo/share/roslisp/rosbuild/roslisp.cmake
[rosbuild] Including /opt/ros/indigo/share/roscpp/rosbuild/roscpp.cmake
[rosbuild] Including /opt/ros/indigo/share/rospy/rosbuild/rospy.cmake
MSG: gencfg_cpp on:LSDSLAMViewerParams.cfg
[gendeps] Finding dependencies for /opt/ros/indigo/share/lsd_slam/lsd_slam_viewer/cfg/LSDSLAMViewerParams.cfg
-- Configuring done
-- Generating done
-- Build files have been written to: /opt/ros/indigo/share/lsd_slam/lsd_slam_viewer/build
cd build && /Applications/Xcode.app/Contents/Developer/usr/bin/make -j8 -l8
[ 0%] Built target rosbuild_premsgsrvgen
[ 7%] Built target ROSBUILD_gencfg_cpp
[ 42%] [ 42%] Built target ROSBUILD_genmsg_py
Built target ROSBUILD_genmsg_lisp
[ 57%] Built target ROSBUILD_genmsg_cpp
[ 57%] Built target rospack_gencfg
[ 57%] Built target rospack_genmsg
[ 57%] [ 57%] Built target rospack_gencfg_real
Built target rospack_genmsg_libexe
[ 57%] Built target rospack_genmsg_all
[ 57%] Built target rosbuild_precompile
[ 64%] Building CXX object CMakeFiles/videoStitch.dir/src/main_stitchVideos.cpp.o
[ 71%] [ 78%] Building CXX object CMakeFiles/viewer.dir/src/main_viewer.cpp.o
[ 85%] Building CXX object CMakeFiles/viewer.dir/src/PointCloudViewer.cpp.o
Building CXX object CMakeFiles/viewer.dir/src/KeyFrameDisplay.cpp.o
In file included from /opt/ros/indigo/share/lsd_slam/lsd_slam_viewer/src/KeyFrameDisplay.cpp:23:
In file included from /opt/ros/indigo/share/lsd_slam/lsd_slam_viewer/src/KeyFrameDisplay.h:28:
In file included from /opt/ros/indigo/share/lsd_slam/lsd_slam_viewer/thirdparty/Sophus/sophus/sim3.hpp:26:
In file included from /opt/ros/indigo/share/lsd_slam/lsd_slam_viewer/thirdparty/Sophus/sophus/rxso3.hpp:27:
/opt/ros/indigo/share/lsd_slam/lsd_slam_viewer/thirdparty/Sophus/sophus/so3.hpp:801:3: warning: 'const' qualifier on reference type 'ConstQuaternionReference' (aka 'const typename internal::traits<Map<const SO3Group<type-parameter-0-0, 0>, _Options, Stride<0, 0> > >::QuaternionType &') has no effect [-Wignored-qualifiers]
const ConstQuaternionReference unit_quaternion() const {
^~~~~~
In file included from /opt/ros/indigo/share/lsd_slam/lsd_slam_viewer/src/KeyFrameDisplay.cpp:23:
In file included from /opt/ros/indigo/share/lsd_slam/lsd_slam_viewer/src/KeyFrameDisplay.h:28:
In file included from /opt/ros/indigo/share/lsd_slam/lsd_slam_viewer/thirdparty/Sophus/sophus/sim3.hpp:26:
/opt/ros/indigo/share/lsd_slam/lsd_slam_viewer/thirdparty/Sophus/sophus/rxso3.hpp:23:9: warning: 'SOPHUS_RXSO3_HPP' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
#ifndef SOPHUS_RXSO3_HPP
^~~~~~~~~~~~~~~~
/opt/ros/indigo/share/lsd_slam/lsd_slam_viewer/thirdparty/Sophus/sophus/rxso3.hpp:24:9: note: 'RXSO3_HPP' is defined here; did you mean 'SOPHUS_RXSO3_HPP'?
#define RXSO3_HPP
^~~~~~~~~
SOPHUS_RXSO3_HPP
/opt/ros/indigo/share/lsd_slam/lsd_slam_viewer/src/KeyFrameDisplay.cpp:27:10: fatal error: 'GL/glx.h' file not found
#include <GL/glx.h>
^
2 warnings and 1 error generated.
make[3]: *** [CMakeFiles/viewer.dir/src/KeyFrameDisplay.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/opt/ros/indigo/share/lsd_slam/lsd_slam_viewer/src/main_stitchVideos.cpp:24:10: fatal error: 'opencv2/opencv.hpp' file not found
#include "opencv2/opencv.hpp"
^
In file included from /opt/ros/indigo/share/lsd_slam/lsd_slam_viewer/src/PointCloudViewer.cpp:22:
/opt/ros/indigo/share/lsd_slam/lsd_slam_viewer/src/PointCloudViewer.h:136:21: error: non-const lvalue reference to type 'qreal' (aka 'double') cannot bind to a value of unrelated type 'float'
frame.getPosition(x,y,z);
^
/usr/local/lib/QGLViewer.framework/Headers/frame.h:188:26: note: passing argument to parameter 'x' here
void getPosition(qreal& x, qreal& y, qreal& z) const;
^
/opt/ros/indigo/share/lsd_slam/lsd_slam_viewer/src/PointCloudViewer.cpp:33:10: fatal error: 'GL/glx.h' file not found
#include <GL/glx.h>
^
1 error generated.
make[3]: *** [CMakeFiles/videoStitch.dir/src/main_stitchVideos.cpp.o] Error 1
make[2]: *** [CMakeFiles/videoStitch.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
2 errors generated.
make[3]: *** [CMakeFiles/viewer.dir/src/PointCloudViewer.cpp.o] Error 1
In file included from /opt/ros/indigo/share/lsd_slam/lsd_slam_viewer/src/main_viewer.cpp:25:
/opt/ros/indigo/share/lsd_slam/lsd_slam_viewer/src/PointCloudViewer.h:136:21: error: non-const lvalue reference to type 'qreal' (aka 'double') cannot bind to a value of unrelated type 'float'
frame.getPosition(x,y,z);
^
/usr/local/lib/QGLViewer.framework/Headers/frame.h:188:26: note: passing argument to parameter 'x' here
void getPosition(qreal& x, qreal& y, qreal& z) const;
^
/opt/ros/indigo/share/lsd_slam/lsd_slam_viewer/src/main_viewer.cpp:59:21: error: use of undeclared identifier 'exp10'
scaledDepthVarTH = exp10( config.scaledDepthVarTH );
^
/opt/ros/indigo/share/lsd_slam/lsd_slam_viewer/src/main_viewer.cpp:60:18: error: use of undeclared identifier 'exp10'
absDepthVarTH = exp10( config.absDepthVarTH );
^
In file included from /opt/ros/indigo/share/lsd_slam/lsd_slam_viewer/src/main_viewer.cpp:22:
In file included from /opt/ros/indigo/include/ros/ros.h:38:
In file included from /opt/ros/indigo/include/ros/time.h:58:
In file included from /usr/local/include/boost/math/special_functions/round.hpp:14:
In file included from /usr/local/include/boost/math/policies/error_handling.hpp:31:
In file included from /usr/local/include/boost/format.hpp:38:
In file included from /usr/local/include/boost/format/internals.hpp:23:
In file included from /usr/local/include/boost/format/alt_sstream.hpp:21:
In file included from /usr/local/include/boost/shared_ptr.hpp:17:
In file included from /usr/local/include/boost/smart_ptr/shared_ptr.hpp:26:
In file included from /usr/local/include/boost/checked_delete.hpp:15:
/usr/local/include/boost/core/checked_delete.hpp:34:5: warning: delete called on 'lsd_slam_viewer::LSDSLAMViewerParamsConfig::ParamDescription<bool>' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
delete x;
^
/usr/local/include/boost/smart_ptr/detail/shared_count.hpp:134:20: note: in instantiation of function template specialization 'boost::checked_delete<lsd_slam_viewer::LSDSLAMViewerParamsConfig::ParamDescription<bool> >' requested here
boost::checked_delete( p );
^
/usr/local/include/boost/smart_ptr/shared_ptr.hpp:271:5: note: in instantiation of function template specialization 'boost::detail::shared_count::shared_count<lsd_slam_viewer::LSDSLAMViewerParamsConfig::ParamDescription<bool> >' requested here
boost::detail::shared_count( p ).swap( pn );
^
/usr/local/include/boost/smart_ptr/shared_ptr.hpp:349:24: note: in instantiation of function template specialization 'boost::detail::sp_pointer_construct<const lsd_slam_viewer::LSDSLAMViewerParamsConfig::AbstractParamDescription, lsd_slam_viewer::LSDSLAMViewerParamsConfig::ParamDescription<bool> >' requested here
boost::detail::sp_pointer_construct( this, p, pn );
^
/opt/ros/indigo/share/lsd_slam/lsd_slam_viewer/cfg/cpp/lsd_slam_viewer/LSDSLAMViewerParamsConfig.h:439:45: note: in instantiation of function template specialization 'boost::shared_ptr<const lsd_slam_viewer::LSDSLAMViewerParamsConfig::AbstractParamDescription>::shared_ptr<lsd_slam_viewer::LSDSLAMViewerParamsConfig::ParamDescription<bool> >' requested here
Default.abstract_parameters.push_back(LSDSLAMViewerParamsConfig::AbstractParamDescriptionConstPtr(new LSDSLAMViewerParamsConfig::ParamDescription<bool>("showKFCameras", "bool", 0, "Toggle Drawing of blue Keyframe Camera-Frustrums", "", &LSDSLAMViewerParamsConfig::showKFCameras)));
^
In file included from /opt/ros/indigo/share/lsd_slam/lsd_slam_viewer/src/main_viewer.cpp:22:
In file included from /opt/ros/indigo/include/ros/ros.h:38:
In file included from /opt/ros/indigo/include/ros/time.h:58:
In file included from /usr/local/include/boost/math/special_functions/round.hpp:14:
In file included from /usr/local/include/boost/math/policies/error_handling.hpp:31:
In file included from /usr/local/include/boost/format.hpp:38:
In file included from /usr/local/include/boost/format/internals.hpp:23:
In file included from /usr/local/include/boost/format/alt_sstream.hpp:21:
In file included from /usr/local/include/boost/shared_ptr.hpp:17:
In file included from /usr/local/include/boost/smart_ptr/shared_ptr.hpp:26:
In file included from /usr/local/include/boost/checked_delete.hpp:15:
/usr/local/include/boost/core/checked_delete.hpp:34:5: warning: delete called on 'lsd_slam_viewer::LSDSLAMViewerParamsConfig::ParamDescription<double>' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
delete x;
^
/usr/local/include/boost/smart_ptr/detail/shared_count.hpp:134:20: note: in instantiation of function template specialization 'boost::checked_delete<lsd_slam_viewer::LSDSLAMViewerParamsConfig::ParamDescription<double> >' requested here
boost::checked_delete( p );
^
/usr/local/include/boost/smart_ptr/shared_ptr.hpp:271:5: note: in instantiation of function template specialization 'boost::detail::shared_count::shared_count<lsd_slam_viewer::LSDSLAMViewerParamsConfig::ParamDescription<double> >' requested here
boost::detail::shared_count( p ).swap( pn );
^
/usr/local/include/boost/smart_ptr/shared_ptr.hpp:349:24: note: in instantiation of function template specialization 'boost::detail::sp_pointer_construct<const lsd_slam_viewer::LSDSLAMViewerParamsConfig::AbstractParamDescription, lsd_slam_viewer::LSDSLAMViewerParamsConfig::ParamDescription<double> >' requested here
boost::detail::sp_pointer_construct( this, p, pn );
^
/opt/ros/indigo/share/lsd_slam/lsd_slam_viewer/cfg/cpp/lsd_slam_viewer/LSDSLAMViewerParamsConfig.h:489:45: note: in instantiation of function template specialization 'boost::shared_ptr<const lsd_slam_viewer::LSDSLAMViewerParamsConfig::AbstractParamDescription>::shared_ptr<lsd_slam_viewer::LSDSLAMViewerParamsConfig::ParamDescription<double> >' requested here
Default.abstract_parameters.push_back(LSDSLAMViewerParamsConfig::AbstractParamDescriptionConstPtr(new LSDSLAMViewerParamsConfig::ParamDescription<double>("pointTesselation", "double", 0, "Size of Points", "", &LSDSLAMViewerParamsConfig::pointTesselation)));
^
In file included from /opt/ros/indigo/share/lsd_slam/lsd_slam_viewer/src/main_viewer.cpp:22:
In file included from /opt/ros/indigo/include/ros/ros.h:38:
In file included from /opt/ros/indigo/include/ros/time.h:58:
In file included from /usr/local/include/boost/math/special_functions/round.hpp:14:
In file included from /usr/local/include/boost/math/policies/error_handling.hpp:31:
In file included from /usr/local/include/boost/format.hpp:38:
In file included from /usr/local/include/boost/format/internals.hpp:23:
In file included from /usr/local/include/boost/format/alt_sstream.hpp:21:
In file included from /usr/local/include/boost/shared_ptr.hpp:17:
In file included from /usr/local/include/boost/smart_ptr/shared_ptr.hpp:26:
In file included from /usr/local/include/boost/checked_delete.hpp:15:
/usr/local/include/boost/core/checked_delete.hpp:34:5: warning: delete called on 'lsd_slam_viewer::LSDSLAMViewerParamsConfig::ParamDescription<int>' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
delete x;
^
/usr/local/include/boost/smart_ptr/detail/shared_count.hpp:134:20: note: in instantiation of function template specialization 'boost::checked_delete<lsd_slam_viewer::LSDSLAMViewerParamsConfig::ParamDescription<int> >' requested here
boost::checked_delete( p );
^
/usr/local/include/boost/smart_ptr/shared_ptr.hpp:271:5: note: in instantiation of function template specialization 'boost::detail::shared_count::shared_count<lsd_slam_viewer::LSDSLAMViewerParamsConfig::ParamDescription<int> >' requested here
boost::detail::shared_count( p ).swap( pn );
^
/usr/local/include/boost/smart_ptr/shared_ptr.hpp:349:24: note: in instantiation of function template specialization 'boost::detail::sp_pointer_construct<const lsd_slam_viewer::LSDSLAMViewerParamsConfig::AbstractParamDescription, lsd_slam_viewer::LSDSLAMViewerParamsConfig::ParamDescription<int> >' requested here
boost::detail::sp_pointer_construct( this, p, pn );
^
/opt/ros/indigo/share/lsd_slam/lsd_slam_viewer/cfg/cpp/lsd_slam_viewer/LSDSLAMViewerParamsConfig.h:529:45: note: in instantiation of function template specialization 'boost::shared_ptr<const lsd_slam_viewer::LSDSLAMViewerParamsConfig::AbstractParamDescription>::shared_ptr<lsd_slam_viewer::LSDSLAMViewerParamsConfig::ParamDescription<int> >' requested here
Default.abstract_parameters.push_back(LSDSLAMViewerParamsConfig::AbstractParamDescriptionConstPtr(new LSDSLAMViewerParamsConfig::ParamDescription<int>("minNearSupport", "int", 0, "only plot points that have #minNearSupport similar neighbours (higher values remove outliers)", "", &LSDSLAMViewerParamsConfig::minNearSupport)));
^
In file included from /opt/ros/indigo/share/lsd_slam/lsd_slam_viewer/src/main_viewer.cpp:22:
In file included from /opt/ros/indigo/include/ros/ros.h:38:
In file included from /opt/ros/indigo/include/ros/time.h:58:
In file included from /usr/local/include/boost/math/special_functions/round.hpp:14:
In file included from /usr/local/include/boost/math/policies/error_handling.hpp:31:
In file included from /usr/local/include/boost/format.hpp:38:
In file included from /usr/local/include/boost/format/internals.hpp:23:
In file included from /usr/local/include/boost/format/alt_sstream.hpp:21:
In file included from /usr/local/include/boost/shared_ptr.hpp:17:
In file included from /usr/local/include/boost/smart_ptr/shared_ptr.hpp:26:
In file included from /usr/local/include/boost/checked_delete.hpp:15:
/usr/local/include/boost/core/checked_delete.hpp:34:5: warning: delete called on 'lsd_slam_viewer::LSDSLAMViewerParamsConfig::GroupDescription<lsd_slam_viewer::LSDSLAMViewerParamsConfig::DEFAULT, lsd_slam_viewer::LSDSLAMViewerParamsConfig>' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
delete x;
^
/usr/local/include/boost/smart_ptr/detail/shared_count.hpp:134:20: note: in instantiation of function template specialization 'boost::checked_delete<lsd_slam_viewer::LSDSLAMViewerParamsConfig::GroupDescription<lsd_slam_viewer::LSDSLAMViewerParamsConfig::DEFAULT, lsd_slam_viewer::LSDSLAMViewerParamsConfig> >' requested here
boost::checked_delete( p );
^
/usr/local/include/boost/smart_ptr/shared_ptr.hpp:271:5: note: in instantiation of function template specialization 'boost::detail::shared_count::shared_count<lsd_slam_viewer::LSDSLAMViewerParamsConfig::GroupDescription<lsd_slam_viewer::LSDSLAMViewerParamsConfig::DEFAULT, lsd_slam_viewer::LSDSLAMViewerParamsConfig> >' requested here
boost::detail::shared_count( p ).swap( pn );
^
/usr/local/include/boost/smart_ptr/shared_ptr.hpp:349:24: note: in instantiation of function template specialization 'boost::detail::sp_pointer_construct<const lsd_slam_viewer::LSDSLAMViewerParamsConfig::AbstractGroupDescription, lsd_slam_viewer::LSDSLAMViewerParamsConfig::GroupDescription<lsd_slam_viewer::LSDSLAMViewerParamsConfig::DEFAULT, lsd_slam_viewer::LSDSLAMViewerParamsConfig> >' requested here
boost::detail::sp_pointer_construct( this, p, pn );
^
/opt/ros/indigo/share/lsd_slam/lsd_slam_viewer/cfg/cpp/lsd_slam_viewer/LSDSLAMViewerParamsConfig.h:575:40: note: in instantiation of function template specialization 'boost::shared_ptr<const lsd_slam_viewer::LSDSLAMViewerParamsConfig::AbstractGroupDescription>::shared_ptr<lsd_slam_viewer::LSDSLAMViewerParamsConfig::GroupDescription<lsd_slam_viewer::LSDSLAMViewerParamsConfig::DEFAULT, lsd_slam_viewer::LSDSLAMViewerParamsConfig> >' requested here
__group_descriptions__.push_back(LSDSLAMViewerParamsConfig::AbstractGroupDescriptionConstPtr(new LSDSLAMViewerParamsConfig::GroupDescription<LSDSLAMViewerParamsConfig::DEFAULT, LSDSLAMViewerParamsConfig>(Default)));
^
4 warnings and 3 errors generated.
make[3]: *** [CMakeFiles/viewer.dir/src/main_viewer.cpp.o] Error 1
make[2]: *** [CMakeFiles/viewer.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment