[Jderobot-dev] Mejoras en CMake

Julio Guillén julio.guillen en gmail.com
Lun Jun 4 15:10:00 CEST 2012


¿Te obliga a tener OpenCv 2.3.1 para poder hacer el make correctamente? Al
compilar el componente RECORDER me da el error que os pongo al final. Yo
tengo OpenCv 2.0 instalado desde el paquete deb de jderobot.

El fallo obtenido es el siguiente:

[ 80%] Building CXX object
../../../libs/colorspaces/CMakeFiles/colorspacesmm.dir/imagecv.cpp.o
/home/jguillen/jderobot/trunk/src/libs/colorspaces/imagecv.cpp:5:39: error:
opencv2/highgui/highgui.hpp: No existe el fichero o el directorio
/home/jguillen/jderobot/trunk/src/libs/colorspaces/imagecv.cpp: In static
member function ‘static colorspaces::ImageRGB8
colorspaces::ImageRGB8::read(const std::string&)’:
/home/jguillen/jderobot/trunk/src/libs/colorspaces/imagecv.cpp:92: error:
‘imread’ is not a member of ‘cv’
/home/jguillen/jderobot/trunk/src/libs/colorspaces/imagecv.cpp: In member
function ‘bool colorspaces::ImageRGB8::write(const std::string&, const
std::vector<int, std::allocator<int> >&)’:
/home/jguillen/jderobot/trunk/src/libs/colorspaces/imagecv.cpp:100: error:
‘imwrite’ is not a member of ‘cv’
/home/jguillen/jderobot/trunk/src/libs/colorspaces/imagecv.cpp: In static
member function ‘static colorspaces::ImageGRAY8
colorspaces::ImageGRAY8::read(const std::string&)’:
/home/jguillen/jderobot/trunk/src/libs/colorspaces/imagecv.cpp:257: error:
‘imread’ is not a member of ‘cv’
/home/jguillen/jderobot/trunk/src/libs/colorspaces/imagecv.cpp: In member
function ‘bool colorspaces::ImageGRAY8::write(const std::string&, const
std::vector<int, std::allocator<int> >&)’:
/home/jguillen/jderobot/trunk/src/libs/colorspaces/imagecv.cpp:261: error:
‘imwrite’ is not a member of ‘cv’
make[2]: ***
[../../../libs/colorspaces/CMakeFiles/colorspacesmm.dir/imagecv.cpp.o]
Error 1
make[1]: *** [../../../libs/colorspaces/CMakeFiles/colorspacesmm.dir/all]
Error 2
make: *** [all] Error 2
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://gsyc.escet.urjc.es/pipermail/jde-developers/attachments/20120604/2a1a7def/attachment.htm 


More information about the Jde-developers mailing list