Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > c1088eb1b876a17e9a504ed383d0626b > files > 532

ClanLib-devel-2.1.2-2.fc15.i686.rpm

<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>GNU C++ (gcc) on Linux - ClanLib SDK</title>
<link rel="stylesheet" media="screen" type="text/css" href="clanlib.css"/>
<link rel="icon" href="gfx/favicon.png" type="image/png"/>
</head>
<body>
<div id="content">
<h1><a href="."><img src="gfx/clanlib.png" alt="ClanLib SDK" /></a></h1>
<!--
<div style="float: right;">
<a href="download.html">Download</a> :
<a href="docs.html">Documentation</a> :
<a href="development.html">Development</a> :
<a href="donations.html">Donations</a> :
<a href="http://www.rtsoft.com/clanlib">Forum</a> :
<a href="contributions.html">Contributions</a>
</div>
-->
<h2>
<img src="gfx/overview.png"/>GNU C++ on Linux
</h2>

<p>Installing using Ubuntu (9.04)</p>

<p>Use the "Synaptic Package Manager", or overwise, ensure that the latest versions of these programs exist:</p>

<pre>	automake
	autoconf
	autotools-dev
	m4
	libtool
	libc6-dev
	linux-libc-dev
	g++ (g++-4.1 or later)
	libstdc++6-4.1-dev (or later)
	zlib1g
	zlib1g-dev</pre>

<p>These packages are required to install the following ClanLib Modules:</p>

<li>ClanDisplay:</li>
<pre>	libpng12-0
	libpng12-dev
	libjpeg62-dev
	libfreetype6  (unless compiled manually)
	libfreetype6-dev (unless compiled manually)
	libfontconfig1-dev
	libgl1-mesa-dev
	libice-dev
	libsm-dev
	libx11-dev
	libxau-dev
	libxdmcp-dev
	libxext-dev
	libxt-dev
	mesa-common-dev
	x11proto-core-dev
	x11proto-input-dev
	x11proto-kb-dev
	x11proto-xext-dev
	xtrans-dev</pre>

<li>ClanSDL:</li>
<pre>This package has moved into a seperate clanSDL package.</pre>

<li>ClanSound:</li>
<pre>	libasound2-dev  (for alsa)</pre>
<li>ClanMikmod:</li>
<pre>	libmikmod2
	libmikmod2-dev</pre>
<li>ClanVorbis:</li>
<pre>	libvorbis0a
	libvorbis-dev
	libogg-dev</pre>
<li>ClanRegExp:</li>
<pre>	libpcre3
	libpcre3-dev
</pre>
<p>From the terminal prompt, at the base the the clanlib source code package, enter:</p>

<p>(Check for errors after each line)</p>

<pre>
	./autogen.sh
	./configure --prefix=/usr
	make
	sudo make install
</pre>

<p>(Developers may prefer to add --enable-debug to the ./configure line)</p>

<p>To ensure that all is well, run the Example2D example, as follows:</p>

<pre>
	cd Examples/Basic2D
	make
	./basic2d
</pre>

<p>If you want to compile the API documentation:(Ensure the doxygen package exists)</p>

<pre>
	./configure --prefix=/usr --enable-docs
	make html
	sudo make install-html

</pre>
<p>The documentation will be placed at "/usr/share/doc/clanlib-2.0/index.html". If you prefer doxygen style API documentation, look in "Documentation/Reference/doxyoutput/index.html"
</pre>

</div>

</body>
</html>