<div dir="ltr">Hola a todos,<div><br></div><div>Me he leído el primer mensaje y disculpad que no conteste punto por punto debido a las horas, mañana por la mañana lo hago si hiciera falta, pero solo un apunte (y no va solo por Óscar, sino por cualquier usuario):</div>
<div><br></div><div>Para poder compilar jderobot por componentes tenéis que meteros en el directorio build de cada componente y allí ejecutar:</div><div><br></div><div style>cmake .</div><div style><br></div><div style>De esa forma, cmake será capaz de compilar solamente ese componente. Por otra parte, tratad de instalar todas las librerías con la versión más avanzada que aparezca en el manual para que dé el menor número de fallos posible. En este caso en concreto, instalad la versión 2.3.1 de OpenCV.</div>
<div style><br></div><div style>Un saludo,</div><div style><br></div><div style>Borja.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/1/9 redouane kachach <span dir="ltr">&lt;<a href="mailto:redo.robot@gmail.com" target="_blank">redo.robot@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="im"><span style="font-family:arial,sans-serif;font-size:12.727272033691406px">Hola lista,</span><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">

Me ha salido el mismo error que Oscar. En mi maquina tengo instalada la versión 2.1 de OpenCV (libcv2.1, libcv-dev). Como no tengo ni idea de cmake lo que hice es:</div></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">


<ol><li style="margin-left:15px">Bajar el fichero FindOpenCV.cmake (adjunto el fichero) que segun entiendo se encarga de poner las variables para las libs y includes de opencv y copiarlo a <b>/usr/share/cmake-2.8/Modules/</b></li>


<li style="margin-left:15px">Substituir el contenido del fichero <b>Deps/opencv/CMakeLists.txt </b>con lo siguiente:</li></ol><div class="im"><div><div><font color="#0000ff">cmake_minimum_required(VERSION 2.8)</font></div>
<div><font color="#0000ff">FIND_PACKAGE( OpenCV REQUIRED )</font></div>

</div></div></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">Con esto ya encuentra bien OpenCV y pone bien las variables <b>OpenCV_LIBRARIES </b>y <b>OpenCV_INCLUDE_DIRS  </b>.. </div>


<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><b><br></b></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">Lo dicho, al no tener ni idea de cmake hice este apaño que no sé si esta bien o mal pero me ha funcionado. Por favor, que los expertos de cmake en la lista comentan sobre esto para saber si esta bien o mal .. y si esta bien porque ahora mismo no lo hacemos de esta manera. </div>


<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">Ya que estoy voy a comentar más cambios que tuve que introducir para compilar mi componente (no suelo compilar todo, solo compilo el cameraserver)</div>


<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><b>#1 En el fichero: src/libs/progeo/CMakeLists.txt</b></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">


<b><br></b></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">Al parecer esta  lib depende libxml, pero ahora mismo en su cmakelists.txt no esta la dep asi que tuve que añadir lo siguiente en este fichero:</div>


<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><div><font color="#0000ff">INCLUDE(FindPkgConfig)</font></div><div>


<font color="#0000ff">PKG_CHECK_MODULES(xml2 libxml-2.0)</font></div><div><font color="#0000ff">include_directories(${xml2_INCLUDE_DIRS})</font></div><div><font color="#0000ff">link_directories(${xml2_LIBRARY_DIRS})</font></div>


</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><b>#2 En el fichero: src/libs/colorspaces/CMakeLists.txt</b></div>


<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><b><br></b></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">Esta lib depende de OpenCV, en azul las lineas que he añadido para que coja bien la dependencia:</div>


<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><b><br></b></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">....<b><br></b></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">


<div><font color="#0000ff">FIND_PACKAGE( OpenCV REQUIRED )</font></div><div><br></div><div>add_library (colorspacesmm STATIC imagecv.cpp imagecv.h uncopyable.h)</div><div><br></div><div><font color="#0000ff">INCLUDE_DIRECTORIES(${OpenCV_INCLUDE_DIRS})</font></div>


<div>TARGET_LINK_LIBRARIES(colorspacesmm ${OpenCV_LIBRARIES})</div><div><br></div><div>add_library (colorspaces STATIC rgb2hsv.c rgb2yuv.c colorspaces.h colorspacesmm.h)</div></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">


....</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><b>#3 En el fichero: src/libs/bgfgsegmentation/CMakeLists.txt</b></div>


<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><b><br></b></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">Esta lib depende de gearbox, pero falta la dependencia, asi que tuve que añadir las siguientes lineas:</div>


<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><b><br></b></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><div><font color="#0000ff">SET( DEPS_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../../Deps) # Directorio donde se encuentran las dependencias</font></div>


<div><font color="#0000ff">include(${DEPS_DIR}/gearbox/CMakeLists.txt)</font></div></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">


<br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">Como ya he dicho antes, tuve que introducir estos cambios para poder compilar el <b>cameraserver </b>.. no tengo ni idea si es lo correcto ya que mis conocimiento de cmake son muy básicos. Asi que por favor, comentad sobre los cambios para ver si es la manera correcta de proceder o hay otra forma mejor .. o que básicamente me ha faltado algún  paso.</div>


<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">Muchas gracias,</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">


Redo.</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 9, 2013 at 7:45 PM, Oscar Garcia <span dir="ltr">&lt;<a href="mailto:oscar.robotica@linaresdigital.com" target="_blank">oscar.robotica@linaresdigital.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hola de nuevo,<br>
<br>
Por otro lado en un intento desesperado de intentar compilar en Ubuntu<br>
10.04 desde el svn me aparece lo siguiente (más abajo intento compilar<br>
sólo un componente):<br>
<br>
redstar@greystar:~/Descargas/jderobot/trunk$ cmake .<br>
-- The C compiler identification is GNU<br>
-- The CXX compiler identification is GNU<br>
-- Check for working C compiler: /usr/bin/gcc<br>
-- Check for working C compiler: /usr/bin/gcc -- works<br>
-- Detecting C compiler ABI info<br>
-- Detecting C compiler ABI info - done<br>
-- Check for working CXX compiler: /usr/bin/c++<br>
-- Check for working CXX compiler: /usr/bin/c++ -- works<br>
-- Detecting CXX compiler ABI info<br>
-- Detecting CXX compiler ABI info - done<br>
-- checking for module &#39;opencv&#39;<br>
-- found opencv, version 2.0.0<br>
<br>
/usr/include/opencv<br>
-- checking for module &#39;gtk+-2.0&#39;<br>
-- found gtk+-2.0, version 2.20.1<br>
-- checking for module &#39;gtkgl-2.0&#39;<br>
-- found gtkgl-2.0, version 2.0.1<br>
-- checking for module &#39;gtkmm-2.4&#39;<br>
-- found gtkmm-2.4, version 2.20.3<br>
-- checking for module &#39;libglademm-2.4&#39;<br>
-- found libglademm-2.4, version 2.6.7<br>
-- checking for module &#39;gthread-2.0&#39;<br>
-- found gthread-2.0, version 2.24.1<br>
-- checking for module &#39;libgnomecanvas-2.0&#39;<br>
-- found libgnomecanvas-2.0, version 2.30.1<br>
-- checking for module &#39;libgnomecanvasmm-2.6&#39;<br>
-- found libgnomecanvasmm-2.6, version 2.26.0<br>
-- checking for module &#39;gtkglextmm-1.2&#39;<br>
-- found gtkglextmm-1.2, version 1.2.0<br>
-- checking for module &#39;gsl&#39;<br>
-- found gsl, version 1.13<br>
*** Gearbox not found<br>
*** Fireware ok<br>
PCL LIBRARY FOUND IN<br>
*** PCL libraries not found. Are needed to KinectServer component<br>
*** OpenNi libraries not found. Are needed to openniServer component<br>
NI:ni_INCLUDE_DIR-NOTFOUND<br>
NITE:nite_INCLUDE_DIR-NOTFOUND<br>
*** Nite libraries: XnVNite or XnVCNITE not found<br>
*** Player libraries not found. Are needed to PlayerServer component<br>
*** *** Xerces libraries: libxerces-c not found<br>
*** ICE ok<br>
-- checking for module &#39;cwiid&#39;<br>
-- found cwiid, version 0.6.00<br>
*** CWIID LIBRARIES FOUND<br>
*** OpenCV ok<br>
*** Creating CPP interfaces<br>
CMake Error: The following variables are used in this project, but they<br>
are set to NOTFOUND.<br>
Please set them or make sure they are set and tested correctly in the<br>
CMake files:<br>
OpenCV_LIBRARY1<br>
linked by target &quot;colorspaces&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;colorspacesmm&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;colorspacesmmshare&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;colorspacesshare&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;introrob&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/components/introrob<br>
OpenCV_LIBRARY11<br>
linked by target &quot;colorspaces&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;colorspacesmm&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;colorspacesmmshare&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;colorspacesshare&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;introrob&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/components/introrob<br>
OpenCV_LIBRARY13<br>
linked by target &quot;colorspaces&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;colorspacesmm&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;colorspacesmmshare&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;colorspacesshare&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;introrob&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/components/introrob<br>
OpenCV_LIBRARY14<br>
linked by target &quot;colorspaces&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;colorspacesmm&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;colorspacesmmshare&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;colorspacesshare&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;introrob&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/components/introrob<br>
OpenCV_LIBRARY2<br>
linked by target &quot;colorspaces&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;colorspacesmm&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;colorspacesmmshare&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;colorspacesshare&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;introrob&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/components/introrob<br>
OpenCV_LIBRARY3<br>
linked by target &quot;colorspaces&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;colorspacesmm&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;colorspacesmmshare&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;colorspacesshare&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;introrob&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/components/introrob<br>
OpenCV_LIBRARY4<br>
linked by target &quot;colorspaces&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;colorspacesmm&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;colorspacesmmshare&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;colorspacesshare&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;introrob&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/components/introrob<br>
OpenCV_LIBRARY5<br>
linked by target &quot;colorspaces&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;colorspacesmm&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;colorspacesmmshare&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;colorspacesshare&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;introrob&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/components/introrob<br>
OpenCV_LIBRARY6<br>
linked by target &quot;colorspaces&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;colorspacesmm&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;colorspacesmmshare&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;colorspacesshare&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;introrob&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/components/introrob<br>
OpenCV_LIBRARY7<br>
linked by target &quot;colorspaces&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;colorspacesmm&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;colorspacesmmshare&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;colorspacesshare&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;introrob&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/components/introrob<br>
OpenCV_LIBRARY8<br>
linked by target &quot;colorspaces&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;colorspacesmm&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;colorspacesmmshare&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;colorspacesshare&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;introrob&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/components/introrob<br>
OpenCV_LIBRARY9<br>
linked by target &quot;colorspaces&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;colorspacesmm&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;colorspacesmmshare&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;colorspacesshare&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces<br>
linked by target &quot;introrob&quot; in directory<br>
/home/redstar/Descargas/jderobot/trunk/src/components/introrob<br>
<br>
-- Configuring incomplete, errors occurred!<br>
<br>
<br>
Si intento compilar sólo un componente, cameraserver:<br>
<br>
edstar@greystar:~/Descargas/jderobot/trunk/src/components/cameraview$<br>
cmake .<br>
-- The C compiler identification is GNU<br>
-- The CXX compiler identification is GNU<br>
-- Check for working C compiler: /usr/bin/gcc<br>
-- Check for working C compiler: /usr/bin/gcc -- works<br>
-- Detecting C compiler ABI info<br>
-- Detecting C compiler ABI info - done<br>
-- Check for working CXX compiler: /usr/bin/c++<br>
-- Check for working CXX compiler: /usr/bin/c++ -- works<br>
-- Detecting CXX compiler ABI info<br>
-- Detecting CXX compiler ABI info - done<br>
CMake Warning (dev) at CMakeLists.txt:3 (add_definitions):<br>
Policy CMP0005 is not set: Preprocessor definition values are now escaped<br>
automatically. Run &quot;cmake --help-policy CMP0005&quot; for policy details. Use<br>
the cmake_policy command to set the policy and suppress this warning.<br>
This warning is for project developers. Use -Wno-dev to suppress it.<br>
<br>
CMake Warning (dev) in CMakeLists.txt:<br>
No cmake_minimum_required command is present. A line of code such as<br>
<br>
cmake_minimum_required(VERSION 2.8)<br>
<br>
should be added at the top of the file. The version specified may be lower<br>
if you wish to support older CMake versions for this project. For more<br>
information run &quot;cmake --help-policy CMP0000&quot;.<br>
This warning is for project developers. Use -Wno-dev to suppress it.<br>
<br>
-- Configuring done<br>
-- Generating done<br>
-- Build files have been written to:<br>
/home/redstar/Descargas/jderobot/trunk/src/components/cameraview<br>
redstar@greystar:~/Descargas/jderobot/trunk/src/components/cameraview$ make<br>
Scanning dependencies of target cameraview<br>
[ 50%] Building CXX object CMakeFiles/cameraview.dir/cameraview.o<br>
/home/redstar/Descargas/jderobot/trunk/src/components/cameraview/cameraview.cpp:25:29:<br>
error: jderobot/camera.h: No existe el fichero o el directorio<br>
/home/redstar/Descargas/jderobot/trunk/src/components/cameraview/cameraview.cpp:26:39:<br>
error: colorspaces/colorspacesmm.h: No existe el fichero o el directorio<br>
In file included from<br>
/home/redstar/Descargas/jderobot/trunk/src/components/cameraview/cameraview.cpp:27:<br>
/home/redstar/Descargas/jderobot/trunk/src/components/cameraview/viewer.h:25:19:<br>
error: gtkmm.h: No existe el fichero o el directorio<br>
/home/redstar/Descargas/jderobot/trunk/src/components/cameraview/viewer.h:26:24:<br>
error: libglademm.h: No existe el fichero o el directorio<br>
In file included from<br>
/home/redstar/Descargas/jderobot/trunk/src/components/cameraview/cameraview.cpp:27:<br>
/home/redstar/Descargas/jderobot/trunk/src/components/cameraview/viewer.h:43:<br>
error: ISO C++ forbids declaration of ‘colorspaces’ with no type<br>
/home/redstar/Descargas/jderobot/trunk/src/components/cameraview/viewer.h:43:<br>
error: expected ‘,’ or ‘...’ before ‘::’ token<br>
/home/redstar/Descargas/jderobot/trunk/src/components/cameraview/viewer.h:46:<br>
error: ‘Glib’ has not been declared<br>
/home/redstar/Descargas/jderobot/trunk/src/components/cameraview/viewer.h:46:<br>
error: ISO C++ forbids declaration of ‘RefPtr’ with no type<br>
/home/redstar/Descargas/jderobot/trunk/src/components/cameraview/viewer.h:46:<br>
error: expected ‘;’ before ‘&lt;’ token<br>
/home/redstar/Descargas/jderobot/trunk/src/components/cameraview/viewer.h:47:<br>
error: ‘Gtk’ has not been declared<br>
/home/redstar/Descargas/jderobot/trunk/src/components/cameraview/viewer.h:47:<br>
error: ISO C++ forbids declaration of ‘Image’ with no type<br>
/home/redstar/Descargas/jderobot/trunk/src/components/cameraview/viewer.h:47:<br>
error: expected ‘;’ before ‘*’ token<br>
/home/redstar/Descargas/jderobot/trunk/src/components/cameraview/viewer.h:48:<br>
error: ‘Gtk’ has not been declared<br>
/home/redstar/Descargas/jderobot/trunk/src/components/cameraview/viewer.h:48:<br>
error: ISO C++ forbids declaration of ‘Window’ with no type<br>
/home/redstar/Descargas/jderobot/trunk/src/components/cameraview/viewer.h:48:<br>
error: expected ‘;’ before ‘*’ token<br>
/home/redstar/Descargas/jderobot/trunk/src/components/cameraview/viewer.h:49:<br>
error: ‘Gtk’ has not been declared<br>
/home/redstar/Descargas/jderobot/trunk/src/components/cameraview/viewer.h:49:<br>
error: ISO C++ forbids declaration of ‘Label’ with no type<br>
/home/redstar/Descargas/jderobot/trunk/src/components/cameraview/viewer.h:49:<br>
error: expected ‘;’ before ‘*’ token<br>
/home/redstar/Descargas/jderobot/trunk/src/components/cameraview/viewer.h:50:<br>
error: ‘Gtk’ has not been declared<br>
/home/redstar/Descargas/jderobot/trunk/src/components/cameraview/viewer.h:50:<br>
error: ISO C++ forbids declaration of ‘Main’ with no type<br>
/home/redstar/Descargas/jderobot/trunk/src/components/cameraview/viewer.h:50:<br>
error: expected ‘;’ before ‘gtkmain’<br>
/home/redstar/Descargas/jderobot/trunk/src/components/cameraview/cameraview.cpp:<br>
In function ‘int main(int, char**)’:<br>
/home/redstar/Descargas/jderobot/trunk/src/components/cameraview/cameraview.cpp:42:<br>
error: ‘jderobot’ has not been declared<br>
/home/redstar/Descargas/jderobot/trunk/src/components/cameraview/cameraview.cpp:42:<br>
error: expected ‘;’ before ‘cprx’<br>
/home/redstar/Descargas/jderobot/trunk/src/components/cameraview/cameraview.cpp:43:<br>
error: ‘cprx’ was not declared in this scope<br>
/home/redstar/Descargas/jderobot/trunk/src/components/cameraview/cameraview.cpp:47:<br>
error: ‘jderobot’ has not been declared<br>
/home/redstar/Descargas/jderobot/trunk/src/components/cameraview/cameraview.cpp:47:<br>
error: expected ‘;’ before ‘data’<br>
/home/redstar/Descargas/jderobot/trunk/src/components/cameraview/cameraview.cpp:48:<br>
error: ‘colorspaces’ has not been declared<br>
/home/redstar/Descargas/jderobot/trunk/src/components/cameraview/cameraview.cpp:48:<br>
error: expected ‘;’ before ‘fmt’<br>
/home/redstar/Descargas/jderobot/trunk/src/components/cameraview/cameraview.cpp:49:<br>
error: ‘fmt’ was not declared in this scope<br>
/home/redstar/Descargas/jderobot/trunk/src/components/cameraview/cameraview.cpp:52:<br>
error: ‘colorspaces’ has not been declared<br>
/home/redstar/Descargas/jderobot/trunk/src/components/cameraview/cameraview.cpp:52:<br>
error: expected ‘;’ before ‘image’<br>
/home/redstar/Descargas/jderobot/trunk/src/components/cameraview/cameraview.cpp:56:<br>
error: ‘image’ was not declared in this scope<br>
make[2]: *** [CMakeFiles/cameraview.dir/cameraview.o] Error 1<br>
make[1]: *** [CMakeFiles/cameraview.dir/all] Error 2<br>
make: *** [all] Error 2<br>
redstar@greystar:~/Descargas/jderobot/trunk/src/components/cameraview$<br>
sudo apt-get install libglademm-2.4-dev<br>
[sudo] password for redstar:<br>
Leyendo lista de paquetes... Hecho<br>
Creando árbol de dependencias<br>
Leyendo la información de estado... Hecho<br>
libglademm-2.4-dev ya está en su versión más reciente.<br>
<br>
<br>
¿Qué estoy haciendo mal? Creo que tengo todas las dependencias<br>
necesarias (e incluso más). También tengo instalado gearbox aunque cmake<br>
insiste en decir que no.<br>
<br>
Por otro lado creo que está todo preparado para una versión moderna de<br>
OpenCV, aunque tengo libhighgui-dev instalado no me compilan algunas<br>
librerías:<br>
redstar@greystar:~/Descargas/jderobot/trunk/src/libs/colorspaces$ make<br>
[ 33%] Built target colorspaces<br>
[ 50%] Building CXX object CMakeFiles/colorspacesmm.dir/imagecv.o<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces/imagecv.cpp:5:39:<br>
error: opencv2/highgui/highgui.hpp: No existe el fichero o el directorio<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces/imagecv.cpp:<br>
In static member function ‘static colorspaces::ImageRGB8<br>
colorspaces::ImageRGB8::read(const std::string&amp;)’:<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces/imagecv.cpp:92:<br>
error: ‘imread’ is not a member of ‘cv’<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces/imagecv.cpp:<br>
In member function ‘bool colorspaces::ImageRGB8::write(const<br>
std::string&amp;, const std::vector&lt;int, std::allocator&lt;int&gt; &gt;&amp;)’:<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces/imagecv.cpp:100:<br>
error: ‘imwrite’ is not a member of ‘cv’<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces/imagecv.cpp:<br>
In static member function ‘static colorspaces::ImageGRAY8<br>
colorspaces::ImageGRAY8::read(const std::string&amp;)’:<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces/imagecv.cpp:257:<br>
error: ‘imread’ is not a member of ‘cv’<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces/imagecv.cpp:<br>
In member function ‘bool colorspaces::ImageGRAY8::write(const<br>
std::string&amp;, const std::vector&lt;int, std::allocator&lt;int&gt; &gt;&amp;)’:<br>
/home/redstar/Descargas/jderobot/trunk/src/libs/colorspaces/imagecv.cpp:261:<br>
error: ‘imwrite’ is not a member of ‘cv’<br>
make[2]: *** [CMakeFiles/colorspacesmm.dir/imagecv.o] Error 1<br>
make[1]: *** [CMakeFiles/colorspacesmm.dir/all] Error 2<br>
make: *** [all] Error 2<br>
<br>
En definitiva, creo que todo apunta a que la versión de OpenCV que viene<br>
con Ubuntu 10.04 nbo es compatible con la versión actual de jderobot.<br>
¿Estoy en lo cierto? ¿Se abandona Ubuntu 10.04 como plataforma soportada<br>
debido a las dependencias?<br>
<br>
Si es así querría saberlo para volver a reinstalar, pero en 12.04.<br>
<br>
Gracias a todos.<br>
_______________________________________________<br>
Jde-developers mailing list<br>
<a href="mailto:Jde-developers@gsyc.es" target="_blank">Jde-developers@gsyc.es</a><br>
<a href="http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers" target="_blank">http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers</a><br>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Jde-developers mailing list<br>
<a href="mailto:Jde-developers@gsyc.es">Jde-developers@gsyc.es</a><br>
<a href="http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers" target="_blank">http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers</a><br>
<br></blockquote></div><br></div>