Skip to content

Instantly share code, notes, and snippets.

@davetcoleman
Created October 22, 2016 15:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davetcoleman/f5dddabaa85c373f61cd2a906170a956 to your computer and use it in GitHub Desktop.
Save davetcoleman/f5dddabaa85c373f61cd2a906170a956 to your computer and use it in GitHub Desktop.
Errors << warehouse_ros_mongo:make /home/dave/ros/current/ws_moveit/logs/warehouse_ros_mongo/build.make.002.log
In file included from /home/dave/ros/current/ws_moveit/src/warehouse_ros_mongo/test/test_warehouse_ros_mongo.cpp:41:0:
/home/dave/ros/current/ws_moveit/src/warehouse_ros_mongo/test/test_mongo_helpers.h:53:8: error: ‘MongoMetadata’ does not name a type
inline MongoMetadata& downcastMetadata(Metadata::ConstPtr metadata) const {
^
/home/dave/ros/current/ws_moveit/src/warehouse_ros_mongo/test/test_mongo_helpers.h:57:8: error: ‘MongoQuery’ does not name a type
inline MongoQuery& downcastQuery(Query::ConstPtr query) const {
^
/home/dave/ros/current/ws_moveit/src/warehouse_ros_mongo/test/test_warehouse_ros_mongo.cpp: In member function ‘virtual void MongoRos_MongoRos_Test::TestBody()’:
/home/dave/ros/current/ws_moveit/src/warehouse_ros_mongo/test/test_warehouse_ros_mongo.cpp:81:61: error: no matching function for call to ‘warehouse_ros_mongo::MongoDatabaseConnection::openCollection(const char [6], const char [6])’
PoseCollection coll = conn.openCollection("my_db", "poses");
^
In file included from /home/dave/ros/current/ws_moveit/src/warehouse_ros_mongo/include/warehouse_ros_mongo/database_connection.h:43:0,
from /home/dave/ros/current/ws_moveit/src/warehouse_ros_mongo/test/test_warehouse_ros_mongo.cpp:42:
/home/dave/ros/current/ws_moveit/src/warehouse_ros/include/warehouse_ros/database_connection.h:73:26: note: candidate: template<class M> warehouse_ros::MessageCollection<M> warehouse_ros::DatabaseConnection::openCollection(const string&, const string&)
MessageCollection<M> openCollection(const std::string& db_name, const std::string& collection_name);
^
/home/dave/ros/current/ws_moveit/src/warehouse_ros/include/warehouse_ros/database_connection.h:73:26: note: template argument deduction/substitution failed:
/home/dave/ros/current/ws_moveit/src/warehouse_ros_mongo/test/test_warehouse_ros_mongo.cpp:81:61: note: couldn't deduce template parameter ‘M’
PoseCollection coll = conn.openCollection("my_db", "poses");
^
/home/dave/ros/current/ws_moveit/src/warehouse_ros_mongo/test/test_warehouse_ros_mongo.cpp:102:6: error: ‘warehouse_ros::Query::Ptr {aka class boost::shared_ptr<warehouse_ros::Query>}’ has no member named ‘append’
q1.append("name", "qux");
^
/home/dave/ros/current/ws_moveit/src/warehouse_ros_mongo/test/test_warehouse_ros_mongo.cpp:113:6: error: ‘warehouse_ros::Query::Ptr {aka class boost::shared_ptr<warehouse_ros::Query>}’ has no member named ‘appendLT’
q2.appendLT("x", 40);
^
/home/dave/ros/current/ws_moveit/src/warehouse_ros_mongo/test/test_warehouse_ros_mongo.cpp:114:6: error: ‘warehouse_ros::Query::Ptr {aka class boost::shared_ptr<warehouse_ros::Query>}’ has no member named ‘appendGT’
q2.appendGT("y", 0);
^
/home/dave/ros/current/ws_moveit/src/warehouse_ros_mongo/test/test_warehouse_ros_mongo.cpp:129:6: error: ‘warehouse_ros::Query::Ptr {aka class boost::shared_ptr<warehouse_ros::Query>}’ has no member named ‘appendLT’
q3.appendLT("y", 30);
^
/home/dave/ros/current/ws_moveit/src/warehouse_ros_mongo/test/test_warehouse_ros_mongo.cpp:137:6: error: ‘warehouse_ros::Query::Ptr {aka class boost::shared_ptr<warehouse_ros::Query>}’ has no member named ‘append’
q4.append("name", "bar");
^
/home/dave/ros/current/ws_moveit/src/warehouse_ros_mongo/test/test_warehouse_ros_mongo.cpp:142:6: error: ‘warehouse_ros::Query::Ptr {aka class boost::shared_ptr<warehouse_ros::Query>}’ has no member named ‘append’
q5.append("name", "barbar");
^
/home/dave/ros/current/ws_moveit/src/warehouse_ros_mongo/test/test_warehouse_ros_mongo.cpp:147:38: error: conversion from ‘warehouse_ros::Metadata::Ptr {aka boost::shared_ptr<warehouse_ros::Metadata>}’ to non-scalar type ‘warehouse_ros::Query::Ptr {aka boost::shared_ptr<warehouse_ros::Query>}’ requested
Query::Ptr m1 = coll.createMetadata()
^
/home/dave/ros/current/ws_moveit/src/warehouse_ros_mongo/test/test_warehouse_ros_mongo.cpp:148:3: error: expected ‘,’ or ‘;’ before ‘m1’
m1.append("name", "barbar");
^
/home/dave/ros/current/ws_moveit/src/warehouse_ros_mongo/test/test_warehouse_ros_mongo.cpp:149:29: error: no matching function for call to ‘warehouse_ros::MessageCollection<geometry_msgs::Pose_<std::allocator<void> > >::modifyMetadata(warehouse_ros::Query::Ptr&, warehouse_ros::Query::Ptr&)’
coll.modifyMetadata(q4, m1);
^
In file included from /home/dave/ros/current/ws_moveit/src/warehouse_ros/include/warehouse_ros/message_collection.h:140:0,
from /home/dave/ros/current/ws_moveit/src/warehouse_ros_mongo/include/warehouse_ros_mongo/message_collection.h:43,
from /home/dave/ros/current/ws_moveit/src/warehouse_ros_mongo/include/warehouse_ros_mongo/database_connection.h:42,
from /home/dave/ros/current/ws_moveit/src/warehouse_ros_mongo/test/test_warehouse_ros_mongo.cpp:42:
/home/dave/ros/current/ws_moveit/src/warehouse_ros/include/warehouse_ros/impl/message_collection_impl.hpp:129:8: note: candidate: void warehouse_ros::MessageCollection<M>::modifyMetadata(warehouse_ros::Query::ConstPtr, warehouse_ros::Metadata::ConstPtr) [with M = geometry_msgs::Pose_<std::allocator<void> >; warehouse_ros::Query::ConstPtr = boost::shared_ptr<const warehouse_ros::Query>; warehouse_ros::Metadata::ConstPtr = boost::shared_ptr<const warehouse_ros::Metadata>]
void MessageCollection<M>::modifyMetadata(Query::ConstPtr q, Metadata::ConstPtr m)
^
/home/dave/ros/current/ws_moveit/src/warehouse_ros/include/warehouse_ros/impl/message_collection_impl.hpp:129:8: note: no known conversion for argument 2 from ‘warehouse_ros::Query::Ptr {aka boost::shared_ptr<warehouse_ros::Query>}’ to ‘warehouse_ros::Metadata::ConstPtr {aka boost::shared_ptr<const warehouse_ros::Metadata>}’
In file included from /usr/include/gtest/gtest.h:1929:0,
from /home/dave/ros/current/ws_moveit/src/warehouse_ros_mongo/test/test_warehouse_ros_mongo.cpp:44:
/home/dave/ros/current/ws_moveit/src/warehouse_ros_mongo/test/test_warehouse_ros_mongo.cpp:155:39: error: base operand of ‘->’ has non-pointer type ‘warehouse_ros_mongo::MongoDatabaseConnection’
EXPECT_EQ("geometry_msgs/Pose", conn->messageType("my_db", "poses"));
^
In file included from /home/dave/ros/current/ws_moveit/src/warehouse_ros_mongo/test/test_warehouse_ros_mongo.cpp:41:0:
/home/dave/ros/current/ws_moveit/src/warehouse_ros_mongo/test/test_mongo_helpers.h: In instantiation of ‘std::ostream& operator<<(std::ostream&, const warehouse_ros::MessageWithMetadata<T>&) [with T = geometry_msgs::Pose_<std::allocator<void> >; std::ostream = std::basic_ostream<char>]’:
/usr/include/gtest/gtest-printers.h:245:7: required from ‘void testing_internal::DefaultPrintNonContainerTo(const T&, std::ostream*) [with T = warehouse_ros::MessageWithMetadata<geometry_msgs::Pose_<std::allocator<void> > >; std::ostream = std::basic_ostream<char>]’
/usr/include/gtest/gtest-printers.h:338:49: required from ‘void testing::internal::DefaultPrintTo(testing::internal::IsNotContainer, testing::internal::false_type, const T&, std::ostream*) [with T = warehouse_ros::MessageWithMetadata<geometry_msgs::Pose_<std::allocator<void> > >; testing::internal::IsNotContainer = char; testing::internal::false_type = testing::internal::bool_constant<false>; std::ostream = std::basic_ostream<char>]’
/usr/include/gtest/gtest-printers.h:376:17: required from ‘void testing::internal::PrintTo(const T&, std::ostream*) [with T = warehouse_ros::MessageWithMetadata<geometry_msgs::Pose_<std::allocator<void> > >; std::ostream = std::basic_ostream<char>]’
/usr/include/gtest/gtest-printers.h:600:12: required from ‘static void testing::internal::UniversalPrinter<T>::Print(const T&, std::ostream*) [with T = warehouse_ros::MessageWithMetadata<geometry_msgs::Pose_<std::allocator<void> > >; std::ostream = std::basic_ostream<char>]’
/usr/include/gtest/gtest-printers.h:756:30: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
/usr/include/gtest/gtest-printers.h:849:44: required from ‘std::__cxx11::string testing::PrintToString(const T&) [with T = warehouse_ros::MessageWithMetadata<geometry_msgs::Pose_<std::allocator<void> > >; std::__cxx11::string = std::__cxx11::basic_string<char>]’
/usr/include/gtest/gtest.h:1358:36: required from ‘static std::__cxx11::string testing::internal::FormatForComparison<ToPrint, OtherOperand>::Format(const ToPrint&) [with ToPrint = warehouse_ros::MessageWithMetadata<geometry_msgs::Pose_<std::allocator<void> > >; OtherOperand = geometry_msgs::Pose_<std::allocator<void> >; std::__cxx11::string = std::__cxx11::basic_string<char>]’
/usr/include/gtest/gtest.h:1433:45: required from ‘std::__cxx11::string testing::internal::FormatForComparisonFailureMessage(const T1&, const T2&) [with T1 = warehouse_ros::MessageWithMetadata<geometry_msgs::Pose_<std::allocator<void> > >; T2 = geometry_msgs::Pose_<std::allocator<void> >; std::__cxx11::string = std::__cxx11::basic_string<char>]’
/usr/include/gtest/gtest.h:1459:53: required from ‘testing::AssertionResult testing::internal::CmpHelperEQ(const char*, const char*, const T1&, const T2&) [with T1 = geometry_msgs::Pose_<std::allocator<void> >; T2 = warehouse_ros::MessageWithMetadata<geometry_msgs::Pose_<std::allocator<void> > >]’
/usr/include/gtest/gtest.h:1484:23: required from ‘static testing::AssertionResult testing::internal::EqHelper<lhs_is_null_literal>::Compare(const char*, const char*, const T1&, const T2&) [with T1 = geometry_msgs::Pose_<std::allocator<void> >; T2 = warehouse_ros::MessageWithMetadata<geometry_msgs::Pose_<std::allocator<void> > >; bool lhs_is_null_literal = false]’
/home/dave/ros/current/ws_moveit/src/warehouse_ros_mongo/test/test_warehouse_ros_mongo.cpp:119:3: required from here
/home/dave/ros/current/ws_moveit/src/warehouse_ros_mongo/test/test_mongo_helpers.h:66:44: error: ‘const struct warehouse_ros::MessageWithMetadata<geometry_msgs::Pose_<std::allocator<void> > >’ has no member named ‘metadata’
str << "\nMetadata: " << downcastMetadata(s.metadata).toString();
^
/home/dave/ros/current/ws_moveit/src/warehouse_ros_mongo/test/test_mongo_helpers.h:66:44: error: ‘downcastMetadata’ was not declared in this scope
make[3]: *** [CMakeFiles/test_warehouse_ros_mongo_cpp.dir/test/test_warehouse_ros_mongo.cpp.o] Error 1
make[2]: *** [CMakeFiles/test_warehouse_ros_mongo_cpp.dir/all] Error 2
make[1]: *** [CMakeFiles/tests.dir/rule] Error 2
make: *** [tests] Error 2
cd /home/dave/ros/current/ws_moveit/build_release/warehouse_ros_mongo; catkin build --get-env warehouse_ros_mongo | catkin env -si /usr/bin/make tests --jobserver-fds=6,7 -j; cd -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment