<div dir="ltr"><div><div>Hola,<br><div style="margin-left:40px">desde que se cambió la estructura del svn, los cmakes del directorio build (si no todos, la mayoría) no funcionan.<br></div><div style="margin-left:40px">Posibles alternativas son compilar todo jderobot desde el raíz del repositorio o utilizar los flags para compilar sólo esos componentes [1]. Para la segunda, sería irte al raíz del repositorio y ejecutar:<br>
<br></div><div style="margin-left:40px"><span style="font-family:courier new,monospace">$ cmake -Dbuild-default=FALSE -Dbuild_cameraserver=ON -Dbuild_cameraview=ON .</span><br></div><div style="margin-left:40px"><br></div>
<div style="margin-left:40px"><br></div></div>Un saludo,<br></div><div style="margin-left:40px">Roberto<br><br></div>[1] <a href="http://jderobot.org/Manual-5#Compiling_and_installing_selected_components">http://jderobot.org/Manual-5#Compiling_and_installing_selected_components</a><br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/13 Daniel Yagüe <span dir="ltr">&lt;<a href="mailto:daniyague24@gmail.com" target="_blank">daniyague24@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Buenas,<br>
<br>
estoy intentando instalar cameraserver y cameraview. He podido instalar y<br>
ejecutar cameraserver, pero al ejecutar cmake . desde el directorio build de<br>
cameraview he tenido varios problemas.<br>
<br>
$ cmake .<br>
-- The C compiler identification is GNU<br>
-- The CXX compiler identification is GNU<br>
-- Check for working C compiler: /usr/bin/gcc<br>
-- Check for working C compiler: /usr/bin/gcc -- works<br>
-- Detecting C compiler ABI info<br>
-- Detecting C compiler ABI info - done<br>
-- Check for working CXX compiler: /usr/bin/c++<br>
-- Check for working CXX compiler: /usr/bin/c++ -- works<br>
-- Detecting CXX compiler ABI info<br>
-- Detecting CXX compiler ABI info - done<br>
-- checking for module &#39;gtkmm-2.4&#39;<br>
--   found gtkmm-2.4, version 2.24.2<br>
-- checking for module &#39;libglademm-2.4&#39;<br>
--   found libglademm-2.4, version 2.6.7<br>
CMake Error at CMakeLists.txt:36 (include):<br>
  include could not find load file:<br>
<br>
<br>
/home/daniel/<a href="http://jderobot.org/trunk/src/stable/components/cameraview/build/../../../../Deps/ice/CMakeLists.txt" target="_blank">jderobot.org/trunk/src/stable/components/cameraview/build/../../../../Deps/ice/CMakeLists.txt</a><br>

<br>
<br>
CMake Error at CMakeLists.txt:37 (include):<br>
  include could not find load file:<br>
<br>
<br>
/home/daniel/<a href="http://jderobot.org/trunk/src/stable/components/cameraview/build/../../../../Deps/opencv/CMakeLists.txt" target="_blank">jderobot.org/trunk/src/stable/components/cameraview/build/../../../../Deps/opencv/CMakeLists.txt</a><br>

<br>
<br>
CMake Error at ../../../libs/CMakeLists.txt:1 (list_subdirectories):<br>
  Unknown CMake command &quot;list_subdirectories&quot;.<br>
<br>
<br>
En el fichero CMakeLists.txt he cambiado la siguiente línea<br>
SET( DEPS_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../../../Deps)<br>
por esta otra:<br>
SET( DEPS_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../../../../Deps)<br>
y se solucionaron los dos primeros errores, pero el último sigue ahí:<br>
<br>
$ cmake .<br>
-- The C compiler identification is GNU<br>
-- The CXX compiler identification is GNU<br>
-- Check for working C compiler: /usr/bin/gcc<br>
-- Check for working C compiler: /usr/bin/gcc -- works<br>
-- Detecting C compiler ABI info<br>
-- Detecting C compiler ABI info - done<br>
-- Check for working CXX compiler: /usr/bin/c++<br>
-- Check for working CXX compiler: /usr/bin/c++ -- works<br>
-- Detecting CXX compiler ABI info<br>
-- Detecting CXX compiler ABI info - done<br>
-- checking for module &#39;gtkmm-2.4&#39;<br>
--   found gtkmm-2.4, version 2.24.2<br>
-- checking for module &#39;libglademm-2.4&#39;<br>
--   found libglademm-2.4, version 2.6.7<br>
*** ICE ok<br>
OpenCV was found in: /usr/local/include/opencv<br>
CMake Error at ../../../libs/CMakeLists.txt:1 (list_subdirectories):<br>
  Unknown CMake command &quot;list_subdirectories&quot;.<br>
<br>
<br>
-- Configuring incomplete, errors occurred!<br>
<br>
No sé que hacer con &quot;list_subdirectories&quot;. Tampoco tengo mucha idea de<br>
cmake, así que no sé si haber modificado el CMakeLists.txt ha sido buena<br>
idea. ¿Alguna ayuda?<br>
<br>
Daniel.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://jderobot-developer-list.2315034.n4.nabble.com/Problemas-al-compilar-cameraview-tp4641689.html" target="_blank">http://jderobot-developer-list.2315034.n4.nabble.com/Problemas-al-compilar-cameraview-tp4641689.html</a><br>

Sent from the Jderobot Developer List mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Jde-developers mailing list<br>
<a href="mailto:Jde-developers@gsyc.es">Jde-developers@gsyc.es</a><br>
<a href="http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers" target="_blank">http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers</a><br>
</blockquote></div><br></div>