[Jderobot-dev] problema con cmake

jesus checa rodriguez j_checa_rodriguez en hotmail.com
Mar Mar 5 13:04:37 CET 2013


gracias

El 5 de marzo de 2013 11:06, Mikel González <m.gonzalezbai en gmail.com>escribió:

>  Hola Jesús,
>
> como comenta Álex, el problema que estás teniendo se debe a que tratas de
> compilar el componente fuera de la estructura de directorios del svn, si te
> fijas en el CMakeLists.txt el "include" que te está fallando hace
> referencia a la ruta:
>
> include(${Deps}/gearbox/CMakeLists.txt)
>
> siendo ${Deps}:
>
> ${CMAKE_CURRENT_SOURCE_DIR}/../../../../Deps
>
> ruta que no consigue encontrar.
>
> Solución, la más sencilla sería que pusieses tu componente dentro del
> directorio /trunk/src/components en la estructura de JDErobot, o bien crear
> un CMakeLists.txt que no dependa de rutas relativas a JDErobot.
>
> Te recomiendo que le eches un ojo al mensaje que envié hace poco a Jaime
> (no puedo dejarte el enlace porque parece que la web de las listas está
> caída) buscando por el asunto "Problema al compilar Server.cpp", además
> siempre puedes apoyarte en el manual oficial [1] o en el de la wiki de
> JDErobot [2].
>
> [1] http://www.cmake.org/cmake/help/v2.8.10/cmake.html
> [2] http://jderobot.org/index.php/Manual-5#CMAKE_FOR_DEVELOPERS
>
> El 05/03/2013 10:43, jesus checa rodriguez escribió:
>
> como el que se hizo en el seminario? generandolo todo de nuevo?
> gracias
>
> 2013/3/5 Alejandro Hernández <ahcorde en gmail.com>
>
>> Hola Jesus,
>>
>>  te recomiendo que te hagas un CMake independiente del repositorio de
>> Jde.
>>
>>  Álex.
>>
>>  2013/3/5 jesus checa rodriguez <j_checa_rodriguez en hotmail.com>
>>
>>>  Buenos dias.
>>>
>>>  Cuando compilo el basic_component para poder programar con kinect me
>>> sale un fallo que no consigo solucionar.
>>>
>>>  primer cmake .
>>> ---------------------------------------
>>>  arck en arck-PCn:~/componentes/basic_component/build$ 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
>>> -- checking for module 'gtk+-2.0'
>>> --   found gtk+-2.0, version 2.24.10
>>> -- checking for module 'gtkmm-2.4'
>>> --   found gtkmm-2.4, version 2.24.2
>>> -- checking for module 'libglademm-2.4'
>>> --   found libglademm-2.4, version 2.6.7
>>> CMake Error at CMakeLists.txt:38 (include):
>>>   include could not find load file:
>>>
>>>
>>> /home/arck/componentes/basic_component/build/../../../../Deps/gearbox/CMakeLists.txt
>>>
>>>
>>>  CMake Error at CMakeLists.txt:39 (include):
>>>   include could not find load file:
>>>
>>>
>>> /home/arck/componentes/basic_component/build/../../../../Deps/ice/CMakeLists.txt
>>>
>>>
>>>  CMake Error at CMakeLists.txt:40 (include):
>>>   include could not find load file:
>>>
>>>
>>> /home/arck/componentes/basic_component/build/../../../../Deps/opencv/CMakeLists.txt
>>>
>>>
>>>  CMake Error at CMakeLists.txt:45 (add_subdirectory):
>>>   The source directory
>>>
>>>      /home/arck
>>>
>>>    does not contain a CMakeLists.txt file.
>>>
>>>
>>>  libjderobotice.so
>>> libjderobotutil.so
>>> libcolorspaces.so
>>> -- Configuring incomplete, errors occurred!
>>> arck en arck-PCn:~/componentes/basic_component/build$
>>>  ----------------------------------------
>>>
>>>  al aparecerme los fallos en las lineas de los include, les indico
>>> donde estas situados en el ordenador, en este caso el OpenCV
>>> (usr/local/share/OpenCV) y me vuelve a salir error, ¿alguna idea?
>>>  gracias.
>>> ----------------------------------------
>>>  arck en arck-PCn:~/componentes/basic_component/build$ 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
>>> -- checking for module 'gtk+-2.0'
>>> --   found gtk+-2.0, version 2.24.10
>>> -- checking for module 'gtkmm-2.4'
>>> --   found gtkmm-2.4, version 2.24.2
>>> -- checking for module 'libglademm-2.4'
>>> --   found libglademm-2.4, version 2.6.7
>>> CMake Error at CMakeLists.txt:38 (include):
>>>   include could not find load file:
>>>
>>>
>>> /home/arck/componentes/basic_component/build/../../../../Deps/gearbox/CMakeLists.txt
>>>
>>>
>>>  CMake Error at CMakeLists.txt:39 (include):
>>>   include could not find load file:
>>>
>>>
>>> /home/arck/componentes/basic_component/build/../../../../Deps/ice/CMakeLists.txt
>>>
>>>
>>>  CMake Error at /usr/share/OpenCV/doc/CMakeLists.txt:94 (install):
>>>   install FILES given no DESTINATION!
>>> Call Stack (most recent call first):
>>>   CMakeLists.txt:40 (include)
>>>
>>>
>>>  CMake Error at CMakeLists.txt:45 (add_subdirectory):
>>>   The source directory
>>>
>>>      /home/arck
>>>
>>>    does not contain a CMakeLists.txt file.
>>>
>>>
>>>  libjderobotice.so
>>> libjderobotutil.so
>>> libcolorspaces.so
>>> -- Configuring incomplete, errors occurred!
>>> arck en arck-PCn:~/componentes/basic_component/build$
>>>  --------------------------------------------
>>>
>>>  _______________________________________________
>>> Jde-developers mailing list
>>> Jde-developers en gsyc.es
>>> http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers
>>>
>>>
>>
>>
>>  --
>> Alejandro Hernández Cordero
>>
>>  <http://www.linkedin.com/in/ahcorde/en>  <https://twitter.com/ahcorde> <https://plus.google.com/u/0/114434050324725472734/posts>
>>   <http://github.com/ahcorde>
>>
>>  Play and visit my Curriculum vitae ->
>> https://googledrive.com/host/0BytBL_SySiIjX19Pd1o5dlZaRHc/Game.html
>>
>> _______________________________________________
>> Jde-developers mailing list
>> Jde-developers en gsyc.es
>> http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers
>>
>>
>
>
> _______________________________________________
> Jde-developers mailing listJde-developers en gsyc.eshttp://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers
>
>
>
> _______________________________________________
> 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/20130305/7c8320bf/attachment.htm 


More information about the Jde-developers mailing list