Error during installation on Raspberry Pi with ROS Kinetic due to YAML

asked 2020-01-22 11:47:29 -0500

antoninovara gravatar image

updated 2020-01-22 15:21:26 -0500

Hello everybody!

I'm installing ROS Kinetic on Raspberry Pi 3 b+ following this tutorial. http://wiki.ros.org/ROSberryPi/Instal...

My software version of Raspbian is this. https://photos.app.goo.gl/PDkqA5t4tih...

When I try to install "map_server" I get this error.

/usr/include/yaml-cpp/node/detail/node.h:113:39: error: ‘shared_memory_holder’ has not been declared
   void insert(node& key, node& value, shared_memory_holder pMemory) {
                                       ^
/usr/include/yaml-cpp/node/detail/node.h:121:29: error: ‘shared_memory_holder’ has not been declared
   node* get(const Key& key, shared_memory_holder pMemory) const {
                             ^
/usr/include/yaml-cpp/node/detail/node.h:128:29: error: ‘shared_memory_holder’ has not been declared
   node& get(const Key& key, shared_memory_holder pMemory) {
                             ^
/usr/include/yaml-cpp/node/detail/node.h:134:31: error: ‘shared_memory_holder’ has not been declared
   bool remove(const Key& key, shared_memory_holder pMemory) {
                               ^
/usr/include/yaml-cpp/node/detail/node.h:138:24: error: ‘shared_memory_holder’ has not been declared
   node* get(node& key, shared_memory_holder pMemory) const {
                        ^
/usr/include/yaml-cpp/node/detail/node.h:144:24: error: ‘shared_memory_holder’ has not been declared
   node& get(node& key, shared_memory_holder pMemory) {
                        ^
/usr/include/yaml-cpp/node/detail/node.h:150:26: error: ‘shared_memory_holder’ has not been declared
   bool remove(node& key, shared_memory_holder pMemory) {
                          ^
/usr/include/yaml-cpp/node/detail/node.h:157:21: error: ‘shared_memory_holder’ has not been declared
                     shared_memory_holder pMemory) {
                     ^
/usr/include/yaml-cpp/node/detail/node.h:162:3: error: ‘shared_node_ref’ does not name a type
   shared_node_ref m_pRef;
   ^
/usr/include/yaml-cpp/node/detail/node.h: In constructor ‘YAML::detail::node::node()’:
/usr/include/yaml-cpp/node/detail/node.h:21:12: error: class ‘YAML::detail::node’ does not have any field named ‘m_pRef’
   node() : m_pRef(new node_ref) {}
            ^
/usr/include/yaml-cpp/node/detail/node.h: In member function ‘bool YAML::detail::node::is(const YAML::detail::node&) const’:
/usr/include/yaml-cpp/node/detail/node.h:25:43: error: ‘m_pRef’ was not declared in this scope
   bool is(const node& rhs) const { return m_pRef == rhs.m_pRef; }
                                           ^
/usr/include/yaml-cpp/node/detail/node.h:25:57: error: ‘const class YAML::detail::node’ has no member named ‘m_pRef’
   bool is(const node& rhs) const { return m_pRef == rhs.m_pRef; }
                                                         ^
/usr/include/yaml-cpp/node/detail/node.h: In member function ‘const YAML::detail::node_ref* YAML::detail::node::ref() const’:
/usr/include/yaml-cpp/node/detail/node.h:26:40: error: ‘m_pRef’ was not declared in this scope
   const node_ref* ref() const { return m_pRef.get(); }
                                        ^
/usr/include/yaml-cpp/node/detail/node.h: In member function ‘bool YAML::detail::node::is_defined() const’:
/usr/include/yaml-cpp/node/detail/node.h:28:36: error: ‘m_pRef’ was not declared in this scope
   bool is_defined() const { return m_pRef->is_defined(); }
                                    ^
/usr/include/yaml-cpp/node/detail/node.h: In member function ‘const YAML::Mark& YAML::detail::node::mark() const’:
/usr/include/yaml-cpp/node/detail/node.h:29:37: error: ‘m_pRef’ was not declared in this scope
   const Mark& mark() const { return m_pRef->mark(); }
                                     ^
/usr/include/yaml-cpp/node/detail/node.h: In member function ‘YAML::NodeType::value YAML::detail::node::type() const’:
/usr/include/yaml-cpp/node/detail/node.h:30:41: error: ‘m_pRef’ was ...
(more)
edit retag flag offensive close merge delete

Comments

Please do not post screenshots of terminals. It's unnecessary, because it's all text. If/when you delete those screenshots from your Google account, your question will be completely useless, as it just links to some non-existent pictures.

The Support guidelines are pretty clear about not posting screenshots of terminals or code.

If you could copy-paste the errors into your question, and remove the links to screenshots, we could re-open.

Use the edit button/link to update your question text.

gvdhoorn gravatar image gvdhoorn  ( 2020-01-22 13:31:46 -0500 )edit