Re: [ros-users] electric - ogre not building on natty

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: User discussions
Date:  
To: User discussions
Subject: Re: [ros-users] electric - ogre not building on natty
I haven't seen this on Natty, but on Lucid we had issues with the fact
that the Nvidia Cg installer can 'succeed' even though it fails (e.g.
if the Nvidia website is down).

- Ken

On Tue, Nov 29, 2011 at 2:27 PM, Troy Straszheim
<> wrote:
> Does this look familar to anybody?
> Rosdep claims that all dependencies are installed.
> The rosinstall file was provided by
>
> rosinstall ~/ros
> "http://packages.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=electric&variant=desktop-full&overlay=no".
>
> I'm surprised this doesn't build out of the box...
>
>
> bsq.114 /home/ros-electric-desktop-full/visualization_common/ogre
> % make
> ./ensure-nvidia-cg-toolkit-is-installed.sh
> Package nvidia-cg-toolkit seems to be correctly installed.
> make[1]: Entering directory
> `/home/ros-electric-desktop-full/visualization_common/ogre'
> mkdir -p /home/ros-electric-desktop-full/visualization_common/ogre/build/ogre_src_v1-7-3/build;
> cd /home/ros-electric-desktop-full/visualization_common/ogre/build/ogre_src_v1-7-3/build
> && cmake -D CMAKE_INSTALL_PREFIX=/home/ros-electric-desktop-full/visualization_common/ogre/ogre
> -D CMAKE_OSX_ARCHITECTURES="x86_64" -D OGRE_BUILD_TOOLS="on" -D
> OGRE_BUILD_SAMPLES="off" -D OGRE_BUILD_TESTS="off" -D
> CMAKE_BUILD_TYPE="RelWithDebInfo" -D
> CMAKE_SHARED_LINKER_FLAGS="-Wl,-rpath,/home/ros-electric-desktop-full/visualization_common/ogre/ogre/lib"
> ..;
> -- Configuring OGRE 1.7.3
> -- Detected g++ 4.5.2
>
> -- Enabling GCC visibility flags
> -- Search path:
> /home/ros-electric-desktop-full/visualization_common/ogre/build/ogre_src_v1-7-3/build/Dependencies;/home/ros-electric-desktop-full/visualization_common/ogre/build/ogre_src_v1-7-3/Dependencies;/home/ros-electric-desktop-full/visualization_common/ogre/build/ogre_src_v1-7-3/build/../Dependencies;/home/ros-electric-desktop-full/visualization_common/ogre/build/ogre_src_v1-7-3/../Dependencies
> -- Looking for ZLIB...
> -- Could not locate ZLIB
> -- Looking for FreeImage...
> -- checking for module 'freeimage'
> --   package 'freeimage' not found
> -- Found FreeImage:
> optimized;/usr/lib/libfreeimage.so;debug;/usr/lib/libfreeimage.so
> -- Looking for FREETYPE...
> -- CMAKE_PREFIX_PATH:
> /home/ros-electric-desktop-full/visualization_common/ogre/build/ogre_src_v1-7-3/build/Dependencies;/home/ros-electric-desktop-full/visualization_common/ogre/build/ogre_src_v1-7-3/Dependencies;/home/ros-electric-desktop-full/visualization_common/ogre/build/ogre_src_v1-7-3/build/../Dependencies;/home/ros-electric-desktop-full/visualization_common/ogre/build/ogre_src_v1-7-3/../Dependencies;/usr/local
> -- Found FREETYPE:
> optimized;/usr/lib/x86_64-linux-gnu/libfreetype.so;debug;/usr/lib/x86_64-linux-gnu/libfreetype.so
> -- Looking for Cg...
> -- checking for module 'Cg'
> --   package 'Cg' not found
> -- Found Cg: optimized;/usr/lib/libCg.so;debug;/usr/lib/libCg.so
> -- Looking for POCO...
> -- checking for module 'POCO'
> --   package 'POCO' not found
> -- Could not locate POCO
> -- Looking for TBB...
> -- Found TBB: optimized;/usr/lib/libtbb.so;debug;/usr/lib/libtbb.so
> -- Looking for TBB_MALLOC...
> -- Found TBB_MALLOC:
> optimized;/usr/lib/libtbbmalloc.so;debug;/usr/lib/libtbbmalloc.so
> -- Looking for TBB_MALLOC_PROXY...
> -- Found TBB_MALLOC_PROXY:
> optimized;/usr/lib/libtbbmalloc_proxy.so;debug;/usr/lib/libtbbmalloc_proxy.so
> -- Looking for OIS...
> -- Found OIS: optimized;/usr/lib/libOIS.so;debug;/usr/lib/libOIS.so
> -- Looking for CppUnit...
> -- Found CppUnit: optimized;/usr/lib/libcppunit.so;debug;/usr/lib/libcppunit.so
> CMake Error at CMake/Utils/MacroLogFeature.cmake:100 (MESSAGE):
>
>
>
>  -----------------------------------------------------------------------------
>
>
>  -- The following REQUIRED packages could NOT be located on your system.
>
>  -- Please install them before continuing this software installation.
>
>  -- If you are in Windows, try passing -DOGRE_DEPENDENCIES_DIR=<path to
>  dependencies>
>
>
>  -----------------------------------------------------------------------------
>
>
>  + X11: X Window system <http://www.x.org>
>
>  + Xt: X Toolkit <http://www.x.org>
>
>
>  -----------------------------------------------------------------------------
> Call Stack (most recent call first):
>  CMake/Dependencies.cmake:208 (MACRO_DISPLAY_FEATURE_LOG)
>  CMakeLists.txt:175 (include)
>
>
> -- Configuring incomplete, errors occurred!
> make[1]: *** [ogre/lib/pkgconfig/OGRE.pc] Error 1
> make[1]: Leaving directory
> `/home/ros-electric-desktop-full/visualization_common/ogre'
> BUILD FAILED: Plugin_CgProgramManager.so not created.  Is
> nvidia-cg-toolkit installed correctly?
> make: *** [ogre] Error 1
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users
>