[Jderobot] [Jderobot-dev] problema instalando cameraserver

ILDEFONSO GONZALEZ SANCHEZ i.gonzalezsan en alumnos.urjc.es
Sab Jul 13 21:12:35 CEST 2013


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 [jde-developers-bounces en gsyc.es] en nombre de Aitor Martínez [aitor.martinez.fernandez en gmail.com]
Enviado: martes, 09 de julio de 2013 9:46
Para: 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
>
> &lt;http://www.linkedin.com/in/ahcorde/en&gt;
> &lt;https://twitter.com/ahcorde&gt;
> &lt;https://plus.google.com/u/0/114434050324725472734/posts&gt;
>   &lt;http://github.com/ahcorde&gt;
>
> Visit and play my Curriculum vitae ->
> https://googledrive.com/host/0BytBL_SySiIjX19Pd1o5dlZaRHc/Game.html
>
>
> 2013/7/9 Aitor Martínez &lt;

> aitor.martinez.fernandez@

> &gt;
>
>> 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
>> >
>> > &lt;http://www.linkedin.com/in/ahcorde/en&gt;
>> > &lt;https://twitter.com/ahcorde&gt;
>> > &lt;https://plus.google.com/u/0/114434050324725472734/posts&gt;
>> >   &lt;http://github.com/ahcorde&gt;
>> >
>> > 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
http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers




More information about the Jde-developers mailing list