[Ginga-argentina] Ginga-ar 1.2.0 compiling issues
Bruno Lima
bslima19 at gmail.com
Sun Oct 16 21:00:09 CEST 2011
Did you guys get a chance to compile the 1.2.0 version of ginga-ar ?
I am struggling to compile, because of FindBoost.cmake.
If u have some hints for me, please let me know :D
This is what i did:
*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:*
$ ./bootstrap.sh
--prefix=/opt/STM/STLinux-2.3/devkit/sh4/target/usr/local/boost
--with-libraries=thread,filesystem,regex
$ ./b2 --prefix=/opt/STM/STLinux-2.3/devkit/sh4/target/usr/local/boost
toolset=gcc-sh4 --with-thread --with-filesystem --with-regex
$ ./b2 install
*Then i set the BOOST_ROOT environment to point to that directory, but i am
still getting this error:*
raptor7 at debian:~/ginga.ar/tags/release/1.2.0/src$ export
BOOST_ROOT=/opt/STM/STLinux-2.3/devkit/sh4/target/usr/local/boost/
include/ lib/
raptor7 at debian:~/ginga.ar/tags/release/1.2.0/src$ export
BOOST_ROOT=/opt/STM/STLinux-2.3/devkit/sh4/target/usr/local/boost/
raptor7 at debian:~/ginga.ar/tags/release/1.2.0/src$ export
BOOST_INCLUDEDIR=/opt/STM/STLinux-2.3/devkit/sh4/target/usr/local/boost/
include/ lib/
raptor7 at debian:~/ginga.ar/tags/release/1.2.0/src$ export
BOOST_INCLUDEDIR=/opt/STM/STLinux-2.3/devkit/sh4/target/usr/local/boost/include/
raptor7 at debian:~/ginga.ar/tags/release/1.2.0/src$ export
BOOST_LIBRARYDIR=/opt/STM/STLinux-2.3/devkit/sh4/target/usr/local/boost/lib/
raptor7 at debian:~/ginga.ar/tags/release/1.2.0/src$ ls
/opt/STM/STLinux-2.3/devkit/sh4/target/usr/local/boost/
include lib
raptor7 at debian:~/ginga.ar/tags/release/1.2.0/src$ ls
/opt/STM/STLinux-2.3/devkit/sh4/target/usr/local/boost/include/
boost
raptor7 at debian:~/ginga.ar/tags/release/1.2.0/src$ ls
/opt/STM/STLinux-2.3/devkit/sh4/target/usr/local/boost/lib/
libboost_filesystem.a libboost_filesystem.so.1.47.0 libboost_regex.so
libboost_system.a libboost_system.so.1.47.0 libboost_thread.so
libboost_filesystem.so libboost_regex.a
libboost_regex.so.1.47.0 libboost_system.so libboost_thread.a
libboost_thread.so.1.47.0
*Finally, when i tried to compile i get this error:*
raptor7 at debian:~/ginga.ar/tags/release/1.2.0/src$ ./ginga.sh ST
Toolchain: -DCMAKE_TOOLCHAIN_FILE=/home/raptor7/
ginga.ar/tags/release/1.2.0//config/Platform_ST.cmake
Building dtv-util...
-- USER CONFIG FILE: /home/raptor7/
ginga.ar/tags/release/1.2.0/config/SetupUser.cmake
-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:525 ] Boost not in
cache
-- [ /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
-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:530 ]
Boost_USE_MULTITHREADED = TRUE
-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:532 ]
Boost_USE_STATIC_LIBS =
-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:534 ]
Boost_USE_STATIC_RUNTIME =
-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:536 ]
Boost_ADDITIONAL_VERSIONS = 1.47;1.47.0
-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:538 ]
Boost_NO_SYSTEM_PATHS = false
-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:606 ] Declared as
CMake or Environmental Variables:
-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:608 ] BOOST_ROOT =
/opt/STM/STLinux-2.3/devkit/sh4/target/usr/local/boost
-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:610 ]
BOOST_INCLUDEDIR =
/opt/STM/STLinux-2.3/devkit/sh4/target/usr/local/boost/include/
-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:612 ]
BOOST_LIBRARYDIR =
/opt/STM/STLinux-2.3/devkit/sh4/target/usr/local/boost/lib/
-- [ /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
-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:667 ] Include
debugging info:
-- [ /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
-- [ /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
-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:806 ] guessed
_boost_COMPILER = -gcc
-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:816 ]
_boost_MULTITHREADED = -mt
-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:859 ]
_boost_RELEASE_ABI_TAG = -
-- [ /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:861 ]
_boost_DEBUG_ABI_TAG = -d
-- [ /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
-- [ /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
-- [ /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
-- [ /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
-- [ /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
-- [ /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
-- [ /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
CMake Error at /usr/local/share/cmake-2.8/Modules/FindBoost.cmake:1197
(message):
Unable to find the requested Boost libraries.
Unable to find the Boost header files. Please set BOOST_ROOT to the root
directory containing Boost or BOOST_INCLUDEDIR to the directory containing
Boost's headers.
Call Stack (most recent call first):
CMakeLists.txt:15 (find_package)
--
--
-------------------------------------------------------------------------------
-- PROJECT_NAME = util
-- PROJECT_DESCRIPTION = This is a misc. Ginga Util library.
-- PROJECT_VERSION = 0.11.1.0
-- PLATFORM = ST
-- PLATFORM_FILE = /home/raptor7/
ginga.ar/tags/release/1.2.0//config/Platform_ST.cmake
--
-- BUILD_SHARED = 1
-- CMAKE_INSTALL_PREFIX = /tmp/ginga
-- CMAKE_BUILD_TYPE = Release
-- CMAKE_MODULE_PATH = /home/raptor7/
ginga.ar/tags/release/1.2.0//config;/home/raptor7/ginga.ar/tags/release/1.2.0/src/dtv-util
-- CMAKE_FIND_ROOT_PATH = /opt/STM/STLinux-2.3/devkit/sh4/target
-- PROJECT_DEPENDS = ""
-- BUILD_WITH = ""
-- INSTALL_DOC =
-- Change a value with: cmake -D<Variable>=<Value>
--
-------------------------------------------------------------------------------
-- UTIL_INCLUDE_DIRECTORIES = Boost_INCLUDE_DIR-NOTFOUND;/home/raptor7/
ginga.ar/tags/release/1.2.0/src/dtv-util
-- UTIL_LINK_DIRECTORIES =
-- UTIL_LINK_LIBRARIES = pthread
--
-------------------------------------------------------------------------------
CMake Error: The following variables are used in this project, but they are
set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake
files:
Boost_INCLUDE_DIR (ADVANCED)
used as include directory in directory /home/raptor7/
ginga.ar/tags/release/1.2.0/src/dtv-util
-- Configuring incomplete, errors occurred!
Bruno Seabra Mendonça Lima
--------------
http://about.me/bruno.seabra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ourproject.org/pipermail/ginga-argentina/attachments/20111016/5003a4e4/attachment.htm
More information about the Ginga-argentina
mailing list