2004-11-16 06:06:37 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-11-16 06:06:37 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2012-02-19 22:00:16 +08:00
|
|
|
<!ENTITY freeglut-download-http
|
2017-08-16 02:49:48 +08:00
|
|
|
"&sourceforge-dl;/freeglut/freeglut-&freeglut-version;.tar.gz">
|
2005-07-25 23:35:12 +08:00
|
|
|
<!ENTITY freeglut-download-ftp " ">
|
2022-10-20 18:46:55 +08:00
|
|
|
<!ENTITY freeglut-md5sum "f1621464e6525d0368976870cab8f418">
|
|
|
|
<!ENTITY freeglut-size "404 KB">
|
|
|
|
<!ENTITY freeglut-buildsize "5.7 MB">
|
2019-09-22 04:45:45 +08:00
|
|
|
<!ENTITY freeglut-time "less than 0.1 SBU">
|
2004-11-16 06:06:37 +08:00
|
|
|
]>
|
|
|
|
|
2012-10-11 00:11:12 +08:00
|
|
|
<sect1 id="freeglut" xreflabel="Freeglut-&freeglut-version;">
|
2005-05-20 03:32:40 +08:00
|
|
|
<?dbhtml filename="freeglut.html"?>
|
|
|
|
|
|
|
|
|
2012-10-11 00:11:12 +08:00
|
|
|
<title>Freeglut-&freeglut-version;</title>
|
2005-05-20 03:32:40 +08:00
|
|
|
|
|
|
|
<indexterm zone="freeglut">
|
|
|
|
<primary sortas="a-Freeglut">Freeglut</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
2012-10-11 00:11:12 +08:00
|
|
|
<title>Introduction to Freeglut</title>
|
2005-05-20 03:32:40 +08:00
|
|
|
|
2012-10-11 00:11:12 +08:00
|
|
|
<para>
|
|
|
|
<application>Freeglut</application> is intended to be a 100%
|
|
|
|
compatible, completely opensourced clone of the GLUT library.
|
|
|
|
GLUT is a window system independent toolkit for writing OpenGL
|
|
|
|
programs, implementing a simple windowing API, which makes
|
|
|
|
learning about and exploring OpenGL programming very easy.
|
|
|
|
</para>
|
2005-05-20 03:32:40 +08:00
|
|
|
|
2023-02-17 09:10:14 +08:00
|
|
|
&lfs113_checked;
|
2007-08-11 22:51:20 +08:00
|
|
|
|
2005-05-20 03:32:40 +08:00
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
2012-10-11 00:11:12 +08:00
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&freeglut-download-http;"/>
|
|
|
|
</para>
|
2005-05-20 03:32:40 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-10-11 00:11:12 +08:00
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&freeglut-download-ftp;"/>
|
|
|
|
</para>
|
2005-05-20 03:32:40 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-10-11 00:11:12 +08:00
|
|
|
<para>
|
|
|
|
Download MD5 sum: &freeglut-md5sum;
|
|
|
|
</para>
|
2005-05-20 03:32:40 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-10-11 00:11:12 +08:00
|
|
|
<para>
|
|
|
|
Download size: &freeglut-size;
|
|
|
|
</para>
|
2005-05-20 03:32:40 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-10-11 00:11:12 +08:00
|
|
|
<para>
|
|
|
|
Estimated disk space required: &freeglut-buildsize;
|
|
|
|
</para>
|
2005-05-20 03:32:40 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-10-11 00:11:12 +08:00
|
|
|
<para>
|
|
|
|
Estimated build time: &freeglut-time;
|
|
|
|
</para>
|
2005-05-20 03:32:40 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
2022-02-12 09:31:49 +08:00
|
|
|
<!--
|
2020-05-19 22:56:11 +08:00
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Required patch:
|
|
|
|
<ulink url="&patch-root;/freeglut-&freeglut-version;-gcc10_fix-1.patch"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
2022-02-12 09:31:49 +08:00
|
|
|
-->
|
2012-10-11 00:11:12 +08:00
|
|
|
<bridgehead renderas="sect3">Freeglut Dependencies</bridgehead>
|
2005-05-20 03:32:40 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
2012-10-11 00:11:12 +08:00
|
|
|
<para role="required">
|
2015-03-22 09:38:26 +08:00
|
|
|
<xref linkend="cmake"/> and
|
2015-10-11 19:51:21 +08:00
|
|
|
<xref linkend="mesa"/>
|
2012-10-11 00:11:12 +08:00
|
|
|
</para>
|
2005-05-20 03:32:40 +08:00
|
|
|
|
2015-05-02 04:10:49 +08:00
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
|
|
<para role="recommended">
|
|
|
|
<xref linkend="glu"/>
|
|
|
|
</para>
|
|
|
|
|
2006-04-11 02:39:30 +08:00
|
|
|
<para condition="html" role="usernotes">User Notes:
|
2012-10-11 00:11:12 +08:00
|
|
|
<ulink url="&blfs-wiki;/freeglut"/>
|
|
|
|
</para>
|
2005-05-20 03:32:40 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
2012-10-11 00:11:12 +08:00
|
|
|
<title>Installation of Freeglut</title>
|
2022-02-12 09:31:49 +08:00
|
|
|
<!--
|
2020-05-19 22:56:11 +08:00
|
|
|
<para>
|
2020-06-29 13:31:35 +08:00
|
|
|
First, fix an issue with multiple defined symbols exposed by GCC-10:
|
2020-05-19 22:56:11 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<screen><userinput>patch -Np1 -i ../freeglut-&freeglut-version;-gcc10_fix-1.patch</userinput></screen>
|
2022-02-12 09:31:49 +08:00
|
|
|
-->
|
2012-10-11 00:11:12 +08:00
|
|
|
<para>
|
|
|
|
Install <application>Freeglut</application> by running the
|
|
|
|
following commands:
|
|
|
|
</para>
|
2012-05-17 05:47:06 +08:00
|
|
|
|
2015-03-22 09:38:26 +08:00
|
|
|
<screen><userinput>mkdir build &&
|
|
|
|
cd build &&
|
|
|
|
|
2018-05-14 01:52:20 +08:00
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DFREEGLUT_BUILD_DEMOS=OFF \
|
|
|
|
-DFREEGLUT_BUILD_STATIC_LIBS=OFF \
|
2020-05-12 16:58:25 +08:00
|
|
|
-Wno-dev .. &&
|
2015-03-22 09:38:26 +08:00
|
|
|
|
2005-05-20 03:32:40 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
2012-10-11 00:11:12 +08:00
|
|
|
<para>
|
|
|
|
This package does not come with a test suite.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem>
|
|
|
|
user:
|
|
|
|
</para>
|
2005-05-20 03:32:40 +08:00
|
|
|
|
2012-10-11 00:11:12 +08:00
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
2005-05-20 03:32:40 +08:00
|
|
|
|
|
|
|
</sect2>
|
2009-09-27 12:45:35 +08:00
|
|
|
|
2012-02-19 22:00:16 +08:00
|
|
|
<sect2 role="commands">
|
2009-09-27 12:45:35 +08:00
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
2020-03-21 19:42:20 +08:00
|
|
|
<para>
|
|
|
|
<parameter>-DFREEGLUT_BUILD_DEMOS=OFF</parameter>: Disable building
|
|
|
|
optional demo programs. Note that if you choose to build them, their
|
|
|
|
installation must be done manually. The demo programs are limited and
|
|
|
|
installation is not recommended.
|
|
|
|
</para>
|
2015-05-02 04:10:49 +08:00
|
|
|
|
2020-03-21 19:42:20 +08:00
|
|
|
<para>
|
|
|
|
<parameter>-DFREEGLUT_BUILD_STATIC_LIBS=OFF</parameter>:
|
|
|
|
Do not build the static library.
|
|
|
|
</para>
|
2012-10-11 00:11:12 +08:00
|
|
|
|
2012-02-19 22:00:16 +08:00
|
|
|
</sect2>
|
2005-05-20 03:32:40 +08:00
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
2013-04-17 22:22:59 +08:00
|
|
|
<segtitle>Installed Programs</segtitle>
|
2012-10-11 00:11:12 +08:00
|
|
|
<segtitle>Installed Library</segtitle>
|
2013-04-17 22:22:59 +08:00
|
|
|
<segtitle>Installed Directories</segtitle>
|
2005-05-20 03:32:40 +08:00
|
|
|
|
|
|
|
<seglistitem>
|
2013-04-17 22:22:59 +08:00
|
|
|
<seg>
|
|
|
|
None
|
|
|
|
</seg>
|
2012-10-11 00:11:12 +08:00
|
|
|
<seg>
|
|
|
|
libglut.so
|
|
|
|
</seg>
|
2013-04-17 22:22:59 +08:00
|
|
|
<seg>
|
2022-10-20 18:46:55 +08:00
|
|
|
/usr/lib/cmake/FreeGLUT
|
2013-04-17 22:22:59 +08:00
|
|
|
</seg>
|
2005-05-20 03:32:40 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="libglut">
|
2012-10-11 00:11:12 +08:00
|
|
|
<term><filename class="libraryfile">libglut.so</filename></term>
|
2005-05-20 03:32:40 +08:00
|
|
|
<listitem>
|
2012-10-11 00:11:12 +08:00
|
|
|
<para>
|
|
|
|
contains functions that implement the OpenGL Utility
|
2021-02-19 23:20:16 +08:00
|
|
|
Toolkit
|
2012-10-11 00:11:12 +08:00
|
|
|
</para>
|
2005-05-20 03:32:40 +08:00
|
|
|
<indexterm zone="freeglut libglut">
|
2012-02-19 22:00:16 +08:00
|
|
|
<primary sortas="c-libglut">libglut.so</primary>
|
2005-05-20 03:32:40 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2012-10-11 00:11:12 +08:00
|
|
|
|
2005-05-20 03:32:40 +08:00
|
|
|
</variablelist>
|
2012-10-11 00:11:12 +08:00
|
|
|
|
2005-05-20 03:32:40 +08:00
|
|
|
</sect2>
|
2012-10-11 00:11:12 +08:00
|
|
|
|
2004-11-16 06:06:37 +08:00
|
|
|
</sect1>
|