Cogl-1.22.4

#### Beyond Linux® From Scratch (systemd Edition) - Version 9.0

### Chapter 25. X Libraries

- Prev

  Cairomm-1.12.2

- Next

  Clutter-1.26.2

- Up
- Home

# Cogl-1.22.4

## Introduction to Cogl

Cogl is a modern 3D graphics API with associated utility APIs designed to expose the features of 3D graphics hardware using a direct state access API design, as opposed to the state-machine style of OpenGL.

This package is known to build and work properly using an LFS-9.0 platform.

### Package Information

- Download (HTTP): http://ftp.gnome.org/pub/gnome/sources/cogl/1.22/cogl-1.22.4.tar.xz

- Download (FTP): ftp://ftp.gnome.org/pub/gnome/sources/cogl/1.22/cogl-1.22.4.tar.xz

- Download MD5 sum: 31755015a865c4af51ac84f6e53af8ab

- Download size: 1.6 MB

- Estimated disk space required: 55 MB

- Estimated build time: 0.3 SBU (Using parallelism=4; add 0.5 SBU for tests)

### Cogl Dependencies

#### Required

Cairo-1.16.0, gdk-pixbuf-2.38.1, GLU-9.0.1, Mesa-19.1.4, Pango-1.42.4, and Wayland-1.17.0

#### Recommended

gobject-introspection-1.60.2

#### Optional

gst-plugins-base-1.16.0, GTK-Doc-1.32, SDL-1.2.15, and SDL2-2.0.10

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/cogl

## Installation of Cogl

Install Cogl by running the following commands:

### Note

This package may occasionally fail when building with multiple processors. See Using Multiple Processors for more information.

    ./configure --prefix=/usr --enable-gles1 --enable-gles2         \
        --enable-{kms,wayland,xlib}-egl-platform                    \
        --enable-wayland-egl-server                                 &&
    make

To test the results, issue: make check. The tests should be run from an X terminal on the hardware accelerated Xorg Server. A few tests will use all CPUs in parallel, regardless of parallellism settings.

Now, as the `root` user:

    make install

## Command Explanations

`--enable-gles1`: This switch enables support for OpenGL ES 1.1.

`--enable-gles2`: This switch enables support for OpenGL ES 2.0.

`--enable-{kms,wayland,xlib}-egl-platform`: These switches enable support for KMS, Wayland and Xlib EGL platforms. They are required for GNOME Wayland support.

`--enable-wayland-egl-server`: This switch enables Cogl's Wayland Server API which is required for GNOME Wayland support.

`--enable-cogl-gst`: This switch enables gstreamer support.

`--enable-gtk-doc`: Use this parameter if GTK-Doc is installed and you wish to rebuild and install the API documentation.

## Contents

Installed Programs: None
Installed Libraries: libcogl-gles2.so, libcogl-pango.so, libcogl-path.so, and libcogl.so, and optional libraries libcogl-gst.so and /usr/lib/gstreamer-1.0/libgstcogl.so
Installed Directories: /usr/include/cogl and /usr/share/cogl

### Short Descriptions

`libcogl-gles2.so` | is the OpenGL ES 2.0 integration library for Cogl.
`libcogl-pango.so` | is the Pango integration library for Cogl.
`libcogl.so` | is an object oriented GL/GLES Abstraction/Utility Layer library.

Last updated on 2019-08-23 21:03:19 -0700

- Prev

  Cairomm-1.12.2

- Next

  Clutter-1.26.2

- Up
- Home