1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY freeglut-download-http
|
---|
8 | "&sourceforge-repo;/freeglut/freeglut-&freeglut-version;.tar.gz">
|
---|
9 | <!ENTITY freeglut-download-ftp " ">
|
---|
10 | <!ENTITY freeglut-md5sum "90c3ca4dd9d51cf32276bc5344ec9754">
|
---|
11 | <!ENTITY freeglut-size "412 KB">
|
---|
12 | <!ENTITY freeglut-buildsize "14 MB">
|
---|
13 | <!ENTITY freeglut-time "0.2 SBU">
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="freeglut" xreflabel="Freeglut-&freeglut-version;">
|
---|
17 | <?dbhtml filename="freeglut.html"?>
|
---|
18 |
|
---|
19 | <sect1info>
|
---|
20 | <othername>$LastChangedBy$</othername>
|
---|
21 | <date>$Date$</date>
|
---|
22 | </sect1info>
|
---|
23 |
|
---|
24 | <title>Freeglut-&freeglut-version;</title>
|
---|
25 |
|
---|
26 | <indexterm zone="freeglut">
|
---|
27 | <primary sortas="a-Freeglut">Freeglut</primary>
|
---|
28 | </indexterm>
|
---|
29 |
|
---|
30 | <sect2 role="package">
|
---|
31 | <title>Introduction to Freeglut</title>
|
---|
32 |
|
---|
33 | <para>
|
---|
34 | <application>Freeglut</application> is intended to be a 100%
|
---|
35 | compatible, completely opensourced clone of the GLUT library.
|
---|
36 | GLUT is a window system independent toolkit for writing OpenGL
|
---|
37 | programs, implementing a simple windowing API, which makes
|
---|
38 | learning about and exploring OpenGL programming very easy.
|
---|
39 | </para>
|
---|
40 |
|
---|
41 | &lfs77_checked; &gcc5_checked;
|
---|
42 |
|
---|
43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
44 | <itemizedlist spacing="compact">
|
---|
45 | <listitem>
|
---|
46 | <para>
|
---|
47 | Download (HTTP): <ulink url="&freeglut-download-http;"/>
|
---|
48 | </para>
|
---|
49 | </listitem>
|
---|
50 | <listitem>
|
---|
51 | <para>
|
---|
52 | Download (FTP): <ulink url="&freeglut-download-ftp;"/>
|
---|
53 | </para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>
|
---|
57 | Download MD5 sum: &freeglut-md5sum;
|
---|
58 | </para>
|
---|
59 | </listitem>
|
---|
60 | <listitem>
|
---|
61 | <para>
|
---|
62 | Download size: &freeglut-size;
|
---|
63 | </para>
|
---|
64 | </listitem>
|
---|
65 | <listitem>
|
---|
66 | <para>
|
---|
67 | Estimated disk space required: &freeglut-buildsize;
|
---|
68 | </para>
|
---|
69 | </listitem>
|
---|
70 | <listitem>
|
---|
71 | <para>
|
---|
72 | Estimated build time: &freeglut-time;
|
---|
73 | </para>
|
---|
74 | </listitem>
|
---|
75 | </itemizedlist>
|
---|
76 |
|
---|
77 | <bridgehead renderas="sect3">Freeglut Dependencies</bridgehead>
|
---|
78 |
|
---|
79 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
80 | <para role="required">
|
---|
81 | <xref linkend="cmake"/> and
|
---|
82 | <xref linkend="mesalib"/>
|
---|
83 | </para>
|
---|
84 |
|
---|
85 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
86 | <para role="recommended">
|
---|
87 | <xref linkend="glu"/>
|
---|
88 | </para>
|
---|
89 |
|
---|
90 | <para condition="html" role="usernotes">User Notes:
|
---|
91 | <ulink url="&blfs-wiki;/freeglut"/>
|
---|
92 | </para>
|
---|
93 | </sect2>
|
---|
94 |
|
---|
95 | <sect2 role="installation">
|
---|
96 | <title>Installation of Freeglut</title>
|
---|
97 |
|
---|
98 | <para>
|
---|
99 | Install <application>Freeglut</application> by running the
|
---|
100 | following commands:
|
---|
101 | </para>
|
---|
102 |
|
---|
103 | <screen><userinput>mkdir build &&
|
---|
104 | cd build &&
|
---|
105 |
|
---|
106 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
107 | -DCMAKE_BUILD_TYPE=Release \
|
---|
108 | -DFREEGLUT_BUILD_DEMOS=OFF \
|
---|
109 | -DFREEGLUT_BUILD_STATIC_LIBS=OFF \
|
---|
110 | ..
|
---|
111 |
|
---|
112 | make</userinput></screen>
|
---|
113 |
|
---|
114 | <para>
|
---|
115 | This package does not come with a test suite.
|
---|
116 | </para>
|
---|
117 |
|
---|
118 | <para>
|
---|
119 | Now, as the <systemitem class="username">root</systemitem>
|
---|
120 | user:
|
---|
121 | </para>
|
---|
122 |
|
---|
123 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
124 |
|
---|
125 | </sect2>
|
---|
126 |
|
---|
127 | <sect2 role="commands">
|
---|
128 | <title>Command Explanations</title>
|
---|
129 |
|
---|
130 | <para><parameter>-DFREEGLUT_BUILD_DEMOS=ON</parameter>: Build
|
---|
131 | optional demo programs. Installation of the demo programs must
|
---|
132 | be done manually. The demo programs are limited and
|
---|
133 | installation is not recommended.</para>
|
---|
134 |
|
---|
135 | <para><parameter>-DFREEGLUT_BUILD_STATIC_LIBS=OFF</parameter>:
|
---|
136 | Do not build the static library. </para>
|
---|
137 |
|
---|
138 | </sect2>
|
---|
139 |
|
---|
140 | <sect2 role="content">
|
---|
141 | <title>Contents</title>
|
---|
142 |
|
---|
143 | <segmentedlist>
|
---|
144 | <segtitle>Installed Programs</segtitle>
|
---|
145 | <segtitle>Installed Library</segtitle>
|
---|
146 | <segtitle>Installed Directories</segtitle>
|
---|
147 |
|
---|
148 | <seglistitem>
|
---|
149 | <seg>
|
---|
150 | None
|
---|
151 | </seg>
|
---|
152 | <seg>
|
---|
153 | libglut.so
|
---|
154 | </seg>
|
---|
155 | <seg>
|
---|
156 | None
|
---|
157 | </seg>
|
---|
158 | </seglistitem>
|
---|
159 | </segmentedlist>
|
---|
160 |
|
---|
161 | <variablelist>
|
---|
162 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
163 | <?dbfo list-presentation="list"?>
|
---|
164 | <?dbhtml list-presentation="table"?>
|
---|
165 |
|
---|
166 | <varlistentry id="libglut">
|
---|
167 | <term><filename class="libraryfile">libglut.so</filename></term>
|
---|
168 | <listitem>
|
---|
169 | <para>
|
---|
170 | contains functions that implement the OpenGL Utility
|
---|
171 | Toolkit.
|
---|
172 | </para>
|
---|
173 | <indexterm zone="freeglut libglut">
|
---|
174 | <primary sortas="c-libglut">libglut.so</primary>
|
---|
175 | </indexterm>
|
---|
176 | </listitem>
|
---|
177 | </varlistentry>
|
---|
178 |
|
---|
179 | </variablelist>
|
---|
180 |
|
---|
181 | </sect2>
|
---|
182 |
|
---|
183 | </sect1>
|
---|