Integrating external libraries

From Wiki for iCub and Friends
Revision as of 15:22, 20 July 2006 by Paulfitz (talk | contribs) (OpenCV)
Jump to: navigation, search

Notes on integrating external libraries in a CMake project.

OpenCV

Eric has commited a "FindOpenCV.cmake" script in:

 iCub/src/vvv/emislive/CMakeModules

If you include opencv and yarp/sig header files in the same file, make sure you put the following line at the top of your program:

 #define YARP_CVTYPES_H_

This will prevent YARP's local copy of the IPL types conflicting with OpenCV. The two are the same.

ImageMagick++

see example in YARP source code, example/imagemagick