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?<br>
<br>Aquí tienes el fallo<br><br>[ 79%] Building CXX object ../../../libs/colorspaces/CMakeFiles/colorspacesmm.dir/imagecv.cpp.o<br>/home/jguillen/jderobot/trunk/src/libs/colorspaces/imagecv.cpp:5:39: error: opencv2/highgui/highgui.hpp: No existe el fichero o el directorio<br>
/home/jguillen/jderobot/trunk/src/libs/colorspaces/imagecv.cpp: In static member function ‘static colorspaces::ImageRGB8 colorspaces::ImageRGB8::read(const std::string&)’:<br>/home/jguillen/jderobot/trunk/src/libs/colorspaces/imagecv.cpp:92: error: ‘imread’ is not a member of ‘cv’<br>
/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> >&)’:<br>/home/jguillen/jderobot/trunk/src/libs/colorspaces/imagecv.cpp:100: error: ‘imwrite’ is not a member of ‘cv’<br>
/home/jguillen/jderobot/trunk/src/libs/colorspaces/imagecv.cpp: In static member function ‘static colorspaces::ImageGRAY8 colorspaces::ImageGRAY8::read(const std::string&)’:<br>/home/jguillen/jderobot/trunk/src/libs/colorspaces/imagecv.cpp:257: error: ‘imread’ is not a member of ‘cv’<br>
/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> >&)’:<br>/home/jguillen/jderobot/trunk/src/libs/colorspaces/imagecv.cpp:261: error: ‘imwrite’ is not a member of ‘cv’<br>
make[2]: *** [../../../libs/colorspaces/CMakeFiles/colorspacesmm.dir/imagecv.cpp.o] Error 1<br>make[1]: *** [../../../libs/colorspaces/CMakeFiles/colorspacesmm.dir/all] Error 2<br>make: *** [all] Error 2<br><br>