[Jde-dev] Compilación "cameraserver"

Javier Vazquez javiervazper en yahoo.es
Sab Mar 6 18:47:24 CET 2010


Disculpa, no me he dado cuenta de que es otra interface ICE. Ya he traducido a C/C++ el fichero jcm.ice.

Parece que solo me queda solucionar el fallo siguiente en imagecv.h:

jvazquez en ubuntu:~/workspace/jderobot_5.0/src/components/cameraserver$ make
c++ -g  -I. -I/home/jvazquez/workspace/jderobot_5.0/src/interfaces/slice/ -I/usr/include/opencv/ -I/home/jvazquez/workspace/jderobot_5.0/src/interfaces/slice/jderobot/ -I/home/jvazquez/workspace/jderobot_5.0/src/libs  -I/usr/include/libxml2/ -I/usr/include/gstreamer-0.10/ -I/usr/include/gstreamer-0.10/ -I/usr/include/glib-2.0/ -I/usr/lib/glib-2.0/include/ -I/usr/local/include/gearbox -lforms -lX11 -lpioneer -lm -lpthread -lXpm -ldl -fPIC -c gstpipeline.cpp 
In file included from /home/jvazquez/workspace/jderobot_5.0/src/libs/colorspaces/colorspacesmm.h:25,
                 from gstpipeline.h:11,
                 from gstpipeline.cpp:1:
/home/jvazquez/workspace/jderobot_5.0/src/libs/colorspaces/imagecv.h:36: error: ‘cv’ has not been declared
/home/jvazquez/workspace/jderobot_5.0/src/libs/colorspaces/imagecv.h:36: error: expected ‘{’ before ‘Mat’
/home/jvazquez/workspace/jderobot_5.0/src/libs/colorspaces/imagecv.h:36: error: invalid type in declaration before ‘{’ token
/home/jvazquez/workspace/jderobot_5.0/src/libs/colorspaces/imagecv.h:36: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
/home/jvazquez/workspace/jderobot_5.0/src/libs/colorspaces/imagecv.h:37: error: expected primary-expression before ‘public’
/home/jvazquez/workspace/jderobot_5.0/src/libs/colorspaces/imagecv.h:37: error: expected ‘}’ before ‘public’
/home/jvazquez/workspace/jderobot_5.0/src/libs/colorspaces/imagecv.h:37: error: expected ‘,’ or ‘;’ before ‘public’
gstpipeline.cpp:257: error: expected ‘}’ at end of input
make: *** [gstpipeline.o] Error 1

A ver si doy con las últimas librerías que me faltan ...





________________________________
De: Javier Vazquez <javiervazper en yahoo.es>
Para: David Lobato <dav.lobato en gmail.com>
CC: jde developers <jde-developers en gsyc.es>
Enviado: sáb,6 marzo, 2010 09:31
Asunto: Re: Compilación "cameraserver"


Gracias David,

ya he pasado de ese punto, instalados los paquetes de desarrollo de gstreamer más instalado gearbox. Estoy ajustando el Makefile y me aparece una referencia a un fichero cabecera de JDErobot que creo que no está subido al repositorio: El el "jcm.h" ¿Te suena si hay que subirlo?

jvazquez en ubuntu:~/workspace/jderobot_5.0/src/components/cameraserver$ make 2>&1 | tee log
c++ -g  -I. -I/home/jvazquez/workspace/jderobot_5.0/src/interfaces/slice/jderobot/ -I/home/jvazquez/workspace/jderobot_5.0/src/libs  -I/usr/include/libxml2/ -I/usr/include/gstreamer-0.10/ -I/usr/include/gstreamer-0.10/ -I/usr/include/glib-2.0/ -I/usr/lib/glib-2.0/include/ -I/usr/local/include/gearbox -lforms -lX11 -lpioneer -lm -lpthread -lXpm -ldl -fPIC -c gstpipeline.cpp 
In file included from /home/jvazquez/workspace/jderobot_5.0/src/libs/jderobotice/component.h:20,
                 from gstpipeline.h:9,
                 from gstpipeline.cpp:1:
/home/jvazquez/workspace/jderobot_5.0/src/libs/jderobotice/context.h:28:26: error: jderobot/jcm.h: No such file or directory==>> ¿sería en la carpeta jderobotutil?
In file included from /home/jvazquez/workspace/jderobot_5.0/src/libs/jderobotice/component.h:20,
                 from gstpipeline.h:9,
                 from gstpipeline.cpp:1:
/home/jvazquez/workspace/jderobot_5.0/src/libs/jderobotice/context.h:84: error: ‘jderobot’ has not been declared
/home/jvazquez/workspace/jderobot_5.0/src/libs/jderobotice/context.h:84: error: ISO C++ forbids declaration of ‘FQComponentName’ with no type
/home/jvazquez/workspace/jderobot_5.0/src/libs/jderobotice/context.h:84: error: expected ‘;’ before ‘&’ token
/home/jvazquez/workspace/jderobot_5.0/src/libs/jderobotice/context.h:241: error: ISO C++ forbids declaration of ‘jderobot’ with no type
/home/jvazquez/workspace/jderobot_5.0/src/libs/jderobotice/context.h:241: error: expected ‘,’ or ‘...’ before ‘::’ token
/home/jvazquez/workspace/jderobot_5.0/src/libs/jderobotice/context.h:249: error: ‘jderobot’ has not been declared
/home/jvazquez/workspace/jderobot_5.0/src/libs/jderobotice/context.h:249: error: ISO C++ forbids declaration of ‘FQComponentName’ with no type
/home/jvazquez/workspace/jderobot_5.0/src/libs/jderobotice/context.h:249: error: expected ‘;’ before ‘name_’
In file included from gstpipeline.h:9,
                 from gstpipeline.cpp:1:
/home/jvazquez/workspace/jderobot_5.0/src/libs/jderobotice/component.h:165: error: ISO C++ forbids declaration of ‘jderobot’ with no type
/home/jvazquez/workspace/jderobot_5.0/src/libs/jderobotice/component.h:165: error: expected ‘,’ or ‘...’ before ‘::’ token
In file included from /home/jvazquez/workspace/jderobot_5.0/src/libs/colorspaces/colorspacesmm.h:25,
                 from gstpipeline.h:11,
                 from gstpipeline.cpp:1:
/home/jvazquez/workspace/jderobot_5.0/src/libs/colorspaces/imagecv.h:36: error: ‘cv’ has not been declared
/home/jvazquez/workspace/jderobot_5.0/src/libs/colorspaces/imagecv.h:36: error: expected ‘{’ before ‘Mat’
/home/jvazquez/workspace/jderobot_5.0/src/libs/colorspaces/imagecv.h:36: error: invalid type in declaration before ‘{’ token
/home/jvazquez/workspace/jderobot_5.0/src/libs/colorspaces/imagecv.h:36: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
/home/jvazquez/workspace/jderobot_5.0/src/libs/colorspaces/imagecv.h:37: error: expected primary-expression before ‘public’
/home/jvazquez/workspace/jderobot_5.0/src/libs/colorspaces/imagecv.h:37: error: expected ‘}’ before ‘public’
/home/jvazquez/workspace/jderobot_5.0/src/libs/colorspaces/imagecv.h:37: error: expected ‘,’ or ‘;’ before ‘public’
gstpipeline.cpp:257: error: expected ‘}’ at end of input
make: *** [gstpipeline.o] Error 1






________________________________
De: David Lobato <dav.lobato en gmail.com>
Para: Javier Vazquez <javiervazper en yahoo.es>
CC: jde developers <jde-developers en gsyc.es>
Enviado: vie,5 marzo, 2010 12:39
Asunto: Re: Compilación "cameraserver"

Las 2 primeras cabeceras son de gstreamer, concretamente vienen en los paquetes libgstreamer0.10-dev y libgstreamer-plugins-base0.10-dev respectivamente.

La última es de gearbox, que de momento no está paquetizado para debian. Puedes encontrar las fuentes aquí [1].

David.

[1] http://gearbox.sourceforge.net/





2010/3/5 Javier Vazquez <javiervazper en yahoo.es>

Hola David,
>
>estoy tratando de compilar el código del componente "cameraserver" que hay en el repositorio de la 5.0. Veo en la parte de los includes algunas cabeceras que no tengo instaladas:
>
>gstpipeline.h:6:21: error: gst/gst.h: No such file or directory
>gstpipeline.h:7:32: error: gst/app/gstappsink.h: No such file or directory
>gstpipeline.h:8:51: error: gbxsickacfr/gbxiceutilacfr/safethread.h: No such file or directory
>
>
>He probado con varios paquetes de "gstreamer" pero no lo encuentro. ¿Sabes que paquetes son necesarios para resolver las dependencias de las tres cabeceras anteriores?
>
>Gracias de antemano,
>Javier.
>
>
>
>
>


      
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://gsyc.escet.urjc.es/pipermail/jde-developers/attachments/20100306/8c60bedb/attachment-0001.htm 


More information about the Jde-developers mailing list