[Jderobot] [Jderobot-dev] mundo pioneer2dxJde

Luis Roberto Morales lr.morales.iglesias en gmail.com
Mie Sep 25 14:07:12 CEST 2013


Hola,
eso suele pasar cuando el orden de librerías en compilación no es el
correcto o faltan librerías por enlazar en un componente; en el caso de los
ejecutables salta el fallo durante el enlazado, pero en las librerías
dinámicas el enlazador no puede determinar si te estás dejando algo.

En este caso concreto, se debe a que las librerías de Ice en el
CMakeLists.txt de build-independent se enlazan mediante CMAKE_CXX_FLAGS en
lugar de en su sitio, ya que ${ZeroCIce_LIBRARIES} no contiene ningún valor
[1].


Tendrías que comentar en el CMakeLists.txt la línea de CMAKE_CXX_FLAGS y,
por cada librería añade
 Ice IceUtil

en lugar de
 ${ZeroCIce_Libraries}



Es posible que después de solucionar esto tengas problemas de enlazado con
OpenCV (algo del estilo "undefined symbol: _ZN2cv3Mat6createEiPKii"). Si es
así, prueba a añadir en el CMakeLists.txt
FIND_PACKAGE(OpenCV REQUIRED)

y a cambiar todos los ${opencv_LIBRARIES} por ${OpenCV_LIBRARIES}.


Un saludo,
Roberto

[1] debería rellenarlo "Deps/ice/FindZeroCIce.cmake", pero los
build-independent no llaman a los ficheros de Deps.


2013/9/25 Aitor Martínez <aitor.martinez.fernandez en gmail.com>

> Hola Alejandro,
> el mundo se carga pero siguen saliendo los mismos errores
>
>
> Alejandro Hernández wrote
> > Hola Aitor,
> >
> > asegúrate de tener en ~/.bashrc la siguiente linea:
> >
> > export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/jderobot
> >
> > para recargar el .bashrc ejecuta:
> >
> > source ~/.bashrc
> >
> > Saludos
> >
> > 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/9/25 Aitor Martínez &lt;
>
> > aitor.martinez.fernandez@
>
> > &gt;
> >
> >> hola, cuando intento cargar el cualquier mundo en gazebo me salen los
> >> siguientes errores:
> >>
> >> aitor en Zack
> >> :~/proyecto/trunk/src/stable/components/gazeboserver/build-independent$
> >> gazebo ../pioneer2dxJde.world
> >> Gazebo multi-robot simulator, version 1.9.1
> >> Copyright (C) 2013 Open Source Robotics Foundation.
> >> Released under the Apache 2 License.
> >> http://gazebosim.org
> >>
> >> Gazebo multi-robot simulator, version 1.9.1
> >> Copyright (C) 2013 Open Source Robotics Foundation.
> >> Released under the Apache 2 License.
> >> http://gazebosim.org
> >>
> >> Msg Waiting for master.Warning [parser.cc:340] Converting a deprecated
> >>
> >>
> source[/home/aitor/proyecto/trunk/src/stable/components/gazeboserver/build-independent/../pioneer2dxJde.world].
> >> Warning [Converter.cc:59]   Version[1.3] to Version[1.4]
> >>   Please use the gzsdf tool to update your SDF files.
> >>     $ gzsdf convert [sdf_file]
> >> Warning [parser.cc:340] Converting a deprecated
> >> source[/home/aitor/.gazebo/models/sun/model.sdf].
> >> Warning [Converter.cc:59]   Version[1.2] to Version[1.4]
> >>   Please use the gzsdf tool to update your SDF files.
> >>     $ gzsdf convert [sdf_file]
> >> Warning [parser.cc:340] Converting a deprecated
> >> source[/home/aitor/.gazebo/models/pioneer2dxJde/model.sdf].
> >> Warning [Converter.cc:59]   Version[1.3] to Version[1.4]
> >>   Please use the gzsdf tool to update your SDF files.
> >>     $ gzsdf convert [sdf_file]
> >> Msg Waiting for master
> >> Msg Connected to gazebo master @ http://127.0.0.1:11345
> >> Msg Publicized address: 192.168.1.44
> >>
> >> Msg Connected to gazebo master @ http://127.0.0.1:11345
> >> Msg Publicized address: 192.168.1.44
> >> Warning [InsertModelWidget.cc:244] The manifest.xml for a Gazebo model
> is
> >> deprecated. Please rename manifest.xml to model.config for model
> >> "/home/aitor/.gazebo/models/mapaSimple"
> >> Error [Plugin.hh:127] Failed to load plugin libcamera_dump.so:
> >> /usr/local/lib/jderobot/libJderobotInterfaces.so: undefined symbol:
> >> _ZNK3Ice6ObjecteqERKS0_
> >> Error [Plugin.hh:127] Failed to load plugin libcamera_dump.so:
> >> /usr/local/lib/jderobot/libJderobotInterfaces.so: undefined symbol:
> >> _ZNK3Ice6ObjecteqERKS0_
> >> Error [Plugin.hh:127] Failed to load plugin liblaser.so:
> >> /usr/local/lib/jderobot/libJderobotInterfaces.so: undefined symbol:
> >> _ZNK3Ice6ObjecteqERKS0_
> >> Error [Plugin.hh:127] Failed to load plugin libmotors.so:
> >> /usr/local/lib/jderobot/libJderobotInterfaces.so: undefined symbol:
> >> _ZNK3Ice6ObjecteqERKS0_
> >> Error [Plugin.hh:127] Failed to load plugin libpose3dencoders.so:
> >> /usr/local/lib/jderobot/libJderobotInterfaces.so: undefined symbol:
> >> _ZNK3Ice6ObjecteqERKS0_
> >> Error [Plugin.hh:127] Failed to load plugin libencoders.so:
> >> /usr/local/lib/jderobot/libJderobotInterfaces.so: undefined symbol:
> >> _ZNK3Ice6ObjecteqERKS0_
> >>
> >> alguien me puede ayudar?
> >>
> >>
> >>
> >> --
> >> View this message in context:
> >>
> http://jderobot-developer-list.2315034.n4.nabble.com/Jderobot-dev-mundo-pioneer2dxJde-tp4641307p4641600.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/Jderobot-dev-mundo-pioneer2dxJde-tp4641307p4641602.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
>
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://gsyc.escet.urjc.es/pipermail/jde-developers/attachments/20130925/f1b47138/attachment.htm 


More information about the Jde-developers mailing list