[Jderobot-dev] versión antigua de JDErobot 5.0 para OpenCv 2.0

Alejandro Hernández ahcorde en gmail.com
Lun Jul 2 11:46:26 CEST 2012


Hola Julio

insisto en el comentario que te hice anteriormente, estas intentando coger
las librerias con las cabeceras que hay para C++ que en la versión 2.0 no
están disponibles. La siguiente linea te da el error.

/home/jguillen/jderobot/trunk/src/libs/colorspaces/imagecv.cpp:5:39: error:
opencv2/highgui/highgui.hpp: No existe el fichero o el directorio

Si cambias las cabeceras por las que te puse antes creo recordar que  no
tendrías que hacer ningún cambio.

El 1 de julio de 2012 18:40, Julio Guillén <julio.guillen en gmail.com>escribió:

> Fallo mio. Lo da al hacer make y si que es por OpenCv. No se por qué he
> pensado por un momento que no era de OpenCv. Pero en CAMERASERVER no usa
> nada de dicha librería y por eso me habré liado. Supongo que cambio lo que
> me has dicho antes y ya debería funcionar, ¿correcto?
>
> Aquí tienes el fallo
>
> [ 79%] 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/20120702/3bbefa53/attachment.htm 


More information about the Jde-developers mailing list