<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); "><div>Did you guys get a chance to compile the 1.2.0 version of ginga-ar ?</div><div>I am struggling to compile, because of FindBoost.cmake.</div>
<div>If u have some hints for me, please let me know :D</div><div><br></div><div>This is what i did:</div><div><font size="4"><b>Cross-compiled the boost library using the sh4-linux-g++ and installed in the /opt/STM/STLinux-2.3/devkit/sh4/target/usr/local/boost:</b></font></div>
<div><br></div><div>$ ./bootstrap.sh --prefix=/opt/STM/STLinux-2.3/devkit/sh4/target/usr/local/boost --with-libraries=thread,filesystem,regex</div><div>$ ./b2 --prefix=/opt/STM/STLinux-2.3/devkit/sh4/target/usr/local/boost toolset=gcc-sh4 --with-thread --with-filesystem --with-regex</div>
<div>$ ./b2 install</div><div><br></div><div><b><font size="4">Then i set the BOOST_ROOT environment to point to that directory, but i am still getting this error:</font></b></div><div>raptor7@debian:~/<a href="http://ginga.ar/tags/release/1.2.0/src$" target="_blank" style="color: rgb(0, 0, 204); ">ginga.ar/tags/release/1.2.0/src$</a> export BOOST_ROOT=/opt/STM/STLinux-2.3/devkit/sh4/target/usr/local/boost/</div>
<div><div>include/ lib/     </div><div>raptor7@debian:~/<a href="http://ginga.ar/tags/release/1.2.0/src$" target="_blank" style="color: rgb(0, 0, 204); ">ginga.ar/tags/release/1.2.0/src$</a> export BOOST_ROOT=/opt/STM/STLinux-2.3/devkit/sh4/target/usr/local/boost/</div>
<div>raptor7@debian:~/<a href="http://ginga.ar/tags/release/1.2.0/src$" target="_blank" style="color: rgb(0, 0, 204); ">ginga.ar/tags/release/1.2.0/src$</a> export BOOST_INCLUDEDIR=/opt/STM/STLinux-2.3/devkit/sh4/target/usr/local/boost/</div>
<div>include/ lib/     </div><div>raptor7@debian:~/<a href="http://ginga.ar/tags/release/1.2.0/src$" target="_blank" style="color: rgb(0, 0, 204); ">ginga.ar/tags/release/1.2.0/src$</a> export BOOST_INCLUDEDIR=/opt/STM/STLinux-2.3/devkit/sh4/target/usr/local/boost/include/</div>
<div>raptor7@debian:~/<a href="http://ginga.ar/tags/release/1.2.0/src$" target="_blank" style="color: rgb(0, 0, 204); ">ginga.ar/tags/release/1.2.0/src$</a> export BOOST_LIBRARYDIR=/opt/STM/STLinux-2.3/devkit/sh4/target/usr/local/boost/lib/</div>
<div>raptor7@debian:~/<a href="http://ginga.ar/tags/release/1.2.0/src$" target="_blank" style="color: rgb(0, 0, 204); ">ginga.ar/tags/release/1.2.0/src$</a> ls /opt/STM/STLinux-2.3/devkit/sh4/target/usr/local/boost/</div>
<div>include  lib</div><div>raptor7@debian:~/<a href="http://ginga.ar/tags/release/1.2.0/src$" target="_blank" style="color: rgb(0, 0, 204); ">ginga.ar/tags/release/1.2.0/src$</a> ls /opt/STM/STLinux-2.3/devkit/sh4/target/usr/local/boost/include/</div>
<div>boost</div><div>raptor7@debian:~/<a href="http://ginga.ar/tags/release/1.2.0/src$" target="_blank" style="color: rgb(0, 0, 204); ">ginga.ar/tags/release/1.2.0/src$</a> ls /opt/STM/STLinux-2.3/devkit/sh4/target/usr/local/boost/lib/</div>
<div>libboost_filesystem.a   libboost_filesystem.so.1.47.0  libboost_regex.so         libboost_system.a   libboost_system.so.1.47.0  libboost_thread.so</div><div>libboost_filesystem.so  libboost_regex.a               libboost_regex.so.1.47.0  libboost_system.so  libboost_thread.a          libboost_thread.so.1.47.0</div>
<div><br></div><div><b><font size="4">Finally, when i tried to compile i get this error:</font></b></div><div><br></div><div>raptor7@debian:~/<a href="http://ginga.ar/tags/release/1.2.0/src$" target="_blank" style="color: rgb(0, 0, 204); ">ginga.ar/tags/release/1.2.0/src$</a> ./ginga.sh ST</div>
<div>Toolchain: -DCMAKE_TOOLCHAIN_FILE=/home/raptor7/<a href="http://ginga.ar/tags/release/1.2.0//config/Platform_ST.cmake" target="_blank" style="color: rgb(0, 0, 204); ">ginga.ar/tags/release/1.2.0//config/Platform_ST.cmake</a></div>
<div>Building dtv-util...</div><div>-- USER CONFIG FILE: /home/raptor7/<a href="http://ginga.ar/tags/release/1.2.0/config/SetupUser.cmake" target="_blank" style="color: rgb(0, 0, 204); ">ginga.ar/tags/release/1.2.0/config/SetupUser.cmake</a></div>
<div>-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:525 ] Boost not in cache</div><div>-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:528 ] _boost_TEST_VERSIONS = 1.47;1.47.0;1.46.1;1.46.0;1.46;1.45.0;1.45;1.44.0;1.44;1.43.0;1.43;1.42.0;1.42;1.41.0;1.41;1.40.0;1.40;1.39.0;1.39</div>
<div>-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:530 ] Boost_USE_MULTITHREADED = TRUE</div><div>-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:532 ] Boost_USE_STATIC_LIBS = </div><div>-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:534 ] Boost_USE_STATIC_RUNTIME = </div>
<div>-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:536 ] Boost_ADDITIONAL_VERSIONS = 1.47;1.47.0</div><div>-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:538 ] Boost_NO_SYSTEM_PATHS = false</div><div>-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:606 ] Declared as CMake or Environmental Variables:</div>
<div>-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:608 ]   BOOST_ROOT = /opt/STM/STLinux-2.3/devkit/sh4/target/usr/local/boost</div><div>-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:610 ]   BOOST_INCLUDEDIR = /opt/STM/STLinux-2.3/devkit/sh4/target/usr/local/boost/include/</div>
<div>-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:612 ]   BOOST_LIBRARYDIR = /opt/STM/STLinux-2.3/devkit/sh4/target/usr/local/boost/lib/</div><div>-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:614 ] _boost_TEST_VERSIONS = 1.47;1.47.0;1.46.1;1.46.0;1.46;1.45.0;1.45;1.44.0;1.44;1.43.0;1.43;1.42.0;1.42;1.41.0;1.41;1.40.0;1.40;1.39.0;1.39</div>
<div>-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:667 ] Include debugging info:</div><div>-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:669 ]   _boost_INCLUDE_SEARCH_DIRS = /opt/STM/STLinux-2.3/devkit/sh4/target/usr/local/boost/include;/opt/STM/STLinux-2.3/devkit/sh4/target/usr/local/boost/include;/opt/STM/STLinux-2.3/devkit/sh4/target/usr/local/boost;C:/boost/include;C:/boost;/boost/include;/boost;/sw/local/include</div>
<div>-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:671 ]   _boost_PATH_SUFFIXES = boost-1_47;boost_1_47;boost-1_47_0;boost_1_47_0;boost-1_46_1;boost_1_46_1;boost-1_46_0;boost_1_46_0;boost-1_46;boost_1_46;boost-1_45_0;boost_1_45_0;boost-1_45;boost_1_45;boost-1_44_0;boost_1_44_0;boost-1_44;boost_1_44;boost-1_43_0;boost_1_43_0;boost-1_43;boost_1_43;boost-1_42_0;boost_1_42_0;boost-1_42;boost_1_42;boost-1_41_0;boost_1_41_0;boost-1_41;boost_1_41;boost-1_40_0;boost_1_40_0;boost-1_40;boost_1_40;boost-1_39_0;boost_1_39_0;boost-1_39;boost_1_39</div>
<div>-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:806 ] guessed _boost_COMPILER = -gcc</div><div>-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:816 ] _boost_MULTITHREADED = -mt</div><div>-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:859 ] _boost_RELEASE_ABI_TAG = -</div>
<div>-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:861 ] _boost_DEBUG_ABI_TAG = -d</div><div>-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:904 ] _boost_LIBRARY_SEARCH_DIRS = /opt/STM/STLinux-2.3/devkit/sh4/target/usr/local/boost/lib;/opt/STM/STLinux-2.3/devkit/sh4/target/usr/local/boost/lib;/opt/STM/STLinux-2.3/devkit/sh4/target/usr/local/boost/stage/lib;Boost_INCLUDE_DIR-NOTFOUND/lib;Boost_INCLUDE_DIR-NOTFOUND/../lib;Boost_INCLUDE_DIR-NOTFOUND/stage/lib;C:/boost/lib;C:/boost;/boost/boost___/lib;/boost/boost__/lib;/boost/lib;/boost;/sw/local/lib</div>
<div>-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:975 ] Searching for SYSTEM_LIBRARY_RELEASE: boost_system-gcc-mt-;boost_system-gcc-mt;boost_system-mt-;boost_system-mt;boost_system</div><div>-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:1007 ] Searching for SYSTEM_LIBRARY_DEBUG: boost_system-gcc-mt-d-;boost_system-gcc-mt-d;boost_system-mt-d-;boost_system-mt-d;boost_system-mt;boost_system</div>
<div>-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:975 ] Searching for FILESYSTEM_LIBRARY_RELEASE: boost_filesystem-gcc-mt-;boost_filesystem-gcc-mt;boost_filesystem-mt-;boost_filesystem-mt;boost_filesystem</div>
<div>-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:1007 ] Searching for FILESYSTEM_LIBRARY_DEBUG: boost_filesystem-gcc-mt-d-;boost_filesystem-gcc-mt-d;boost_filesystem-mt-d-;boost_filesystem-mt-d;boost_filesystem-mt;boost_filesystem</div>
<div>-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:975 ] Searching for THREAD_LIBRARY_RELEASE: boost_thread-gcc-mt-;boost_thread-gcc-mt;boost_thread-mt-;boost_thread-mt;boost_thread</div><div>-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:1007 ] Searching for THREAD_LIBRARY_DEBUG: boost_thread-gcc-mt-d-;boost_thread-gcc-mt-d;boost_thread-mt-d-;boost_thread-mt-d;boost_thread-mt;boost_thread</div>
<div>CMake Error at /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:1197 (message):</div><div>  Unable to find the requested Boost libraries.</div><div><br></div><div>  Unable to find the Boost header files.  Please set BOOST_ROOT to the root</div>
<div>  directory containing Boost or BOOST_INCLUDEDIR to the directory containing</div><div>  Boost&#39;s headers.</div><div>Call Stack (most recent call first):</div><div>  CMakeLists.txt:15 (find_package)</div><div><br>
</div><div><br></div><div>-- </div><div>-- -------------------------------------------------------------------------------</div><div>-- PROJECT_NAME = util</div><div>-- PROJECT_DESCRIPTION = This is a misc. Ginga Util library.</div>
<div>-- PROJECT_VERSION = 0.11.1.0</div><div>-- PLATFORM = ST</div><div>-- PLATFORM_FILE = /home/raptor7/<a href="http://ginga.ar/tags/release/1.2.0//config/Platform_ST.cmake" target="_blank" style="color: rgb(0, 0, 204); ">ginga.ar/tags/release/1.2.0//config/Platform_ST.cmake</a></div>
<div>-- </div><div>-- BUILD_SHARED = 1</div><div>-- CMAKE_INSTALL_PREFIX = /tmp/ginga</div><div>-- CMAKE_BUILD_TYPE = Release</div><div>-- CMAKE_MODULE_PATH = /home/raptor7/<a href="http://ginga.ar/tags/release/1.2.0//config;/home/raptor7/ginga.ar/tags/release/1.2.0/src/dtv-util" target="_blank" style="color: rgb(0, 0, 204); ">ginga.ar/tags/release/1.2.0//config;/home/raptor7/ginga.ar/tags/release/1.2.0/src/dtv-util</a></div>
<div>-- CMAKE_FIND_ROOT_PATH = /opt/STM/STLinux-2.3/devkit/sh4/target</div><div>-- PROJECT_DEPENDS = &quot;&quot;</div><div>-- BUILD_WITH = &quot;&quot;</div><div>-- INSTALL_DOC = </div><div>-- Change a value with: cmake -D&lt;Variable&gt;=&lt;Value&gt;</div>
<div>-- -------------------------------------------------------------------------------</div><div>-- UTIL_INCLUDE_DIRECTORIES = Boost_INCLUDE_DIR-NOTFOUND;/home/raptor7/<a href="http://ginga.ar/tags/release/1.2.0/src/dtv-util" target="_blank" style="color: rgb(0, 0, 204); ">ginga.ar/tags/release/1.2.0/src/dtv-util</a></div>
<div>-- UTIL_LINK_DIRECTORIES = </div><div>-- UTIL_LINK_LIBRARIES = pthread</div><div>-- -------------------------------------------------------------------------------</div><div>CMake Error: The following variables are used in this project, but they are set to NOTFOUND.</div>
<div>Please set them or make sure they are set and tested correctly in the CMake files:</div><div>Boost_INCLUDE_DIR (ADVANCED)</div><div>   used as include directory in directory /home/raptor7/<a href="http://ginga.ar/tags/release/1.2.0/src/dtv-util" target="_blank" style="color: rgb(0, 0, 204); ">ginga.ar/tags/release/1.2.0/src/dtv-util</a></div>
<div><br></div><div>-- Configuring incomplete, errors occurred!</div></div><div><br></div></span>Bruno Seabra Mendonça Lima<br>--------------<br><a href="http://about.me/bruno.seabra" target="_blank">http://about.me/bruno.seabra</a><br>