ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
The problem was in linking a C library into a C++ program.
The solution was to wrap ccv.h into ccv.hpp which looks as follows
extern "C"
{
#include "ccv.h"
}
(add include guard as you like)
Then, I included ccv.hpp in the sources.
If you want to know more, google name mangling
.
And second, use find_package command to load the jpeg and png libraries.