[Jderobot-dev] Problemas compilando gazeboserver e introrob del trunk
Oscar Garcia
oscar.robotica en linaresdigital.com
Lun Abr 8 14:26:41 CEST 2013
El 08/04/13 13:31, Maykel Moya escribió:
> Parece que hay algún directorio jderobot que debiera tener y no tengo.
> Alguna pista?
No sé si es tu caso, pero la primera vez que me ocurrió eso es debido a
que no se convirtieron las interfaces slice a cabeceras .h. Para
arreglarlo debes irte a la carpeta
"jderobot/trunk/src/interfaces/slice/jderobot" y allí hacer un "cmake ."
y luego un make:
redstar en greystar:~/Descargas/jderobot/trunk/src/interfaces/slice/jderobot$
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
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 2.8)
should be added at the top of the file. The version specified may be
lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/redstar/Descargas/jderobot/trunk/src/interfaces/slice/jderobot
redstar en greystar:~/Descargas/jderobot/trunk/src/interfaces/slice/jderobot$
make
[ 2%] Generating pose3dmotors.cpp, pose3dmotors.h
[ 4%] Generating jcm.cpp, jcm.h
[ 6%] Generating camera.cpp, camera.h
[ 8%] Generating common.cpp, common.h
[ 10%] Generating bodymovements.cpp, bodymovements.h
[ 12%] Generating containers.cpp, containers.h
[ 14%] Generating datetime.cpp, datetime.h
[ 16%] Generating bodyencoders.cpp, bodyencoders.h
[ 18%] Generating ptmotors.cpp, ptmotors.h
[ 20%] Generating wiimote.cpp, wiimote.h
[ 22%] Generating remoteConfig.cpp, remoteConfig.h
[ 24%] Generating exceptions.cpp, exceptions.h
[ 26%] Generating body.cpp, body.h
[ 28%] Generating jointmotor.cpp, jointmotor.h
[ 30%] Generating sonars.cpp, sonars.h
[ 32%] Generating pointcloud.cpp, pointcloud.h
[ 34%] Generating bodymotors.cpp, bodymotors.h
[ 36%] Generating kinectleds.cpp, kinectleds.h
[ 38%] Generating motors.cpp, motors.h
[ 40%] Generating varcolor.cpp, varcolor.h
[ 42%] Generating ptencoders.cpp, ptencoders.h
[ 44%] Generating laser.cpp, laser.h
[ 46%] Generating encoders.cpp, encoders.h
[ 48%] Generating image.cpp, image.h
[ 50%] Generating pose3dencoders.cpp, pose3dencoders.h
Scanning dependencies of target JderobotInterfaces
[ 52%] Building CXX object CMakeFiles/JderobotInterfaces.dir/jcm.o
[ 54%] Building CXX object CMakeFiles/JderobotInterfaces.dir/camera.o
[ 56%] Building CXX object CMakeFiles/JderobotInterfaces.dir/common.o
[ 58%] Building CXX object CMakeFiles/JderobotInterfaces.dir/bodymovements.o
[ 60%] Building CXX object CMakeFiles/JderobotInterfaces.dir/containers.o
[ 62%] Building CXX object CMakeFiles/JderobotInterfaces.dir/datetime.o
[ 64%] Building CXX object CMakeFiles/JderobotInterfaces.dir/bodyencoders.o
[ 66%] Building CXX object CMakeFiles/JderobotInterfaces.dir/ptmotors.o
[ 68%] Building CXX object CMakeFiles/JderobotInterfaces.dir/wiimote.o
[ 70%] Building CXX object CMakeFiles/JderobotInterfaces.dir/remoteConfig.o
[ 72%] Building CXX object CMakeFiles/JderobotInterfaces.dir/exceptions.o
[ 74%] Building CXX object CMakeFiles/JderobotInterfaces.dir/body.o
[ 76%] Building CXX object CMakeFiles/JderobotInterfaces.dir/jointmotor.o
[ 78%] Building CXX object CMakeFiles/JderobotInterfaces.dir/sonars.o
[ 80%] Building CXX object CMakeFiles/JderobotInterfaces.dir/pointcloud.o
[ 82%] Building CXX object CMakeFiles/JderobotInterfaces.dir/bodymotors.o
[ 84%] Building CXX object CMakeFiles/JderobotInterfaces.dir/kinectleds.o
[ 86%] Building CXX object CMakeFiles/JderobotInterfaces.dir/motors.o
[ 88%] Building CXX object CMakeFiles/JderobotInterfaces.dir/varcolor.o
[ 90%] Building CXX object CMakeFiles/JderobotInterfaces.dir/ptencoders.o
[ 92%] Building CXX object CMakeFiles/JderobotInterfaces.dir/laser.o
[ 94%] Building CXX object CMakeFiles/JderobotInterfaces.dir/encoders.o
[ 96%] Building CXX object CMakeFiles/JderobotInterfaces.dir/image.o
[ 98%] Building CXX object
CMakeFiles/JderobotInterfaces.dir/pose3dencoders.o
[100%] Building CXX object CMakeFiles/JderobotInterfaces.dir/pose3dmotors.o
Linking CXX shared library libJderobotInterfaces.so
[100%] Built target JderobotInterfaces
redstar en greystar:~/Descargas/jderobot/trunk/src/interfaces/slice/jderobot$
Te habrás fijado que en el 6% se genera el camera.h que necesitas.
Un saludo.
More information about the Jde-developers
mailing list