aboutsummaryrefslogtreecommitdiff
path: root/cvs/cvsweb.cgi/code/nel/INSTALL?content-type=text/x-cvsweb-markup&rev=1.12&sortby=author
blob: a4791f808e3ea74906d92eee6c30d49c0919f628 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML>
<HEAD><style>		A { color:black }</style>
<!-- hennerik CVSweb $Revision: 1.93 $ -->
<TITLE>code/nel/INSTALL - view - 1.12</TITLE></HEAD>
<BODY BGCOLOR="#eeeeee">
<table width="100%" border=0 cellspacing=0 cellpadding=1 bgcolor="#aaaaaa"><tr valign=bottom><td><a href="INSTALL?sortby=author"><IMG SRC="/inc/img/picto-up.gif" ALT="[BACK]" BORDER="0" WIDTH="14" HEIGHT="13"></a> <b>Return to <A HREF="INSTALL?sortby=author">INSTALL</A>
 CVS log</b> <IMG SRC="/inc/img/picto-news.gif" ALT="[TXT]" BORDER="0" WIDTH="13" HEIGHT="15"></td><td align=right><IMG SRC="/inc/img/picto-dir.gif" ALT="[DIR]" BORDER="0" WIDTH="15" HEIGHT="13"> <b>Up to  <a href="/cvs/cvsweb.cgi/?sortby=author">Nevrax</a> / <a href="/cvs/cvsweb.cgi/code/?sortby=author">code</a> / <a href="/cvs/cvsweb.cgi/code/nel/?sortby=author">nel</a></b></td></tr></table><HR noshade><table width="100%"><tr><td bgcolor="#ffffff">File:  <a href="/cvs/cvsweb.cgi/?sortby=author">Nevrax</a> / <a href="/cvs/cvsweb.cgi/code/?sortby=author">code</a> / <a href="/cvs/cvsweb.cgi/code/nel/?sortby=author">nel</a> / <a href="/cvs/cvsweb.cgi/code/nel/INSTALL?sortby=author">INSTALL</a>&nbsp;(<A HREF="/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.12&amp;sortby=author" target="cvs_checkout" onClick="window.open('/cvs/cvsweb.cgi/~checkout~/code/nel/INSTALL?rev=1.12','cvs_checkout','resizeable,scrollbars');"><b>download</b></A>)<BR>
Revision <B>1.12</B>, <i>Wed Feb 21 17:46:39 2001 UTC</i> (16 months, 2 weeks ago) by <i>valignat</i>
<BR>Branch: <b>MAIN</b>
<BR>Changes since <b>1.11: +3 -0
 lines</b><PRE>
Add a comment to specified that the STLPort need to be compiled.
</PRE>
</td></tr></table><HR noshade><PRE>
If you find any bugs use the Nevrax Bug Tracking System :

 &nbsp; &lt;URL:<A HREF="/bugs/">/bugs/</A>&gt;

If you need any help contact us on the NeL mailing-list :

 &nbsp; &lt;URL:<A HREF="/mail/">/mail/</A>&gt;


Requirements
============

 &nbsp; The NeL library need the following libraries :

 &nbsp; &nbsp; &nbsp;- STLPort &nbsp;4.0 &nbsp; &lt;URL:<A HREF="http://www.stlport.org/">http://www.stlport.org/</A>&gt;
 &nbsp; &nbsp; &nbsp;- FreeType 2 &nbsp; &nbsp; &lt;URL:<A HREF="http://freetype.sourceforge.net/">http://freetype.sourceforge.net/</A>&gt;
 &nbsp; &nbsp; &nbsp;- Python &nbsp; 1.5 &nbsp; &lt;URL:<A HREF="http://www.python.org/">http://www.python.org/</A>&gt;

 &nbsp; STLPort need to be compiled. NeL is using the SGI iostreams and it require
 &nbsp; the STLPort compilation and a linking of NeL with the STLPort library.

 &nbsp; On a GNU/Linux platform you will need the following libraries and
 &nbsp; softwares :

 &nbsp; &nbsp; &nbsp;- Autoconf &nbsp; &nbsp; &nbsp; &lt;URL:<A HREF="http://www.gnu.org/software/autoconf/autoconf.html">http://www.gnu.org/software/autoconf/autoconf.html</A>&gt;
 &nbsp; &nbsp; &nbsp;- Automake &nbsp; &nbsp; &nbsp; &lt;URL:<A HREF="http://www.gnu.org/software/automake/automake.html">http://www.gnu.org/software/automake/automake.html</A>&gt;
 &nbsp; &nbsp; &nbsp;- Libtool &nbsp; &nbsp; &nbsp; &nbsp;&lt;URL:<A HREF="http://www.gnu.org/software/libtool/libtool.html">http://www.gnu.org/software/libtool/libtool.html</A>&gt;
 &nbsp; &nbsp; &nbsp;- Lex / Flex &nbsp; &nbsp; &lt;URL:<A HREF="http://www.gnu.org/software/flex/flex.html">http://www.gnu.org/software/flex/flex.html</A>&gt;
 &nbsp; &nbsp; &nbsp;- Yacc / Bison &nbsp; &lt;URL:<A HREF="http://www.gnu.org/software/bison/bison.html">http://www.gnu.org/software/bison/bison.html</A>&gt;
 &nbsp; &nbsp; &nbsp;- Mesa &nbsp; &nbsp; 3.3 &nbsp; &lt;URL:<A HREF="http://www.mesa3d.org/">http://www.mesa3d.org/</A>&gt;

 &nbsp; On some OpenGL implementations, you migth have some troubles, coming from
 &nbsp; the &lt;GL/glext.h&gt; file, to get NeL to compile. This file could be missing
 &nbsp; or not up to date. You will find the latest version of this file on SGI's
 &nbsp; website :

 &nbsp; &nbsp; &nbsp;- glext.h &nbsp; &nbsp; &nbsp; &nbsp;&lt;URL:<A HREF="http://oss.sgi.com/projects/ogl-sample/ABI/glext.h">http://oss.sgi.com/projects/ogl-sample/ABI/glext.h</A>&gt;

 &nbsp; Most of our documentation is done using Doxygen, so you might need it
 &nbsp; to read our prose and our code documentation. If you want have nice
 &nbsp; graphs like dependency graphs, collaboration diagrams, or graphical
 &nbsp; class hierarchy graphs you will need Graphviz :

 &nbsp; &nbsp; &nbsp;- Doxygen &nbsp; &nbsp; &nbsp; &nbsp;&lt;URL:<A HREF="http://www.stack.nl/~dimitri/doxygen/">http://www.stack.nl/~dimitri/doxygen/</A>&gt;
 &nbsp; &nbsp; &nbsp;- Graphviz &nbsp; &nbsp; &nbsp; &lt;URL:<A HREF="http://www.research.att.com/sw/tools/graphviz/">http://www.research.att.com/sw/tools/graphviz/</A>&gt;
 &nbsp; 
 &nbsp; Most of these softwares should be already installed on your system or
 &nbsp; provided on your installation disk. 

 &nbsp; The given sofware or library version numbers are the ones that we are
 &nbsp; using. We don't know if it working with other (older or more recent)
 &nbsp; versions of these softwares or libraries. You are welcome to help us
 &nbsp; to define more precisely these informations ;-)


Compilation
===========

 &nbsp; 1. Windows compilation
 &nbsp; ----------------------

 &nbsp; &nbsp; &nbsp;The compilation on Windows has been done only with Visual C++ 6.0 SP4.

 &nbsp; &nbsp; &nbsp;You first need to compile STLport and FreeType libraries. It's a quite
 &nbsp; &nbsp; &nbsp;long compilation process.

 &nbsp; &nbsp; &nbsp;Set up Visual C++ to find the STLPort and FreeType libraries. This
 &nbsp; &nbsp; &nbsp;is done in the [Tools -&gt; Options -&gt; Directories] menu :

 &nbsp; &nbsp; &nbsp; &nbsp; - Add the STLPort include directory to the &quot;Library Files&quot; category.
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; The STLPort include *must* be inserted before the microsoft one or
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; the compiler will take microsoft STL instead of STLPort STL.
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (use the arrow button to put the STLPort include at the top)
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ex: D:/stlport-4.0/stlport

 &nbsp; &nbsp; &nbsp; &nbsp; - Add the STLPort library directory to the &quot;Library Files&quot; category.
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ex: D:/stlport-4.0/lib

 &nbsp; &nbsp; &nbsp; &nbsp; - Add the FreeType include directory to the &quot;Include Files&quot; category.
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ex: D:/freetype-2.0/include

 &nbsp; &nbsp; &nbsp; &nbsp; - Add the FreeType library directory to the &quot;Library Files&quot; category.
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ex: D:/freetype-2.0/obj

 &nbsp; &nbsp; &nbsp;Open the workspace file &quot;nel.dsw&quot; (in the menu [File -&gt; Workspace]).

 &nbsp; &nbsp; &nbsp;Setup Visual C++ to find the NeL include and library files :

 &nbsp; &nbsp; &nbsp; &nbsp; - Add the NEL include directory to the &quot;Library Files&quot; category.
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ex: D:/test/code/nel/include

 &nbsp; &nbsp; &nbsp; &nbsp; - Add the STLPort library directory to the &quot;Library Files&quot; category.
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ex: D:/test/code/nel/lib


 &nbsp; 2. GNU/Linux compilation
 &nbsp; ------------------------

 &nbsp; &nbsp; &nbsp;The compilation on GNU/Linux has been done only on RedHat 6.2 with
 &nbsp; &nbsp; &nbsp;GCC 2.96.

 &nbsp; &nbsp; &nbsp;In the NeL directory do :

 &nbsp; &nbsp; &nbsp; &nbsp; % ./configure --with-stlport=&lt;Path_to_the_stlport_headers_files&gt; \
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; --with-python=&lt;Path_to_the_python_headers_files&gt;
 &nbsp; &nbsp; &nbsp; &nbsp; % make

 &nbsp; &nbsp; &nbsp;The &quot;configure&quot; script must be call with the &quot;--with-stlport&quot; and
 &nbsp; &nbsp; &nbsp;&quot;--with-python&quot; options.
 &nbsp; &nbsp; &nbsp;The option &quot;--with-stlport&quot; allow to override the default STL headers
 &nbsp; &nbsp; &nbsp;and the option &quot;--with-python&quot; tell to the configuration script, where
 &nbsp; &nbsp; &nbsp;to find the Python headers files.

 &nbsp; &nbsp; &nbsp;You migth need to specify the FreeType 2 installation prefix by using
 &nbsp; &nbsp; &nbsp;the &quot;--with-freetype&quot; argument (ex: &quot;/usr/local&quot; will look for the
 &nbsp; &nbsp; &nbsp;header files in &quot;/usr/local/include&quot; and the library files in the
 &nbsp; &nbsp; &nbsp;&quot;/usr/local/lid/ directory).

 &nbsp; &nbsp; &nbsp;To pass additional arguments to the C++ compiler, use the command line :

 &nbsp; &nbsp; &nbsp; &nbsp; % CXXFLAGS=-pipe ./configure --with-stlport=&lt;STLPort_headers_path&gt;

 &nbsp; &nbsp; &nbsp;To get the complete list of arguments of the &quot;configure&quot; script use the
 &nbsp; &nbsp; &nbsp;following command :

 &nbsp; &nbsp; &nbsp; &nbsp; % ./configure --help

 &nbsp; &nbsp; &nbsp;In the case (ex: after a cvs checkout) that you need to rebuild the
 &nbsp; &nbsp; &nbsp;&quot;configure&quot; script and/or the &quot;Makefile.in&quot; files, execute the
 &nbsp; &nbsp; &nbsp;&quot;bootstrap&quot; script in the NeL directory :

 &nbsp; &nbsp; &nbsp; &nbsp; % ./bootstrap


Installation
============

 &nbsp; 1. Windows installation
 &nbsp; -----------------------

 &nbsp; &nbsp; &nbsp;Not done yet.


 &nbsp; 2. GNU/Linux installation
 &nbsp; --------------------------

 &nbsp; &nbsp; &nbsp;% make install


</PRE>