Aye, it works :) Thanks!

Am 24.01.2014 um 12:25 schrieb Thomas Roehr <[email protected]>:

> On 01/24/2014 11:54 AM, Alexander Dieterle wrote:
>> Hey Matthias,
>> 
>> as stated in the CMAKE output, ruby is indeed found (although GEM_rice is 
>> not); it appears to be automatically delivered with mac os (cannot recall 
>> installing it manually).
>> 
>> Running cmake with -LAH to list all variables confirms that:
>> 
>> 
>> Dieterle-iMac:build dieterle$ cmake_debug -LAH
>> -- Export include dir: 
>> '/Arbeit/dev/mars_git/mars/external/types/build/include/_base-geometry_/base/geometry'
>>  already exists
>> -- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE) 
>> -- Export include dir: 
>> '/Arbeit/dev/mars_git/mars/external/types/build/include/_base_/base' already 
>> exists
>> -- SISL library not found, NURBS 3D curve wrappers won't be installed 
>> (missing:  SISL_INCLUDE_DIRS SISL_LIBRARIES) 
>> -- Compiling base without 'spline' support
>> -- checking for module 'vizkit3d'
>> --   package 'vizkit3d' not found
>> -- vizkit3d not found ... NOT building the vizkit3d plugin
>> -- FindRuby: looking for config.h
>> -- did not find Yard, the Ruby packages won't generate documentation
>> -- Ruby library found
>> -- found Ruby version 1.8.7
>> -- Could not find all required gems (missing:  GEM_rice_FOUND) 
>> CMake Warning at 
>> /Arbeit/dev/mars_git/install/share/rock/cmake/RockRuby.cmake:300 (message):
>>  cannot find the rice gem -- extension base_types_ruby will not be available
>> Call Stack (most recent call first):
>>  /Arbeit/dev/mars_git/install/share/rock/cmake/RockRuby.cmake:97 
>> (rock_ruby_rice_extension)
>>  bindings/ruby/CMakeLists.txt:2 (rock_add_ruby_package)
>> 
>> 
>> CMake Error at bindings/ruby/CMakeLists.txt:7 (target_link_libraries):
>>  Cannot specify link libraries for target "base_types_ruby" which is not
>>  built by this project.
>> 
>> 
>> -- Configuring incomplete, errors occurred!
>> See also 
>> "/Arbeit/dev/mars_git/mars/external/types/build/CMakeFiles/CMakeOutput.log".
>> See also 
>> "/Arbeit/dev/mars_git/mars/external/types/build/CMakeFiles/CMakeError.log".
>> -- Cache values
>> // the place where the downloaded boost release is saved if 
>> NO_BOOST_DEPENDENCY is set
>> BOOST_LOCAL_TARBALL_PATH:STRING=/Arbeit/dev/mars_git/mars/external/types/external/boost.tar.bz2
>> 
>> // the URL from which boost should be downloaded if NO_BOOST_DEPENDENCY is 
>> set. The value of BOOST_SUBDIRECTORY has to be set accordingly
>> BOOST_RELEASE_URL:STRING=http://sourceforge.net/projects/boost/files/boost/1.55.0/boost_1_55_0.tar.bz2/download
>> 
>> // the first directory in the boost release tarball pointed by 
>> BOOST_RELEASE_URL (i.e. the first level directory that appears when 
>> unpacking the tarball). Used only if NO_BOOST_DEPENDENCY is set
>> BOOST_SUBDIRECTORY:STRING=boost_1_55_0
>> 
>> // Path to a file.
>> Boost_INCLUDE_DIR:PATH=/opt/local/include
>> 
>> // Boost library directory
>> Boost_LIBRARY_DIRS:FILEPATH=/opt/local/lib
>> 
>> // Path to a program.
>> CMAKE_AR:FILEPATH=/usr/bin/ar
>> 
>> // Choose the type of build, options are: None(CMAKE_CXX_FLAGS or 
>> CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.
>> CMAKE_BUILD_TYPE:STRING=DEBUG
>> 
>> // Enable/Disable color output during build.
>> CMAKE_COLOR_MAKEFILE:BOOL=ON
>> 
>> // CXX compiler.
>> CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++
>> 
>> // Flags used by the compiler during all build types.
>> CMAKE_CXX_FLAGS:STRING=
>> 
>> // Flags used by the compiler during debug builds.
>> CMAKE_CXX_FLAGS_DEBUG:STRING=-g
>> 
>> // Flags used by the compiler during release minsize builds.
>> CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
>> 
>> // Flags used by the compiler during release builds (/MD /Ob1 /Oi /Ot /Oy 
>> /Gs will produce slightly less optimized but smaller files).
>> CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
>> 
>> // Flags used by the compiler during Release with Debug Info builds.
>> CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
>> 
>> // C compiler.
>> CMAKE_C_COMPILER:FILEPATH=/usr/bin/cc
>> 
>> // Flags used by the compiler during all build types.
>> CMAKE_C_FLAGS:STRING=
>> 
>> // Flags used by the compiler during debug builds.
>> CMAKE_C_FLAGS_DEBUG:STRING=-g
>> 
>> // Flags used by the compiler during release minsize builds.
>> CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
>> 
>> // Flags used by the compiler during release builds (/MD /Ob1 /Oi /Ot /Oy 
>> /Gs will produce slightly less optimized but smaller files).
>> CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
>> 
>> // Flags used by the compiler during Release with Debug Info builds.
>> CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
>> 
>> // Flags used by the linker.
>> CMAKE_EXE_LINKER_FLAGS:STRING= 
>> 
>> // Flags used by the linker during debug builds.
>> CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
>> 
>> // Flags used by the linker during release minsize builds.
>> CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
>> 
>> // Flags used by the linker during release builds.
>> CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
>> 
>> // Flags used by the linker during Release with Debug Info builds.
>> CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
>> 
>> // Enable/Disable output of compile commands during generation.
>> CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF
>> 
>> // Path to a program.
>> CMAKE_INSTALL_NAME_TOOL:FILEPATH=/usr/bin/install_name_tool
>> 
>> // Install path prefix, prepended onto install directories.
>> CMAKE_INSTALL_PREFIX:PATH=/Arbeit/dev/mars_git/install
>> 
>> // Path to a program.
>> CMAKE_LINKER:FILEPATH=/usr/bin/ld
>> 
>> // Path to a program.
>> CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make
>> 
>> // Flags used by the linker during the creation of modules.
>> CMAKE_MODULE_LINKER_FLAGS:STRING= 
>> 
>> // Flags used by the linker during debug builds.
>> CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
>> 
>> // Flags used by the linker during release minsize builds.
>> CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
>> 
>> // Flags used by the linker during release builds.
>> CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
>> 
>> // Flags used by the linker during Release with Debug Info builds.
>> CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
>> 
>> // Path to a program.
>> CMAKE_NM:FILEPATH=/usr/bin/nm
>> 
>> // Path to a program.
>> CMAKE_OBJCOPY:FILEPATH=CMAKE_OBJCOPY-NOTFOUND
>> 
>> // Path to a program.
>> CMAKE_OBJDUMP:FILEPATH=CMAKE_OBJDUMP-NOTFOUND
>> 
>> // Build architectures for OSX
>> CMAKE_OSX_ARCHITECTURES:STRING=
>> 
>> // Minimum OS X version to target for deployment (at runtime); newer APIs 
>> weak linked. Set to empty string for default value.
>> CMAKE_OSX_DEPLOYMENT_TARGET:STRING=
>> 
>> // The product will be built against the headers and libraries located 
>> inside the indicated SDK.
>> CMAKE_OSX_SYSROOT:STRING=
>> 
>> // Path to a program.
>> CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
>> 
>> // Flags used by the linker during the creation of dll's.
>> CMAKE_SHARED_LINKER_FLAGS:STRING= 
>> 
>> // Flags used by the linker during debug builds.
>> CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
>> 
>> // Flags used by the linker during release minsize builds.
>> CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
>> 
>> // Flags used by the linker during release builds.
>> CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
>> 
>> // Flags used by the linker during Release with Debug Info builds.
>> CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
>> 
>> // If set, runtime paths are not added when installing shared libraries, but 
>> are added when building.
>> CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
>> 
>> // If set, runtime paths are not added when using shared libraries.
>> CMAKE_SKIP_RPATH:BOOL=NO
>> 
>> // Flags used by the linker during the creation of static libraries.
>> CMAKE_STATIC_LINKER_FLAGS:STRING=
>> 
>> // Flags used by the linker during debug builds.
>> CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
>> 
>> // Flags used by the linker during release minsize builds.
>> CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
>> 
>> // Flags used by the linker during release builds.
>> CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
>> 
>> // Flags used by the linker during Release with Debug Info builds.
>> CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
>> 
>> // Path to a program.
>> CMAKE_STRIP:FILEPATH=/usr/bin/strip
>> 
>> // If true, cmake will use relative paths in makefiles and projects.
>> CMAKE_USE_RELATIVE_PATHS:BOOL=OFF
>> 
>> // If this value is on, makefiles will be generated without the .SILENT 
>> directive, and all commands will be echoed to the console during the make.  
>> This is useful for debugging only. With Visual Studio IDE projects all 
>> commands are done without /nologo.
>> CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
>> 
>> // Graphviz Dot tool for using Doxygen
>> DOXYGEN_DOT_EXECUTABLE:FILEPATH=DOXYGEN_DOT_EXECUTABLE-NOTFOUND
>> 
>> // Doxygen documentation generation tool (http://www.doxygen.org)
>> DOXYGEN_EXECUTABLE:FILEPATH=DOXYGEN_EXECUTABLE-NOTFOUND
>> 
>> // Path to a program.
>> GEM_EXECUTABLE:FILEPATH=/usr/bin/gem
>> 
>> // set to true to force cmake to download and install the header-only parts 
>> of boost. BOOST_RELEASE_URL and BOOST_SUBDIRECTORY allow to tune what should 
>> actually be downloaded
>> NO_BOOST_DEPENDENCY:BOOL=false
>> 
>> // pkg-config executable
>> PKG_CONFIG_EXECUTABLE:FILEPATH=/opt/local/bin/pkg-config
>> 
>> // set to OFF to disable the visualization plugin. Visualization plugins are 
>> automatically disabled if Rock's vizkit3d is not available
>> ROCK_VIZ_ENABLED:BOOL=ON
>> 
>> // The Ruby arch dir
>> RUBY_ARCH_DIR:PATH=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin12.0
>> 
>> // Path to a file.
>> RUBY_CONFIG_INCLUDE_DIR:PATH=/System/Library/Frameworks/ruby.framework
>> 
>> // Path to a program.
>> RUBY_EXECUTABLE:FILEPATH=/usr/bin/ruby
>> 
>> // Vendor Ruby is available
>> RUBY_HAS_VENDOR_RUBY:BOOL=
>> 
>> // The Ruby header dir (1.9)
>> RUBY_HDR_DIR:PATH=nil
>> 
>> // Path to a file.
>> RUBY_INCLUDE_DIR:PATH=/System/Library/Frameworks/Ruby.framework/Headers
>> 
>> // Path to a library.
>> RUBY_LIBRARY:FILEPATH=/System/Library/Frameworks/ruby.framework
>> 
>> // The Ruby lib dir
>> RUBY_POSSIBLE_LIB_DIR:PATH=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib
>> 
>> // The Ruby ruby-lib dir
>> RUBY_RUBY_LIB_DIR:PATH=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8
>> 
>> // The Ruby site arch dir
>> RUBY_SITEARCH_DIR:PATH=/Library/Ruby/Site/1.8/universal-darwin12.0
>> 
>> // The Ruby site lib dir
>> RUBY_SITELIB_DIR:PATH=/Library/Ruby/Site/1.8
>> 
>> // The Ruby vendor arch dir
>> RUBY_VENDORARCH_DIR:PATH=
>> 
>> // The Ruby vendor lib dir
>> RUBY_VENDORLIB_DIR:PATH=
>> 
>> // The Ruby major version
>> RUBY_VERSION_MAJOR:PATH=1
>> 
>> // The Ruby minor version
>> RUBY_VERSION_MINOR:PATH=8
>> 
>> // The Ruby patch version
>> RUBY_VERSION_PATCH:PATH=7
>> 
>> // The directory containing a CMake configuration file for Rock.
>> Rock_DIR:PATH=/Arbeit/dev/mars_git/install/share/rock/cmake
>> 
>> // Path to a file.
>> SISL_INCLUDE_DIRS:PATH=SISL_INCLUDE_DIRS-NOTFOUND
>> 
>> // Path to a library.
>> SISL_LIBRARIES:FILEPATH=SISL_LIBRARIES-NOTFOUND
>> 
>> // the installation prefix for the SISL library
>> SISL_PREFIX:FILEPATH=/Arbeit/dev/mars_git/install
>> 
>> // Path to a program.
>> YARD:FILEPATH=YARD-NOTFOUND
>> 
>> Dieterle-iMac:build dieterle$ 
>> 
>> 
>> 
>> However, the variables you listed aren't even there. 
>> 
>> I'm not using autoproj btw, I try to compile base/types individually in 
>> order to start its integration to MARS. 
>> 
>> How to proceed?
>> 
>> 
>> Best regards,
>> 
>> -Alex
>> 
>> 
>> 
>> Am 24.01.2014 um 11:41 schrieb Matthias Goldhoorn 
>> <[email protected]>:
>> 
>>> To your problem ir should be working, this is handled by Rock.cmake line 
>>> 141 there is a check wether ruby exist or not. Are you sure that you don't 
>>> have installed ruby? Could you please inspect the CMAKE Variable  
>>> RUBY_FOUND und base_AVAILABLE
>>> 
>>> Small hin, autoproj should be macos compatible, i ported it in the past. 
>>> But sinc'e there i no active user we could no improve it. If you like to 
>>> please use it and tell us any bugs that might be left so that we can fully 
>>> support macos
>>> 
>>> Grüße,
>>> Matthias
>>> 
>>> On 24.01.2014 11:12, Alexander Dieterle wrote:
>>>> Hallo ROCK-Devs,
>>>> 
>>>> ich würde gerne auf meinem Mac base/types ohne Ruby bauen.
>>>> 
>>>> Hierzu habe ich rock-base/cmake.git und rock-base/types.git ausgecheckt, 
>>>> das cmake-modul gebaut und per make install installiert. Nun mein 
>>>> environment um CMAKE_MODULE_PATH per
>>>> export 
>>>> CMAKE_MODULE_PATH="$CMAKE_MODULE_PATH:/Arbeit/dev/mars_git/install/share/rock/cmake/"
>>>> erweitert (der angegebene Pfad entspricht dem installpfad des cmake 
>>>> Pakets).
>>>> 
>>>> Wenn ich nun versuche, base/types zu bauen, erhalte ich folgenden Output:
>>>> 
>>>> 
>>>> 
>>>> Dieterle-iMac:build dieterle$ cmake_debug
>>>> -- The C compiler identification is Clang 5.0.0
>>>> -- The CXX compiler identification is Clang 5.0.0
>>>> -- Check for working C compiler: /usr/bin/cc
>>>> -- Check for working C compiler: /usr/bin/cc -- 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
>>>> -- Found PkgConfig: /opt/local/bin/pkg-config (found version "0.28")
>>>> -- Performing Test CXX_SUPPORTS_Wall
>>>> -- Performing Test CXX_SUPPORTS_Wall - Success
>>>> -- Performing Test CXX_SUPPORTS_Wno_unused_local_typedefs
>>>> -- Performing Test CXX_SUPPORTS_Wno_unused_local_typedefs - Failed
>>>> -- Boost version: 1.55.0
>>>> -- checking for module 'eigen3'
>>>> --   found eigen3, version 3.0.6
>>>> -- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE)
>>>> -- SISL library not found, NURBS 3D curve wrappers won't be installed 
>>>> (missing:  SISL_INCLUDE_DIRS SISL_LIBRARIES)
>>>> -- Compiling base without 'spline' support
>>>> -- checking for module 'vizkit3d'
>>>> --   package 'vizkit3d' not found
>>>> -- vizkit3d not found ... NOT building the vizkit3d plugin
>>>> -- FindRuby: looking for config.h
>>>> -- Found Ruby: /usr/bin/ruby
>>>> -- did not find Yard, the Ruby packages won't generate documentation
>>>> -- Ruby library found
>>>> -- found Ruby version 1.8.7
>>>> -- Could not find all required gems (missing:  GEM_rice_FOUND)
>>>> CMake Warning at 
>>>> /Arbeit/dev/mars_git/install/share/rock/cmake/RockRuby.cmake:300 (message):
>>>>  cannot find the rice gem -- extension base_types_ruby will not be 
>>>> available
>>>> Call Stack (most recent call first):
>>>>  /Arbeit/dev/mars_git/install/share/rock/cmake/RockRuby.cmake:97 
>>>> (rock_ruby_rice_extension)
>>>>  bindings/ruby/CMakeLists.txt:2 (rock_add_ruby_package)
>>>> 
>>>> 
>>>> CMake Error at bindings/ruby/CMakeLists.txt:7 (target_link_libraries):
>>>>  Cannot specify link libraries for target "base_types_ruby" which is not
>>>>  built by this project.
>>>> 
>>>> 
>>>> -- Configuring incomplete, errors occurred!
>>>> See also 
>>>> "/Arbeit/dev/mars_git/mars/external/types/build/CMakeFiles/CMakeOutput.log".
>>>> See also 
>>>> "/Arbeit/dev/mars_git/mars/external/types/build/CMakeFiles/CMakeError.log".
>>>> 
>>>> An sich hätte ich gedacht, ruby sollte gar nicht gebaut werden, wenn rice 
>>>> nicht gefunden wird?
>>>> 
>>>> Kann jemand helfen? :)
>>>> 
> Is now fixed on master.
> 
> Best
> Thomas
> 
> -- 
> Thomas Röhr (M.Sc.)
> Space Robotics
> 
> Besuchsadresse der Nebengeschäftstelle:
> DFKI GmbH
> Robotics Innovation Center
> Robert-Hooke-Straße 5
> 28359 Bremen, Germany
> 
> Postadresse der Hauptgeschäftsstelle Standort Bremen:
> DFKI GmbH
> Robotics Innovation Center
> Robert-Hooke-Straße 1
> 28359 Bremen, Germany
> 
> Tel.:     +49 421 178 45-4151
> Zentrale: +49 421 178 45-0
> Fax:      +49 421 178 45-4150 (Faxe bitte namentlich kennzeichnen)
> E-Mail:   [email protected]
> 
> Weitere Informationen: http://www.dfki.de/robotik
> -----------------------------------------------------------------------
> Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
> Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
> Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster 
> (Vorsitzender) Dr. Walter Olthoff
> Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
> Amtsgericht Kaiserslautern, HRB 2313
> Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
> USt-Id.Nr.:    DE 148646973
> Steuernummer:  19/673/0060/3 
> -----------------------------------------------------------------------
> 

_______________________________________________
Rock-dev mailing list
[email protected]
http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev

Reply via email to