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

Installation issue #47

Open
immotri opened this issue Jul 20, 2018 · 3 comments
Open

Installation issue #47

immotri opened this issue Jul 20, 2018 · 3 comments

Comments

@immotri
Copy link

immotri commented Jul 20, 2018

Hi,
I am trying to install SVO 2.0 in Ubuntu 16.04 and kinetic.
After following the installation guidelines I get stuck in "catkin build".
I get the following messages:
`
immo@aspire:~/svo_install_overlay_ws$ catkin build

Profile: default
Extending: [cached] /opt/ros/kinetic
Workspace: /home/immo
Source Space: [exists] /home/immo/src
Build Space: [exists] /home/immo/build
Devel Space: [exists] /home/immo/devel
Install Space: [missing] /home/immo/install
DESTDIR: None

Isolate Develspaces: False
Install Packages: False
Isolate Installs: False

Additional CMake Args: -DCMAKE_BUILD_TYPE=Release
Additional Make Args: None
Additional catkin Make Args: None
Internal Make Job Server: True

Whitelisted Packages: None
Blacklisted Packages: None

Workspace configuration appears valid.

Found '1' packages in 0.0 seconds.
Starting ==> svo_ros

[svo_ros] ==> '/home/immo/build/svo_ros/build_env.sh /usr/bin/make --jobserver-fds=3,5 -j' in '/home/immo/build/svo_ros'
[ 88%] Built target actionlib_msgs_generate_messages_nodejs
[ 88%] Built target topic_tools_generate_messages_py
[ 88%] Built target std_srvs_generate_messages_py
[ 88%] Built target tf2_msgs_generate_messages_py
[ 88%] Built target std_msgs_generate_messages_nodejs
[ 88%] Built target geometry_msgs_generate_messages_cpp
[ 88%] Built target actionlib_msgs_generate_messages_lisp
[ 88%] Built target nav_msgs_generate_messages_nodejs
[ 88%] Built target roscpp_generate_messages_py
[ 88%] Built target nodelet_generate_messages_py
[ 88%] Built target roscpp_generate_messages_cpp
[ 88%] Built target tf2_msgs_generate_messages_nodejs
[ 88%] Built target nav_msgs_generate_messages_py
[ 88%] Built target std_msgs_generate_messages_py
[ 88%] Built target dynamic_reconfigure_generate_messages_nodejs
[ 88%] Built target rosgraph_msgs_generate_messages_eus
[ 88%] Built target tf_generate_messages_lisp
[ 88%] Built target rosgraph_msgs_generate_messages_lisp
[ 88%] Built target pcl_msgs_generate_messages_nodejs
[ 88%] Built target std_srvs_generate_messages_nodejs
[ 88%] Built target geometry_msgs_generate_messages_py
[ 88%] Built target geometry_msgs_generate_messages_lisp
[ 88%] Built target bond_generate_messages_py
[ 88%] Built target std_srvs_generate_messages_lisp
[ 88%] Built target nodelet_generate_messages_lisp
[ 88%] Built target std_msgs_generate_messages_lisp
[ 88%] Built target tf_generate_messages_cpp
[ 88%] Built target actionlib_msgs_generate_messages_eus
[ 88%] Built target std_srvs_generate_messages_eus
[ 88%] Built target actionlib_generate_messages_lisp
[ 88%] Built target geometry_msgs_generate_messages_eus
[ 88%] Built target geometry_msgs_generate_messages_nodejs
[ 88%] Built target nodelet_generate_messages_cpp
[ 88%] Built target nav_msgs_generate_messages_lisp
[ 88%] Built target dynamic_reconfigure_generate_messages_lisp
[ 88%] Built target nodelet_generate_messages_nodejs
[ 88%] Built target actionlib_msgs_generate_messages_cpp
[ 88%] Built target sensor_msgs_generate_messages_eus
[ 88%] Built target actionlib_generate_messages_nodejs
[ 88%] Built target visualization_msgs_generate_messages_cpp
[ 88%] Built target bond_generate_messages_cpp
[ 88%] Built target rosgraph_msgs_generate_messages_nodejs
[ 88%] Built target roscpp_generate_messages_lisp
[ 88%] Built target bond_generate_messages_eus
[ 88%] Built target roscpp_generate_messages_eus
[ 88%] Built target bond_generate_messages_lisp
[ 88%] Built target nodelet_generate_messages_eus
[ 88%] Built target topic_tools_generate_messages_cpp
[ 88%] Built target topic_tools_generate_messages_eus
[ 88%] Built target rosgraph_msgs_generate_messages_cpp
[ 88%] Built target pcl_ros_gencfg
[ 88%] Built target pcl_msgs_generate_messages_eus
[ 88%] Built target tf2_msgs_generate_messages_eus
[ 88%] Built target actionlib_msgs_generate_messages_py
[ 88%] Built target visualization_msgs_generate_messages_lisp
[ 88%] Built target nav_msgs_generate_messages_eus
[ 88%] Built target visualization_msgs_generate_messages_nodejs
[ 88%] Built target sensor_msgs_generate_messages_cpp
[ 88%] Built target visualization_msgs_generate_messages_py
[ 88%] Built target std_msgs_generate_messages_cpp
[ 88%] Built target sensor_msgs_generate_messages_nodejs
[ 88%] Built target roscpp_generate_messages_nodejs
[ 88%] Built target rosgraph_msgs_generate_messages_py
[ 88%] Built target sensor_msgs_generate_messages_py
[ 88%] Built target actionlib_generate_messages_cpp
[ 88%] Built target tf_generate_messages_eus
[ 88%] Built target tf_generate_messages_py
[ 88%] Built target std_msgs_generate_messages_eus
[ 88%] Built target actionlib_generate_messages_eus
[ 88%] Built target actionlib_generate_messages_py
[ 88%] Built target tf2_msgs_generate_messages_cpp
[ 88%] Built target dynamic_reconfigure_generate_messages_py
[ 88%] Built target nav_msgs_generate_messages_cpp
[ 88%] Built target tf2_msgs_generate_messages_lisp
[ 88%] Built target dynamic_reconfigure_gencfg
[ 88%] Built target dynamic_reconfigure_generate_messages_cpp
[ 88%] Built target nodelet_topic_tools_gencfg
[ 88%] Built target pcl_msgs_generate_messages_lisp
[ 88%] Built target bond_generate_messages_nodejs
[ 88%] Built target visualization_msgs_generate_messages_eus
[ 88%] Built target dynamic_reconfigure_generate_messages_eus
[ 88%] Built target pcl_msgs_generate_messages_py
[ 88%] Built target pcl_msgs_generate_messages_cpp
[ 88%] Built target std_srvs_generate_messages_cpp
[ 88%] Built target topic_tools_generate_messages_lisp
[ 88%] Built target sensor_msgs_generate_messages_lisp
[ 88%] Built target tf_generate_messages_nodejs
[ 88%] Built target topic_tools_generate_messages_nodejs
[ 88%] Built target svo_ros
[ 88%] Built target svo_nodelet
[ 88%] Linking CXX executable /home/immo/devel/lib/svo_ros/svo_node
/home/immo/devel/lib/libsvo_ros.so: undefined reference to vk::output_helper::publishQuadrocopterMarkers(ros::Publisher, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, ros::Time const&, int, int, double, Eigen::Matrix<double, 3, 1, 0, 3, 1> const&)' /home/immo/devel/lib/libsvo_ros.so: undefined reference to vk::cameras::NCamera::getCameraVector() const'
/home/immo/devel/lib/libsvo_ros.so: undefined reference to google::base::CheckOpMessageBuilder::ForVar2()' /home/immo/devel/lib/libsvo_ros.so: undefined reference to google::base::CheckOpMessageBuilder::CheckOpMessageBuilder(char const*)'
/home/immo/devel/lib/libsvo_ros.so: undefined reference to svo::FrameHandlerArray::FrameHandlerArray(svo::BaseOptions const&, svo::DepthFilterOptions const&, svo::DetectorOptions const&, svo::InitializationOptions const&, svo::ReprojectorOptions const&, svo::FeatureTrackerOptions const&, std::shared_ptr<vk::cameras::NCamera> const&)' /home/immo/devel/lib/libsvo_ros.so: undefined reference to svo::FrameHandlerBase::setRotationPrior(kindr::minimal::RotationQuaternionTemplate const&)'
/home/immo/devel/lib/libsvo_ros.so: undefined reference to svo::feature_tracking_utils::getFeatureMatches(svo::Frame const&, svo::Frame const&, std::vector<std::pair<unsigned long, unsigned long>, std::allocator<std::pair<unsigned long, unsigned long> > >*)' /home/immo/devel/lib/libsvo_ros.so: undefined reference to svo::FrameHandlerBase::~FrameHandlerBase()'
/home/immo/devel/lib/libsvo_ros.so: undefined reference to vtable for svo::FrameHandlerStereo' /home/immo/devel/lib/libsvo_ros.so: undefined reference to fLI::FLAGS_v'
/home/immo/devel/lib/libsvo_ros.so: undefined reference to svo::ImuHandler::ImuHandler(svo::ImuCalibration const&, svo::ImuInitialization const&)' /home/immo/devel/lib/libsvo_ros.so: undefined reference to svo::ImuHandler::loadInitializationFromFile(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)'
/home/immo/devel/lib/libsvo_ros.so: undefined reference to google::InitVLOG3__(int**, int*, char const*, int)' /home/immo/devel/lib/libsvo_ros.so: undefined reference to svo::feature_detection_utils::drawFeatures(svo::Frame const&, unsigned long, bool, cv::Mat*)'
/home/immo/devel/lib/libsvo_ros.so: undefined reference to google::base::CheckOpMessageBuilder::~CheckOpMessageBuilder()' /home/immo/devel/lib/libsvo_ros.so: undefined reference to svo::ImuHandler::~ImuHandler()'
/home/immo/devel/lib/libsvo_ros.so: undefined reference to vk::output_helper::publishCameraMarker(ros::Publisher, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, ros::Time const&, int, int, double, Eigen::Matrix<double, 3, 1, 0, 3, 1> const&)' /home/immo/devel/lib/libsvo_ros.so: undefined reference to vk::cameras::NCamera::loadFromYaml(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)'
/home/immo/devel/lib/libsvo_ros.so: undefined reference to svo::ImuHandler::getRelativeRotationPrior(double, double, bool, kindr::minimal::RotationQuaternionTemplate<double>&)' /home/immo/devel/lib/libsvo_ros.so: undefined reference to svo::ImuHandler::addImuMeasurement(svo::ImuMeasurement const&)'
/home/immo/devel/lib/libsvo_ros.so: undefined reference to vk::output_helper::publishPointMarker(ros::Publisher, Eigen::Matrix<double, 3, 1, 0, 3, 1> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, ros::Time const&, int, int, double, Eigen::Matrix<double, 3, 1, 0, 3, 1> const&, ros::Duration)' /home/immo/devel/lib/libsvo_ros.so: undefined reference to svo::FrameHandlerBase::addImageBundle(std::vector<cv::Mat, std::allocatorcv::Mat > const&, unsigned long)'
/home/immo/devel/lib/libsvo_ros.so: undefined reference to google::InitGoogleLogging(char const*)' /home/immo/devel/lib/libsvo_ros.so: undefined reference to google::ParseCommandLineFlags(int*, char***, bool)'
/home/immo/devel/lib/libsvo_ros.so: undefined reference to vtable for svo::FrameHandlerMono' /home/immo/devel/lib/libsvo_ros.so: undefined reference to google::LogMessageFatal::LogMessageFatal(char const*, int, google::CheckOpString const&)'
/home/immo/devel/lib/libsvo_ros.so: undefined reference to google::LogMessage::LogMessage(char const*, int)' /home/immo/devel/lib/libsvo_ros.so: undefined reference to svo::FrameHandlerBase::setRotationIncrementPrior(kindr::minimal::RotationQuaternionTemplate const&)'
/home/immo/devel/lib/libsvo_ros.so: undefined reference to svo::FrameHandlerStereo::FrameHandlerStereo(svo::BaseOptions const&, svo::DepthFilterOptions const&, svo::DetectorOptions const&, svo::InitializationOptions const&, svo::StereoTriangulationOptions const&, svo::ReprojectorOptions const&, svo::FeatureTrackerOptions const&, std::shared_ptr<vk::cameras::NCamera> const&)' /home/immo/devel/lib/libsvo_ros.so: undefined reference to google::InstallFailureSignalHandler()'
/home/immo/devel/lib/libsvo_ros.so: undefined reference to svo::ImuHandler::loadCalibrationFromFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /home/immo/devel/lib/libsvo_ros.so: undefined reference to vtable for svo::FrameHandlerArray'
/home/immo/devel/lib/libsvo_ros.so: undefined reference to svo::FrameHandlerMono::FrameHandlerMono(svo::BaseOptions const&, svo::DepthFilterOptions const&, svo::DetectorOptions const&, svo::InitializationOptions const&, svo::ReprojectorOptions const&, svo::FeatureTrackerOptions const&, std::shared_ptr<vk::cameras::NCamera> const&)' /home/immo/devel/lib/libsvo_ros.so: undefined reference to vk::output_helper::publishFrameMarker(ros::Publisher, Eigen::Matrix<double, 3, 3, 0, 3, 3> const&, Eigen::Matrix<double, 3, 1, 0, 3, 1> const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, ros::Time const&, int, int, double, ros::Duration)'
/home/immo/devel/lib/libsvo_ros.so: undefined reference to google::LogMessageFatal::~LogMessageFatal()' /home/immo/devel/lib/libsvo_ros.so: undefined reference to svo::ImuHandler::getInitialAttitude(double, kindr::minimal::RotationQuaternionTemplate&) const'
/home/immo/devel/lib/libsvo_ros.so: undefined reference to google::base::CheckOpMessageBuilder::NewString[abi:cxx11]()' /home/immo/devel/lib/libsvo_ros.so: undefined reference to google::LogMessage::~LogMessage()'
/home/immo/devel/lib/libsvo_ros.so: undefined reference to google::kLogSiteUninitialized' /home/immo/devel/lib/libsvo_ros.so: undefined reference to svo::frame_utils::createImgPyramid(cv::Mat const&, int, std::vector<cv::Mat, std::allocatorcv::Mat >&)'
/home/immo/devel/lib/libsvo_ros.so: undefined reference to google::LogMessage::stream()' /home/immo/devel/lib/libsvo_ros.so: undefined reference to vk::output_helper::publishTfTransform(kindr::minimal::QuatTransformationTemplate const&, ros::Time const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, tf::TransformBroadcaster&)'
/home/immo/devel/lib/libsvo_ros.so: undefined reference to google::LogMessageFatal::LogMessageFatal(char const*, int)' /home/immo/devel/lib/libsvo_ros.so: undefined reference to svo::FrameHandlerBase::closeKeyframes() const'
/home/immo/devel/lib/libsvo_ros.so: undefined reference to `svo::ImuHandler::getMeasurements(double, double, bool, std::deque<svo::ImuMeasurement, std::allocatorsvo::ImuMeasurement >&)'
collect2: error: ld returned 1 exit status
CMakeFiles/svo_node.dir/build.make:539: recipe for target '/home/immo/devel/lib/svo_ros/svo_node' failed
make[2]: *** [/home/immo/devel/lib/svo_ros/svo_node] Error 1
CMakeFiles/Makefile2:155: recipe for target 'CMakeFiles/svo_node.dir/all' failed
make[1]: *** [CMakeFiles/svo_node.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
[svo_ros] <== '/home/immo/build/svo_ros/build_env.sh /usr/bin/make --jobserver-fds=3,5 -j' failed with return code '2'

Failed <== svo_ros [ 1.7 seconds ]
[build] There were '1' errors:

Failed to build package 'svo_ros' because the following command:

Command to reproduce:

cd /home/immo/build/svo_ros && /home/immo/build/svo_ros/build_env.sh /usr/bin/make --jobserver-fds=3,5 -j; cd -

Path to log:

cat /home/immo/build/build_logs/svo_ros.log

Exited with return code: 2

[build] Runtime: 1.7 seconds
`


Any advise would be highly appreciated!

@gethubwy
Copy link

Hi immotri, did you solved it?

@Ciao-li
Copy link

Ciao-li commented Aug 28, 2021

I ran into a similar problem, anyone have any good suggestions?😓

@hipforth
Copy link

hipforth commented Apr 9, 2022

just
catkin clean --all
catkin build

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

4 participants