build.html (7084B)
1<!-- begin header.html --> 2<!-- 3The OpenGL Extension Wrangler Library 4Copyright (C) 2008-2015, Nigel Stewart <nigels[]users sourceforge net> 5Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org> 6Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org> 7Copyright (C) 2002, Lev Povalahev 8All rights reserved. 9 10Redistribution and use in source and binary forms, with or without 11modification, are permitted provided that the following conditions are met: 12 13* Redistributions of source code must retain the above copyright notice, 14 this list of conditions and the following disclaimer. 15* Redistributions in binary form must reproduce the above copyright notice, 16 this list of conditions and the following disclaimer in the documentation 17 and/or other materials provided with the distribution. 18* The name of the author may be used to endorse or promote products 19 derived from this software without specific prior written permission. 20 21THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 22AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 23IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 24ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 25LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 26CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 27SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 28INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 29CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 30ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 31THE POSSIBILITY OF SUCH DAMAGE. 32--> 33<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html/4/loose.dtd"> 34<html> 35<head> 36<title>GLEW: The OpenGL Extension Wrangler Library</title> 37<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> 38<link href="glew.css" type="text/css" rel="stylesheet"> 39</head> 40<body bgcolor="#fff0d0"> 41<table border="0" width="100%" cellpadding="12" cellspacing="8" style="height:100%"> 42<tr> 43<td bgcolor="#ffffff" align="left" valign="top" width="200"> 44<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left"> 45<tr> 46<td valign="top"> 47 48<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left"> 49<tr><td align="center"><i>Latest Release: <a href="https://sourceforge.net/projects/glew/files/glew/2.1.0/">2.1.0</a></i></td></tr> 50<tr><td align="center"><br></td></tr> 51<tr><td align="center"><img src="./glew.png" alt="GLEW Logo" width="97" height="75"></td></tr> 52<tr><td align="center"><br></td></tr> 53<tr><td align="center"> 54<table border="0" cellpadding="0" cellspacing="0" align="center"> 55<tr><td align="center"><a href="index.html">Download</a></td></tr> 56<tr><td align="center"><a href="basic.html">Usage</a></td></tr> 57<tr><td align="center">Building</td></tr> 58<tr><td align="center"><a href="install.html">Installation</a></td></tr> 59<tr><td align="center"><a href="advanced.html">Source Generation</a></td></tr> 60<tr><td align="center"><a href="log.html">Change Log</a></td></tr> 61<tr><td align="center"><br></tr> 62<tr><td align="center"><a href="https://github.com/nigels-com/glew">GitHub</a></td></tr> 63<tr><td align="center"><a href="https://github.com/nigels-com/glew/issues">Issues</a></td></tr> 64<tr><td align="center"><a href="https://github.com/nigels-com/glew/pulls">Pull Requests</a></td></tr> 65<tr><td align="center"><a href="https://github.com/nigels-com/glew#authors">Authors</a></td></tr> 66<tr><td align="center"><a href="https://github.com/nigels-com/glew#copyright-and-licensing">Licensing</a></td></tr> 67<tr><td align="center"><br></tr> 68<tr><td align="center"><a href="https://sourceforge.net/projects/glew">SourceForge Page</a></td></tr> 69</table> 70<tr><td align="center"><br></tr> 71</table> 72</td> 73</tr> 74<tr> 75 76<td valign="bottom"> 77<table border="0" width="100%" cellpadding="5" cellspacing="0" align="left"> 78<tr><td align="center"><i>Last Update: 07-31-17</i></td></tr> 79<tr><td align="center"> 80 <a href="http://www.opengl.org"><img src="./ogl_sm.jpg" width="68" height="35" border="0" alt="OpenGL Logo"></a><br/> 81 <a href="https://github.com/nigels-com/glew"><img src="github.png" width="70" height="29" border="0" alt="GitHub Logo"></a><br/> 82 <a href="https://travis-ci.org/nigels-com/glew/builds"><img src="travis.png" width="114" height="25" border="0" alt="Travis Logo"></a><br/> 83 <a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=67586&type=1" width="88" height="31" border="0" alt="SourceForge Logo"></a> 84</td> 85</tr> 86</table> 87</td> 88</tr> 89</table> 90</td> 91 92<td bgcolor="#ffffff" align="left" valign="top"> 93 94<h1>The OpenGL Extension Wrangler Library</h1> 95 96<!-- end header.html --> 97 98 99<h2>Building GLEW</h2> 100 101<h3>Windows</h3> 102 103<p>A MS Visual Studio project is provided in the <tt>build/vc6</tt> directory.</p> 104<p>Pre-built shared and static libraries are also available for <a href="index.html">download</a>.</p> 105 106<h3>Makefile</h3> 107 108<p>For platforms other than MS Windows, the provided <tt>Makefile</tt> is used.</p> 109 110<h4>Command-line variables</h4> 111 112<table border=0 cellpadding=0 cellspacing=10> 113<tr><td valign=top><tt>SYSTEM</tt></td><td valign=top>auto</td> 114<td align=left>Target system to build: darwin, linux, solaris, etc.<br/>For a full list of supported targets: <tt>ls config/Makefile.*</tt><br/> 115<a href="http://git.savannah.gnu.org/gitweb/?p=config.git;a=tree">config.guess</a> is used to auto detect, as necessary.</td></tr> 116<tr><td valign=top><tt>GLEW_DEST</tt></td><td valign=top><tt>/usr</tt></td> 117<td align=left>Base directory for installation.</td></tr> 118</table> 119 120<h4>Make targets</h4> 121 122<table border=0 cellpadding=0 cellspacing=10> 123<tr><td valign=top><tt>all</tt></td><td>Build everything.</td><tr> 124<tr><td valign=top><tt>glew.lib</tt></td><td>Build static and dynamic GLEW libraries.</td><tr> 125<tr><td valign=top><tt>glew.lib.mx</tt></td><td>Build static and dynamic GLEWmx libraries.</td><tr> 126<tr><td valign=top><tt>glew.bin</tt></td><td>Build <tt>glewinfo</tt> and <tt>visualinfo</tt> utilities.</td><tr> 127<tr><td valign=top><tt>clean</tt></td><td>Delete temporary and built files.</td><tr> 128<tr><td valign=top><tt>install.all</tt></td><td>Install everything.</td><tr> 129<tr><td valign=top><tt>install</tt></td><td>Install GLEW libraries.</td><tr> 130<tr><td valign=top><tt>install.mx</tt></td><td>Install GLEWmx libraries.</td><tr> 131<tr><td valign=top><tt>install.bin</tt></td><td>Install <tt>glewinfo</tt> and <tt>visualinfo</tt> utilities.</td><tr> 132<tr><td valign=top><tt>uninstall</tt></td><td>Delete installed files.</td><tr> 133</table> 134 135<h4>Requirements</h4> 136 137<ul> 138<li>GNU make</li> 139<li>perl</li> 140<li>wget</li> 141<li>GNU sed</li> 142<li>gcc compiler</li> 143<li>git</li> 144</ul> 145 146Ubuntu: <pre>sudo apt-get install libXmu-dev libXi-dev libgl-dev dos2unix git wget</pre> 147Fedora: <pre>sudo yum install libXmu-devel libXi-devel libGL-devel dos2unix git wget</pre> 148<!-- begin footer.html --> 149</td></tr></table></body> 150<!-- end footer.html --> 151