[Jderobot] Jderobot, problemas de instalación

Javier Benito raknil en hotmail.com
Vie Sep 5 14:26:26 CEST 2014


Hola, soy nuevo con Jderobot, llevo unos días intentando instalar Jderobot y
me han surgido algunos problemas que no he podido resolver:

- OpenNI2 se instala a medias y me da error:

dpkg: error processing package openni2 (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 openni2
E: Sub-process /usr/bin/dpkg returned an error code (1)

He cambiado de versión de boost a la 1.52 y continúa el problema.


- NITE2 solo puedo descargarmelo de www.openni.org y está caído. ¿De dónde
lo puedo obtener?


- No consigo instalar gazebo tampoco, supongo que la versión válida es la
1.8.1. y aunque no encuentro ningún manual, ejecuto cmake con algún warning:

BUILD WARNINGS
--      urdfdom_headers not found, urdf parser will not be built.
--      urdfdom not found, urdf parser will not be built.
--      console_bridge not found, urdf parser will not be built.
--      model.h not found. urdf parser will not be built
--      urdf_parser.h not found. urdf parser will not be built
--      console.h not found. urdf parser (depends on console_bridge) will
not be built
-- END BUILD WARNINGS

-- C Flags: -s -O3 -DNDEBUG  -Wall -Wextra -Wno-long-long -Wno-unused-value
-Wno-unused-value -Wno-unused-value -Wno-unused-value -Wfloat-equal -Wshadow
-Winit-self -Wswitch-default -Wmissing-include-dirs -pedantic -msse -msse2
-mfpmath=sse -msse3 -mssse3
-- Build Type: Release
-- Install path: /usr/local
-- Configuration successful. Type make to compile gazebo
-- Configuring done
-- Generating done
-- Build files have been written to: /home/rak/Desktop/gazebo-1.8.1

Luego al ejecutar make me sale:

[ 40%] Building CXX object
gazebo/physics/ode/CMakeFiles/gazebo_physics_ode.dir/ODEPhysics.cc.o
In file included from /usr/include/c++/4.8/vector:64:0,
                 from /usr/local/include/boost/detail/container_fwd.hpp:93,
                 from
/usr/local/include/boost/functional/hash/extensions.hpp:22,
                 from /usr/local/include/boost/functional/hash/hash.hpp:558,
                 from /usr/local/include/boost/functional/hash.hpp:6,
                 from
/usr/local/include/boost/unordered/unordered_map.hpp:21,
                 from /usr/local/include/boost/unordered_map.hpp:17,
                 from
/home/rak/Desktop/gazebo-1.8.1/gazebo/util/Diagnostics.hh:25,
                 from
/home/rak/Desktop/gazebo-1.8.1/gazebo/physics/ode/ODEPhysics.cc:25:
/usr/include/c++/4.8/bits/stl_vector.h: In instantiation of ‘class
std::vector<google::protobuf::Message>’:
/home/rak/Desktop/gazebo-1.8.1/gazebo/physics/World.hh:465:55:   required
from here
/usr/include/c++/4.8/bits/stl_vector.h:704:7: error: cannot allocate an
object of abstract type ‘google::protobuf::Message’
       resize(size_type __new_size, value_type __x = value_type())
       ^
In file included from
/home/rak/Desktop/gazebo-1.8.1/gazebo/transport/TransportTypes.hh:21:0,
                 from
/home/rak/Desktop/gazebo-1.8.1/gazebo/util/Diagnostics.hh:31,
                 from
/home/rak/Desktop/gazebo-1.8.1/gazebo/physics/ode/ODEPhysics.cc:25:
/usr/local/include/google/protobuf/message.h:169:26: note:   because the
following virtual functions are pure within ‘google::protobuf::Message’:
 class LIBPROTOBUF_EXPORT Message : public MessageLite {
                          ^
/usr/local/include/google/protobuf/message.h:179:20: note:      virtual
google::protobuf::Message* google::protobuf::Message::New() const
   virtual Message* New() const = 0;
                    ^
In file included from /usr/local/include/google/protobuf/message.h:123:0,
                 from
/home/rak/Desktop/gazebo-1.8.1/gazebo/transport/TransportTypes.hh:21,
                 from
/home/rak/Desktop/gazebo-1.8.1/gazebo/util/Diagnostics.hh:31,
                 from
/home/rak/Desktop/gazebo-1.8.1/gazebo/physics/ode/ODEPhysics.cc:25:
/usr/local/include/google/protobuf/message_lite.h:237:15: note:        
virtual int google::protobuf::MessageLite::GetCachedSize() const
   virtual int GetCachedSize() const = 0;
               ^
In file included from
/home/rak/Desktop/gazebo-1.8.1/gazebo/transport/TransportTypes.hh:21:0,
                 from
/home/rak/Desktop/gazebo-1.8.1/gazebo/util/Diagnostics.hh:31,
                 from
/home/rak/Desktop/gazebo-1.8.1/gazebo/physics/ode/ODEPhysics.cc:25:
/usr/local/include/google/protobuf/message.h:312:20: note:      virtual
google::protobuf::Metadata google::protobuf::Message::GetMetadata() const
   virtual Metadata GetMetadata() const  = 0;
                    ^
make[2]: ***
[gazebo/physics/ode/CMakeFiles/gazebo_physics_ode.dir/ODEPhysics.cc.o] Error
1
make[1]: *** [gazebo/physics/ode/CMakeFiles/gazebo_physics_ode.dir/all]
Error 2
make: *** [all] Error 2


A ver si podeis darme alguna pista a ver que hago. No sé si será mejor
instalar alguna máquina virtual con alguna versión más compatible o seguir
intentandolo en mi Kubuntu 14.04.1 LTS de 64 bits.

Un saludo y gracias!

Javier



--
View this message in context: http://jderobot-developer-list.2315034.n4.nabble.com/Jderobot-problemas-de-instalacion-tp4642365.html
Sent from the Jderobot Developer List mailing list archive at Nabble.com.


More information about the Jde-developers mailing list