Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 417

Invoking "make -j2 -l2" failed

$
0
0
hello i'm new with ROS i'm trysing to build simple C++ file using catkin_make for my ROS indigo (OS UBUNTU 14.04 LTS) and i having errors that i can't figure out having some og this errors : /usr/include/boost/lexical_cast.hpp:2096:66: error: expected ‘)’ before ‘char’ /usr/include/boost/lexical_cast.hpp:2096:66: error: expected ‘)’ before ‘char’ /usr/include/boost/lexical_cast.hpp: In member function ‘bool boost::detail::lexical_stream_limited_src::operator>>(int)’: /usr/include/boost/lexical_cast.hpp:2102:53: error: expected type-specifier return ((*this) >> reinterpret_cast&>(output)); ^ /usr/include/boost/lexical_cast.hpp:2102:53: error: expected ‘>’ /usr/include/boost/lexical_cast.hpp:2102:53: error: expected ‘(’ /usr/include/boost/lexical_cast.hpp:2102:53: error: ‘array’ is not a member of ‘boost’ /usr/include/boost/lexical_cast.hpp:2102:66: error: expected primary-expression before ‘char’ return ((*this) >> reinterpret_cast&>(output)); ^ /usr/include/boost/lexical_cast.hpp:2102:66: error: expected ‘)’ before ‘char’ /usr/include/boost/lexical_cast.hpp:2102:66: error: expected ‘)’ before ‘char’ make[2]: *** [agitr/CMakeFiles/hello.dir/src/hello.cpp.o] Error 1 make[1]: *** [agitr/CMakeFiles/hello.dir/all] Error 2 make: *** [all] Error 2 Invoking "make -j2 -l2" failed --- Edit: #include int main(int argc,char **argv) { ros::init(argc,argv,"hello"); ros::NodeHandle nh; ROS_INFO_STREAM("hello"); }

Viewing all articles
Browse latest Browse all 417

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>