[Jderobot] Problemas al compilar cameraview

Daniel Yagüe daniyague24 en gmail.com
Dom Oct 13 18:50:50 CEST 2013


Buenas,

estoy intentando instalar cameraserver y cameraview. He podido instalar y
ejecutar cameraserver, pero al ejecutar cmake . desde el directorio build de
cameraview he tenido varios problemas.

$ 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 '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:36 (include):
  include could not find load file:

   
/home/daniel/jderobot.org/trunk/src/stable/components/cameraview/build/../../../../Deps/ice/CMakeLists.txt


CMake Error at CMakeLists.txt:37 (include):
  include could not find load file:

   
/home/daniel/jderobot.org/trunk/src/stable/components/cameraview/build/../../../../Deps/opencv/CMakeLists.txt


CMake Error at ../../../libs/CMakeLists.txt:1 (list_subdirectories):
  Unknown CMake command "list_subdirectories".


En el fichero CMakeLists.txt he cambiado la siguiente línea
SET( DEPS_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../../../Deps)
por esta otra:
SET( DEPS_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../../../../Deps)
y se solucionaron los dos primeros errores, pero el último sigue ahí:

$ 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 '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
*** ICE ok
OpenCV was found in: /usr/local/include/opencv
CMake Error at ../../../libs/CMakeLists.txt:1 (list_subdirectories):
  Unknown CMake command "list_subdirectories".


-- Configuring incomplete, errors occurred!

No sé que hacer con "list_subdirectories". Tampoco tengo mucha idea de
cmake, así que no sé si haber modificado el CMakeLists.txt ha sido buena
idea. ¿Alguna ayuda?

Daniel.



--
View this message in context: http://jderobot-developer-list.2315034.n4.nabble.com/Problemas-al-compilar-cameraview-tp4641689.html
Sent from the Jderobot Developer List mailing list archive at Nabble.com.


More information about the Jde-developers mailing list