Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

win_ros LNK2019 error

Hey, I need to use ROS on a windows pc, so I started the tutorial for win_ros. The ros functions are working properly i can run roscore and the precompiled talkerand listener examples. However, following this tutorial, it should be possbile to write code directly in VisualStudio. When I build the talker example there i get a LNK2019 error

unresolved external symbol ""__declspec(dllimport) public: __thiscall ros::SerializedMessage::SerializedMessage(class ros::SerializedMessage &&)" (__imp_??0SerializedMessage@ros@@QAE@$$QAV01@@Z)" in Funktion ""public: class ros::SerializedMessage __thiscall boost::_bi::list1<class boost::reference_wrapper...<="" p="">

The problem only when i use the publish() method. Other ROS-related parts like the advertise or spinOnce() are causing no problems. Can anyone help me?

win_ros LNK2019 error

Hey, I need to use ROS on a windows pc, so I started the tutorial for win_ros. The ros functions are working properly i can run roscore and the precompiled talkerand listener examples. However, following this tutorial, it should be possbile to write code directly in VisualStudio. When I build the talker example there i get a LNK2019 error

unresolved

*unresolved external symbol symbol* ""__declspec(dllimport) public: __thiscall ros::SerializedMessage::SerializedMessage(class ros::SerializedMessage &&)" (__imp_??0SerializedMessage@ros@@QAE@$$QAV01@@Z)" in Funktion ""public: class ros::SerializedMessage __thiscall boost::_bi::list1<class boost::reference_wrapper...<="" p="">
boost::reference_wrapper...

The problem only when i use the publish() method. Other ROS-related parts like the advertise or spinOnce() are causing no problems. Can anyone help me? me?