[osg-users] error build

Robert Osfield robert.osfield at gmail.com
Thu May 28 01:32:09 PDT 2015


Hi Joshua,

The Cmake reports of not finding certain libraries or features look to
be all associated with optional components of the OSG that aren't
required to build, unless you want that specific component, for
instance if you want to use osgQt then you'll need Qt headers and libs
installed, but otherwise you can safely ignore these.  Cmake can be a
bit verbose with warnings that aren't critical.

The "Configuring incomplete, errors occurred!" line is an odd one to
which I have explanation.  I can see any of the warnings in the rest
of the cmake output to indicate what the problem with configuration
might be.

I have just tried the cmake line you posted on OSG-svn/trunk and the
OSG-3.2 branch (that the OSG-3.2.2-rc2 was built from) and both run
fine on my systems, the osg_cmake.txt looks like:

-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- 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
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Looking for XOpenDisplay in
/usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in
/usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
- found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so
-- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version "2.9.2")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- checking for module 'gta'
--   package 'gta' not found
-- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found version "7.38.0")
-- Could NOT find SDL (missing:  SDL_LIBRARY SDL_INCLUDE_DIR)
-- checking for module 'cairo'
--   found cairo, version 1.14.2
-- checking for module 'poppler-glib'
--   package 'poppler-glib' not found
-- checking for module 'librsvg-2.0>=2.35'
--   package 'librsvg-2.0>=2.35' not found
-- checking for module 'gtk+-2.0'
--   package 'gtk+-2.0' not found
-- checking for module 'gtkglext-x11-1.0'
--   package 'gtkglext-x11-1.0' not found
-- Could NOT find Boost
-- Found unsuitable Qt version "" from NOTFOUND
-- Could NOT find Qt3 (missing:  QT_QT_LIBRARY QT_INCLUDE_DIR)
-- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8")
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version "1.2.51")
-- Found TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (found version "4.0.3")
-- Performing Test _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS
-- Performing Test _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS - Success
-- Performing Test _OPENTHREADS_ATOMIC_USE_MIPOSPRO_BUILTINS
-- Performing Test _OPENTHREADS_ATOMIC_USE_MIPOSPRO_BUILTINS - Failed
-- Performing Test _OPENTHREADS_ATOMIC_USE_SUN
-- Performing Test _OPENTHREADS_ATOMIC_USE_SUN - Failed
-- Performing Test _OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED
-- Performing Test _OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED - Failed
-- Performing Test _OPENTHREADS_ATOMIC_USE_BSD_ATOMIC
-- Performing Test _OPENTHREADS_ATOMIC_USE_BSD_ATOMIC - Failed
-- Looking for pthread_yield
-- Looking for pthread_yield - not found
-- Looking for sched_yield
-- Looking for sched_yield - found
-- Looking for pthread_setconcurrency
-- Looking for pthread_setconcurrency - not found
-- Looking for pthread_getconcurrency
-- Looking for pthread_getconcurrency - not found
-- Looking for pthread_setaffinity_np
-- Looking for pthread_setaffinity_np - not found
-- Performing Test HAVE_THREE_PARAM_SCHED_SETAFFINITY
-- Performing Test HAVE_THREE_PARAM_SCHED_SETAFFINITY - Success
-- checking for module 'xrandr'
--   found xrandr, version 1.4.2
-- Looking for gethostbyname in nsl
-- Looking for gethostbyname in nsl - found
-- Looking for socket in socket
-- Looking for socket in socket - not found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/robert/temp/test

This was done using Kubuntu 15.04, but when I tagged OSG-3.2.2.rc2 I
was using Kubunut-14.10.  OSG-3.2.0 goes back several years, since
then it's been all build build and bug fixes, and in all that time
it's been compiling find on a range of Linux version and range of
other OS's.

What OS & version are you using?

Robert.

On 27 May 2015 at 22:10, Joshua Robinson <shooki.robinson at gmail.com> wrote:
>
> Howdy,
>
> 1)  Downloaded a fresh copy of::  OpenSceneGraph-3.2.2 release candidate 2
> from :::
> http://www.openscenegraph.org/index.php/download-section/stable-releases
>
> 2)  Created a build directory out of source ::: osg_build3.2.2-rc2
>
> 3)  Ran cmake ../OpenSceneGraph-3.2.2-rc2/ -DCMAKE_BUILD_TYPE=Debug >
> osg_cmake.txt
>
> 4)  Error see attached file.
>
> Any suggestions ?  Is Qt a must ?
>
> Cheers,
> -Joshua Robinson
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



More information about the osg-users mailing list