ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

So the problem was that I was using a classic C "library", which was upsetting the C++ compiler.

After changing my searches a bit, I discovered this fact and the remedy is actually quite straight forward...

extern "C" 
{
  #include "myheader.h"
}

Apparently C and C++ is treated differently and the compiler needs to be told this explicitly.