[Jderobot] [Jderobot-dev] problema instalando cameraserver
franciscomiguel.rivas en urjc.es
franciscomiguel.rivas en urjc.es
Mar Jul 16 14:43:20 CEST 2013
Buenas,
el componente cameraserver ya no tiene dependencias de jderobotice, en
estos d�as he estado tocando algunas cosas. Actualiza tu copia de
jderobot (svn update desde el trunk) ejecuta el ./clean_repository
tambi�n desde el trunk y vuelve a intentar compilarlo desde la carpeta
build de cameraserver.
cd build
cmake .
make
no deber�as tener mayor problema.
Un saludo,
Fran.
"ILDEFONSO GONZALEZ SANCHEZ" <i.gonzalezsan en alumnos.urjc.es> escribi�:
> Hola Alejandro,
>
> muchas gracias por la ayuda pero te comento:
> -El tema de opencv ya esta , el problema es que no lo hab�a
> instalado bien, por lo que comeraview ya esta instalado.
> -Por otro lado cameraserver me esta dando mas problemas.
> si hago lo de buscar los archivos .h:
> me aparecen solo unos .h para naoserver
> root en fonsi-Lenovo-G580:/var/www/pfc/jderobot/trunk/src/components/cameraserver/build# locate /src/interfaces/cpp/jderobot | grep pfc |grep
> .h
> /var/www/pfc/jderobot/trunk/src/components/naoserver/src/interfaces/cpp/jderobot/camera.h
> /var/www/pfc/jderobot/trunk/src/components/naoserver/src/interfaces/cpp/jderobot/common.h
> /var/www/pfc/jderobot/trunk/src/components/naoserver/src/interfaces/cpp/jderobot/containers.h
> /var/www/pfc/jderobot/trunk/src/components/naoserver/src/interfaces/cpp/jderobot/datetime.h
> /var/www/pfc/jderobot/trunk/src/components/naoserver/src/interfaces/cpp/jderobot/encoders.h
> /var/www/pfc/jderobot/trunk/src/components/naoserver/src/interfaces/cpp/jderobot/exceptions.h
> /var/www/pfc/jderobot/trunk/src/components/naoserver/src/interfaces/cpp/jderobot/image.h
> /var/www/pfc/jderobot/trunk/src/components/naoserver/src/interfaces/cpp/jderobot/motors.h
> /var/www/pfc/jderobot/trunk/src/components/naoserver/src/interfaces/cpp/jderobot/pose3dencoders.h
> /var/www/pfc/jderobot/trunk/src/components/naoserver/src/interfaces/cpp/jderobot/pose3dmotors.h
>
> por lo que intente con el directorio build del componente
> cameraserver y me daba el siguiente error:
> cmake .
> make
> Scanning dependencies of target jderobotice
> [ 82%] Building CXX object
> ../../../libs/jderobotice/CMakeFiles/jderobotice.dir/component.cpp.o
> In file included from
> /var/www/svn/trunk/src/libs/jderobotice/component.cpp:24:0:
> /var/www/svn/trunk/src/libs/jderobotice/catchutils.h:104:74: error:
> el argumento por defecto de 'gbxutilacfr::SubsystemHealth newHealth'
> tiene tipo 'gbxutilacfr::SubsystemState'
> /var/www/svn/trunk/src/libs/jderobotice/catchutils.h:134:35: error:
> el argumento por defecto de 'gbxutilacfr::SubsystemHealth newHealth'
> tiene tipo 'gbxutilacfr::SubsystemState'
> make[2]: ***
> [../../../libs/jderobotice/CMakeFiles/jderobotice.dir/component.cpp.o] Error
> 1
> make[1]: ***
> [../../../libs/jderobotice/CMakeFiles/jderobotice.dir/all] Error 2
> make: *** [all] Error 2
>
> Esta fallando:
>
> /var/www/svn/trunk/src/libs/jderobotice/catchutils.h:104:74:
>
> std::string catchExceptionsWithStatus( const std::string& activity,
> gbxutilacfr::SubHealth& subHealth,
> gbxutilacfr::SubsystemHealth
> newHealth=gbxutilacfr::SubsystemFault );
>
> yo lo modifique anoche en otra version :
>
> std::string catchExceptionsWithStatus( const std::string& activity,
> gbxutilacfr::SubHealth& subHealth,
> gbxutilacfr::SubsystemHealth& newHealth,
> gbxutilacfr::SubsystemState& newState);
> Y el otro error lo mismo, pero ahora un poco mas alante ,
>
> [ 86%] Building CXX object
> ../../../libs/jderobotice/CMakeFiles/jderobotice.dir/componentthread.cpp.o
> /var/www/pfc/jderobot/trunk/src/libs/jderobotice/componentthread.cpp: En la
> funci�n miembro 'virtual void jderobotice::ComponentThread::walk()':
> /var/www/pfc/jderobot/trunk/src/libs/jderobotice/componentthread.cpp:33:22:
> error: 'class gbxutilacfr::Status' no tiene un miembro llamado
> 'infrastructureInitialising'
> /var/www/pfc/jderobot/trunk/src/libs/jderobotice/componentthread.cpp:39:22:
> error: 'class gbxutilacfr::Status' no tiene un miembro llamado
> 'infrastructureWorking'
> /var/www/pfc/jderobot/trunk/src/libs/jderobotice/componentthread.cpp:61:22:
> error: 'class gbxutilacfr::Status' no tiene un miembro llamado
> 'infrastructureFinalising'
> make[2]: ***
> [../../../libs/jderobotice/CMakeFiles/jderobotice.dir/componentthread.cpp.o]
> Error 1
> make[1]: ***
> [../../../libs/jderobotice/CMakeFiles/jderobotice.dir/all] Error 2
> make: *** [all] Error 2
>
>
> #include "componentthread.h"
> #include "catchutils.h"
> #include "exceptions.h"
> #include <iostream>
> #include <IceGrid/Registry.h>
>
> �Tengo que revisar los includes o me estoy llendo por otro camino?,
> es que mirando las he visto como subsyteminitialising, pero las he
> cambiado en el cpp y tampoco funciona.
>
> son estas lineas las que fallan :
> context.status().infrastructureInitialising();
> context.status().infrastructureWorking();
> context.status().infrastructureFinalising();
>
> un saludo, lo mismo no he seguido bien tus opciones y es mas facil,
>
> Ildefonso Gonz�lez S�nchez
>
>
>
> ________________________________
> De: Alejandro Hern�ndez [ahcorde en gmail.com]
> Enviado: lunes, 15 de julio de 2013 7:55
> Para: ILDEFONSO GONZALEZ SANCHEZ
> CC: jde-developers en gsyc.es
> Asunto: Re: [Jderobot] [Jderobot-dev] problema instalando cameraserver
>
> Hola fonsi,
>
> parece que hay un problema en la instalaci�n e jdeRobot y no copia
> las cabeceras de las interfaces en el sistema. Para solucionar esto
> hay varias alternativas.
>
> 1. Cambiar el Cmake temporalmente hasta que se arregle para que
> apunte a las cabeceras. En el campo include_directories a�ade la
> ruta donde tengas los .h de las caberas. Deberian estar en el svn en
> /src/interfaces/cpp/jderobot.
> 2. Otra opci�n es que las copies tu a mano. Ejecutando lo siguiente:
>
>>> sudo mkdir /usr/local/include/jderobot/jderobot
>>> sudo cp {ruta a svn}//src/interfaces/cpp/jderobot/*.h
>>> /usr/local/include/jderobot/jderobot/
>
> � cu�l es error que tienes con opencv?
>
>
> Alejandro Hern�ndez Cordero
>
> [http://www.linkedin.com/favicon.ico]<http://www.linkedin.com/in/ahcorde/en>
> [http://www.twitter.com/favicon.ico] <https://twitter.com/ahcorde>
> [https://ssl.gstatic.com/s2/oz/images/favicon.ico]
> <https://plus.google.com/u/0/114434050324725472734/posts>
> [https://github.com/favicon.ico] <http://github.com/ahcorde>
>
> Visit and play my Curriculum vitae ->
> https://googledrive.com/host/0BytBL_SySiIjX19Pd1o5dlZaRHc/Game.html
>
>
> El 13 de julio de 2013 21:12, ILDEFONSO GONZALEZ SANCHEZ
> <i.gonzalezsan en alumnos.urjc.es<mailto:i.gonzalezsan en alumnos.urjc.es>>
> escribi�:
> Hola buenas tardes,
>
> soy nuevo me presento, me llamo ildefonso pero me pod�is llamar
> ilde, o fonsi, como os guste.
> y en relaci�n a este correo yo tambi�n estoy intentando instalar
> cameraserver y me da un error parecido.
> empiezo haciendo un cmake .
>
> root en fonsi-Lenovo-G580:/var/www/pfc/jderobot/trunk/src/components/cameraserver/build-independent#
> ls
> CMakeLists.txt
> root en fonsi-Lenovo-G580:/var/www/pfc/jderobot/trunk/src/components/cameraserver/build-independent# cmake
> .
> -- The C compiler identification is GNU
> -- The CXX compiler identification is GNU
> -- Check for working C compiler: /usr/bin/gcc
> -- Check for working C compiler: /usr/bin/gcc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Configuring done
> -- Generating done
> -- Build files have been written to:
> /var/www/pfc/jderobot/trunk/src/components/cameraserver/build-independent
> Y parece que todo va bien.
> Pero al hacer make
> root en fonsi-Lenovo-G580:/var/www/pfc/jderobot/trunk/src/components/cameraserver/build-independent#
> make
> Scanning dependencies of target cameraserver
> [100%] Building CXX object
> CMakeFiles/cameraserver.dir/var/www/pfc/jderobot/trunk/src/components/cameraserver/cameraserver.cpp.o
> /var/www/pfc/jderobot/trunk/src/components/cameraserver/cameraserver.cpp:27:29: error fatal: jderobot/camera.h: No existe el archivo o el
> directorio
> compilaci�n terminada.
> make[2]: ***
> [CMakeFiles/cameraserver.dir/var/www/pfc/jderobot/trunk/src/components/cameraserver/cameraserver.cpp.o] Error
> 1
> make[1]: *** [CMakeFiles/cameraserver.dir/all] Error 2
> make: *** [all] Error 2
>
> En este punto se me han ocurrido dos opciones:
> 1.buscar camera.h y hacerle un svn import a /var/www/pfc/jderobot/
> 2.buscar camera.h y meter es path en el CMakeList.txt
>
>
> Punto 1:
> ///buscamos camera.h
>
> root en fonsi-Lenovo-G580:/var/www/pfc/jderobot/trunk/src/components/cameraview/build# grep -n "camera.h"
> /var/www/pfc/jderobot/trunk/src/components/cameraserver/cameraserver.cpp
> 27:#include <jderobot/camera.h>
>
> root en fonsi-Lenovo-G580:/var/www/pfc/jderobot/trunk/src/components/cameraview/build# locate camera.h | grep
> /usr/src
> /usr/src/linux-headers-3.2.0-49/arch/arm/mach-omap1/include/mach/camera.h
> /usr/src/linux-headers-3.2.0-49/arch/arm/mach-pxa/include/mach/camera.h
> /usr/src/linux-headers-3.2.0-49/arch/arm/plat-mxc/include/mach/mx1_camera.h
> /usr/src/linux-headers-3.2.0-49/arch/arm/plat-mxc/include/mach/mx3_camera.h
> /usr/src/linux-headers-3.2.0-49/drivers/media/video/via-camera.h
> /usr/src/linux-headers-3.2.0-49/include/media/mmp-camera.h
> /usr/src/linux-headers-3.2.0-49/include/media/omap1_camera.h
> /usr/src/linux-headers-3.2.0-49/include/media/soc_camera.h
> /usr/src/linux-headers-3.2.0-49-generic-pae/include/config/soc/camera.h
> /usr/src/linux-headers-3.2.0-49-generic-pae/include/config/video/via/camera.h
> /usr/src/linux-headers-3.5.0-23/arch/arm/mach-omap1/include/mach/camera.h
> /usr/src/linux-headers-3.5.0-23/arch/arm/mach-pxa/include/mach/camera.h
> /usr/src/linux-headers-3.5.0-23/arch/arm/plat-mxc/include/mach/mx1_camera.h
> /usr/src/linux-headers-3.5.0-23/arch/arm/plat-mxc/include/mach/mx3_camera.h
> /usr/src/linux-headers-3.5.0-23/drivers/media/video/via-camera.h
> /usr/src/linux-headers-3.5.0-23/include/media/mmp-camera.h
> /usr/src/linux-headers-3.5.0-23/include/media/omap1_camera.h
> /usr/src/linux-headers-3.5.0-23/include/media/soc_camera.h
> /usr/src/linux-headers-3.5.0-23-generic/include/config/soc/camera.h
> /usr/src/linux-headers-3.5.0-23-generic/include/config/video/via/camera.h
>
>
> La importamos y :
> root en fonsi-Lenovo-G580:/var/www/pfc/jderobot/trunk/src/components/cameraserver/build-independent# locate
> jderobot/camera.h
> /var/www/pfc/jderobot/camera.h
> �esta donde deber�a estar?
> �Cual deber�a importar?
>
> Punto2:
>
> �En el caso de cmake, me pod�is decir de que modo y como le puedo
> a�adir la ruta?
> Ya que en cameraview tengo el mismo problema, para opencv.
>
> Un saludo y muchas gracias de antemano.
> pd: un buen tutorial sobre cmake, me vendria genial.
>
> Ildefonso Gonz�lez S�nchez
>
>
>
> ________________________________________
> De:
> jde-developers-bounces en gsyc.es<mailto:jde-developers-bounces en gsyc.es>
> [jde-developers-bounces en gsyc.es<mailto:jde-developers-bounces en gsyc.es>] en
> nombre de Aitor Mart�nez
> [aitor.martinez.fernandez en gmail.com<mailto:aitor.martinez.fernandez en gmail.com>]
> Enviado: martes, 09 de julio de 2013 9:46
> Para: jde-developers en gsyc.es<mailto:jde-developers en gsyc.es>
> Asunto: Re: [Jderobot-dev] problema instalando cameraserver
>
> era ese el fallo, ya lo tengo instalado
> muchas gracias
>
> Alejandro Hern�ndez wrote
>> Has limpiado el Cmake anterior? Para hacerlo sencilla puedes borrarlo y
>> actualizar el repositorio con svn up.
>>
>> Alejandro Hern�ndez Cordero
>>
>> <http://www.linkedin.com/in/ahcorde/en>
>> <https://twitter.com/ahcorde>
>> <https://plus.google.com/u/0/114434050324725472734/posts>
>> <http://github.com/ahcorde>
>>
>> Visit and play my Curriculum vitae ->
>> https://googledrive.com/host/0BytBL_SySiIjX19Pd1o5dlZaRHc/Game.html
>>
>>
>> 2013/7/9 Aitor Mart�nez <
>
>> aitor.martinez.fernandez@
>
>> >
>>
>>> me sigue dando el mismo error
>>>
>>> Alejandro Hern�ndez wrote
>>> > Tienes que usar* "cmake ." *cuando est�s dentro de la carpeta build de
>>> un
>>> > componente
>>> >
>>> > Alejandro Hern�ndez Cordero
>>> >
>>> > <http://www.linkedin.com/in/ahcorde/en>
>>> > <https://twitter.com/ahcorde>
>>> > <https://plus.google.com/u/0/114434050324725472734/posts>
>>> > <http://github.com/ahcorde>
>>> >
>>> > Visit and play my Curriculum vitae ->
>>> > https://googledrive.com/host/0BytBL_SySiIjX19Pd1o5dlZaRHc/Game.html
>>> >
>>> >
>>> > El 9 de julio de 2013 10:39, Aitor Mart�nez <
>>>
>>> > aitor.martinez.fernandez@
>>>
>>> >> escribi�:
>>> >
>>> >> estoy instalando solo el cameraserver y cameraview.
>>> >> y he usado cmake ..
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> View this message in context:
>>> >>
>>> http://jderobot-developer-list.2315034.n4.nabble.com/problema-instalando-cameraserver-tp4641378p4641380.html
>>> >> Sent from the Jderobot Developer List mailing list archive at
>>> Nabble.com.
>>> >> _______________________________________________
>>> >> Jde-developers mailing list
>>> >>
>>>
>>> > Jde-developers@
>>>
>>> >> http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers
>>> >>
>>> >
>>> > _______________________________________________
>>> > Jde-developers mailing list
>>>
>>> > Jde-developers@
>>>
>>> > http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers
>>>
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://jderobot-developer-list.2315034.n4.nabble.com/problema-instalando-cameraserver-tp4641378p4641382.html
>>> Sent from the Jderobot Developer List mailing list archive at Nabble.com.
>>> _______________________________________________
>>> Jde-developers mailing list
>>>
>
>> Jde-developers@
>
>>> http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers
>>>
>>
>> _______________________________________________
>> Jde-developers mailing list
>
>> Jde-developers@
>
>> http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers
>
>
>
>
>
> --
> View this message in context:
> http://jderobot-developer-list.2315034.n4.nabble.com/problema-instalando-cameraserver-tp4641378p4641384.html
> Sent from the Jderobot Developer List mailing list archive at Nabble.com.
> _______________________________________________
> Jde-developers mailing list
> Jde-developers en gsyc.es<mailto:Jde-developers en gsyc.es>
> http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers
>
>
> _______________________________________________
> Jde-developers mailing list
> Jde-developers en gsyc.es<mailto:Jde-developers en gsyc.es>
> http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers
>
>
------------------------------------------------------------------
Laboratorio de An�lisis del Movimiento, Biomec�nica, Ergonom�a y
Control Motor (LAMBECOM).
Departamento de Fisioterapia, Terapia Ocupacional, Rehabilitaci�n y
Medicina F�sica.
Universidad Rey Juan Carlos (URJC).
More information about the Jde-developers
mailing list