Difference between revisions of "Integrating external libraries"

From Wiki for iCub and Friends
Jump to: navigation, search
(OpenCV)
Line 5: Line 5:
 
=== OpenCV ===
 
=== OpenCV ===
  
Waiting for notes from Eric...
+
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++ ===
 
=== ImageMagick++ ===
  
 
see example in YARP source code, example/imagemagick
 
see example in YARP source code, example/imagemagick

Revision as of 15:22, 20 July 2006

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