build script doesn't find opengl, glut, glu

Message boards : Questions and problems : build script doesn't find opengl, glut, glu
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Bill Edgar
Avatar

Send message
Joined: 14 Nov 08
Posts: 3
United States
Message 21235 - Posted: 14 Nov 2008, 1:46:42 UTC

Can't seem to get past this error on Ubuntu 8.04.1 despite installing a lot of packages. Can anyone tell me what specific packages are required, or give me a hint as to what is causing this error?

================================================================================
WARNING: Development libraries and headers ("-dev") of {openGL, GLU, glut} needed!

The GL, GLU and glut libraries are required in order to build the graphical parts
of the BOINC application API library.

==> only building non-graphical parts of the BOINC API Library for now.

HINT: on MacOS X/Darwin you might consider running configure with the option
'./configure --with-apple-opengl-framework'
in order to use the Mac-native openGL framework

================================================================================
ID: 21235 · Report as offensive
Profile KSMarksPsych
Avatar

Send message
Joined: 30 Oct 05
Posts: 1239
United States
Message 21242 - Posted: 14 Nov 2008, 9:41:58 UTC

What are you trying to build?
Kathryn :o)
ID: 21242 · Report as offensive
Profile Bill Edgar
Avatar

Send message
Joined: 14 Nov 08
Posts: 3
United States
Message 21279 - Posted: 16 Nov 2008, 16:11:03 UTC - in response to Message 21242.  

Everything basically. Trying to set up test environment. I guess I don't really need the GUI components, but the build error was annoying and I want to be able to show some other students how to build the client (w/gui interface) on ubuntu.
Bill
wmsedgar@gmail.com
ID: 21279 · Report as offensive
Profile KSMarksPsych
Avatar

Send message
Joined: 30 Oct 05
Posts: 1239
United States
Message 21293 - Posted: 17 Nov 2008, 0:24:10 UTC

Do you have the dev packages?

I'm a Fedora person, so I don't know how apt-get really works. Can you search for packages? Like I would do `yum search glut` (or whatever) and then find and install the dev packages.
Kathryn :o)
ID: 21293 · Report as offensive
Chris Sutton

Send message
Joined: 29 Aug 05
Posts: 117
Message 21304 - Posted: 17 Nov 2008, 13:52:25 UTC

I can appreciate your confusion:
sam@max:~$ aptitude search dev | grep -i gl
p   beagle-dev                      - library for accessing beagle (C# developme
p   bglibs-dev                      - BG Libraries Collection
p   bigloo-devtools                 - Tools to help developing Bigloo programs
p   compiz-dev                      - OpenGL window and compositing manager - de
v   fftw-single-dev                 -
v   fglrx-driver-dev                -
v   freeglut-dev                    -
p   freeglut3-dev                   - OpenGL Utility Toolkit development files
p   ftgl-dev                        - Library to render text in OpenGL using Fre
p   glabels-dev                     - development documentation and library file
p   glutg3-dev                      - the OpenGL Utility Toolkit development fil
v   gtkgl-dev                       -
v   gtkglarea-dev                   -
p   gtkglarea5-dev                  - Gimp Toolkit OpenGL area widget include fi
p   libaiksaurus-1.2-dev            - an English-language thesaurus (development
p   libarchive-dev                  - Single library to read/write tar, cpio, pa
p   libavahi-glib-dev               - Development headers for the Avahi glib int
p   libbeagle-dev                   - library for accessing beagle (C bindings)
p   libbogl-dev                     - Ben's Own Graphics Library - development f
p   libclutter-0.6-dev              - Open GL based interactive canvas library (
p   libclutter-cairo-0.6-dev        - Open GL based interactive canvas library C
p   libclutter-gst-0.6-dev          - Open GL based interactive canvas library G
p   libclutter-gtk-0.6-dev          - Open GL based interactive canvas library G
p   libdbus-glib-1-dev              - simple interprocess messaging system (GLib
p   libformsgl-dev                  - Header files and static libraries for the
p   libganglia1-dev                 - Ganglia cluster system monitor toolkit (de
p   libgdata-google1.2-dev          - Client library for accessing google POA th
p   libgdata1.2-dev                 - Client library for accessing google POA th
p   libghc6-fgl-dev                 - Haskell graph library for GHC
p   libghc6-glade-dev               - A GUI library for Haskell (Gtk2Hs) -- libg
p   libghc6-glib-dev                - A GUI library for Haskell (Gtk2Hs) -- GLib
p   libghc6-glut-dev                - Haskell GLUT binding for GHC
p   libghc6-gtkglext-dev            - A GUI library for Haskell (Gtk2Hs) -- gtkg
p   libghc6-hgl-dev                 - Haskell graphics library for GHC
p   libghc6-hlist-dev               - Haskell library for strongly typed heterog
p   libghc6-opengl-dev              - Haskell OpenGL binding for GHC
p   libgio-dev                      - GLib Input, Output and Streaming Library (
v   libgl-dev                       -
p   libgl1-mesa-dev                 - A free implementation of the OpenGL API --
v   libgl1-mesa-dri-dev             -
v   libgl1-mesa-swrast-dev          -
p   libgl1-mesa-swx11-dev           - A free implementation of the OpenGL API --
p   libglade-java-dev               - Glade bindings for Java (development files
p   libglade2-dev                   - development files for libglade
p   libglademm-2.4-dev              - C++ wrappers for libglade2 (development fi
p   libgladeui-1-dev                - GTK+ User Interface Build core library (de
p   libglbsp-dev                    - node builder library for OpenGL-based Doom
p   libglc-dev                      - An implementation of SGI's OpenGL Characte
v   libgle-dev                      -
p   libgle3-dev                     - OpenGL tubing and extrusion library develo
v   libglew-dev                     -
p   libglew1.5-dev                  - The OpenGL Extension Wrangler - developmen
v   libglib-dev                     -
p   libglib-java-dev                - GLib bindings for Java (development files)
p   libglib1.2-dev                  - The GLib library of C routines (developmen
p   libglib2.0-dev                  - Development files for the GLib library
p   libglibmm-2.4-dev               - C++ wrapper for the GLib toolkit (developm
v   libglide-dev                    -
p   libglide2-dev                   - graphics library for 3Dfx Voodoo based car
v   libglide3-alpha-dev             -
p   libglide3-dev                   - graphics library for 3Dfx Voodoo based car
v   libglitz-dev                    -
v   libglitz-glx-dev                -
p   libglitz-glx1-dev               - Glitz OpenGL library GLX backend developme
p   libglitz1-dev                   - OpenGL image compositing library developme
p   libglom-dev                     - Glom library (a database designer and user
p   libgloox-dev                    - C++ jabber/xmpp library devel files
p   libglpk-dev                     - linear programming kit - development files
p   libglpng-dev                    - PNG loader for OpenGL - development files
p   libglrr-glib-dev                - Development library of Grift (glib)
p   libglrr-gobject-dev             - Development library of Grift (gobject)
p   libglrr-gtk-dev                 - Development library of Grift (gtk)
p   libglrr-widgets-dev             - Development library of Grift's widgets
v   libglu-dev                      -
p   libglu1-mesa-dev                - The OpenGL utility library -- development
p   libglu1-xorg-dev                - transitional package for Debian etch
p   libglui-dev                     - A GLUT-based C++ user interface library
v   libglut-dev                     -
p   libglut3-dev                    - development libraries and headers for GLUT
p   libgnetwork1.0-dev              - networking wrapper library using Glib/GObj
p   libgoogle-perftools-dev         - libraries for CPU and heap analysis, plus
p   libgssglue-dev                  - header files and docs for libgssglue
p   libgtkgl2.0-dev                 - Gimp Toolkit OpenGL area widget include fi
p   libgtkglext1-dev                - OpenGL Extension to GTK (development files
p   libgtkglextmm-x11-dev           - C++ wrapper for the OpenGL Extension to GT
p   libjinglebase0.3-dev            - Libjingle base development files
p   libjinglep2p0.3-dev             - Libjingle p2p development files
p   libjinglesession0.3-dev         - Libjingle session development files
p   libjinglexmllite0.3-dev         - Libjingle XMLLite development files
p   libjinglexmpp0.3-dev            - Libjingle XMPP development files
p   libkaya-gl-dev                  - OpenGL binding for kaya
p   liblablgl-ocaml-dev             - an OpenGL interface for Objective Caml
p   liblablgtk2-gl-ocaml-dev        - OCaml bindings to GtkGL
p   libmowgli-dev                   - a high performance development framework f
p   libnm-glib-dev                  - network management framework (GLib interfa
p   liboglappth-dev                 - Oglappth Library (Development Files)
p   libopensg-glut-dev              - A portable scenegraph system to create rea
p   libpoppler-glib-dev             - PDF rendering library -- development files
p   libqglviewer-dev                - an OpenGL 3D viewer library based on Qt -
p   libqwtplot3d-qt3-dev            - 3D plotting library based on Qt3/OpenGL (d
p   libqwtplot3d-qt4-dev            - 3D plotting library based on Qt4/OpenGL (d
p   libsage-dev                     - Supports OpenGL in SDL applications
p   libsofia-sip-ua-glib-dev        - Sofia-SIP library glib/gobject interface d
p   libtag1-dev                     - TagLib Audio Meta-Data Library [developmen
p   libtagc0-dev                    - TagLib Audio Meta-Data Library (C bindings
p   libtapioca-glib-0.14-dev        - Tapioca glib library - Development files
p   libtelepathy-dev                - Telepathy framework - old GLib library hea
p   libtelepathy-glib-dev           - GLib Telepathy connection manager library
p   libtulip-ogl-3.0-dev            - Tulip graph library - OpenGL development f
v   libtulip-ogl-dev                -
p   libtulip-qt4-3.0-dev            - Tulip graph library - Qt/OpenGL GUI develo
p   libxcb-glx0-dev                 - X C Binding, glx extension, development fi
p   libxmmsclient++-glib-dev        - XMMS2 - glib client library for c++ - deve
p   libxmmsclient-glib-dev          - XMMS2 - glib client library - development
p   nvidia-glx-dev                  - NVIDIA binary XFree86 4.x/X.Org driver dev
p   nvidia-glx-legacy-dev           - NVIDIA binary XFree86 4.x/X.Org 'legacy' d
p   nvidia-glx-new-dev              - NVIDIA binary XFree86 4.x/X.Org 'new' driv
p   wordnet-dev                     - electronic lexical database of English lan
p   x11proto-gl-dev                 - X11 OpenGL extension wire protocol
p   xlibmesa-gl-dev                 - transitional package for Debian etch
v   xlibmesa-glu-dev                -
p   xorg-driver-fglrx-dev           - Video driver for ATI graphics accelerators


The packages marked "v" are virtual and the ones I would usually try first.
Given this list, I would probably go for:

  • libglu-dev (or)
  • libglut-dev


And if neither of those suppress the warning, then try:


  • freeglut-dev


ID: 21304 · Report as offensive
Profile KSMarksPsych
Avatar

Send message
Joined: 30 Oct 05
Posts: 1239
United States
Message 21305 - Posted: 17 Nov 2008, 16:48:16 UTC

I'm pretty sure I had to grab the freeglut-dev package as well.
Kathryn :o)
ID: 21305 · Report as offensive
Profile Bill Edgar
Avatar

Send message
Joined: 14 Nov 08
Posts: 3
United States
Message 21309 - Posted: 18 Nov 2008, 1:31:38 UTC - in response to Message 21305.  

I already had libglut3 and libglut3-dev installed, there isn't a libglu package (dev or otherwise published for Ubuntu). I also had glut3-dev, freeglut3-dev, and freeglut installed.

I did see these additional packages which I downloaded and installed:

libgle3-dev
glutg3
libgtkglext1-dev (which had a ton of other package dependencies which were also downloaded and installed)

I tried re-running configure after each and libgtkglext1-dev seemed to do the trick.

So, in case anyone is interested, on Ubuntu 8.04.01, I had to install all of these additional openGL, GLUT, and GLU related libraries in order to build the GUI parts of the BOINC application API library:

compiz-dev
glutg3-dev
libglui-dev
libglut3-dev
libgle3-dev
glutg3
glutg3-dev
libgtkglext1-dev

I'm not really sure if all are required, but that's what worked for me.

Bill
wmsedgar@gmail.com
ID: 21309 · Report as offensive

Message boards : Questions and problems : build script doesn't find opengl, glut, glu

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.