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

Revision history [back]

Wow, that was a wild one ;-)

The LSD library is ANSI C. So when you compile this you have to tell the linker to link in a C library. I did a bit of googling and here is what worked for me (actually, pretty simple). But whether this is the best or correct way, I cannot say. Wrap the include statement of the lsd header in an extern "C" call.

extern "C" {
#include <lsd.h>
}

Hope this works.