version 1.17, 2001/08/09 14:46:46 |
version 1.24, 2002/03/28 13:08:45 |
| |
Requirements | Requirements |
============ | ============ |
| |
The NeL library need the following libraries : | The NeL library needs the following libraries : |
| |
- STLPort 4.0 <URL:http://www.stlport.org/> (Mandatory) | - STLPort 4.5 <URL:http://www.stlport.org/> (Mandatory) |
| - LibXML 2.4.13 <URL:http://www.xmlsoft.org/> (Mandatory) |
- FreeType 2 <URL:http://freetype.sourceforge.net/> (NeL 3D) | - FreeType 2 <URL:http://freetype.sourceforge.net/> (NeL 3D) |
- OpenAL <URL:http://www.openal.org/> (NeL Sound) | - OpenAL <URL:http://www.openal.org/> (NeL Sound) |
- Python 1.5 <URL:http://www.python.org/> (NeL AI) | - Python 1.5 <URL:http://www.python.org/> (NeL AI) |
| - Direct Input 8 <URL:http://www.microsoft.com/directx> (NeL MISC, Windows version) |
| |
STLPort need to be compiled. NeL is using the SGI iostreams and it require | STLPort needs to be compiled. NeL is using the SGI iostreams and it require |
the STLPort compilation and a linking of NeL with the STLPort library. | the STLPort compilation and a linking of NeL with the STLPort library. |
| |
On a GNU/Linux platform you will need the following libraries and | On a GNU/Linux platform you will need the following libraries and |
| |
provided on your installation disk. | provided on your installation disk. |
| |
The given sofware or library version numbers are the ones that we are | The given sofware or library version numbers are the ones that we are |
using. We don't know if it working with other (older or more recent) | using. We don't know if NeL will work with other (older or more recent) |
versions of these softwares or libraries. You are welcome to help us | versions of these softwares or libraries. You are welcome to help us |
to define more precisely these informations ;-) | to define more precisely these informations ;-) |
| |
| For windows users, note that you don't need to have the Direct Input (verion 8) dll |
| on your system for NeL to run, but in this case, there will be no joystick support, and |
| no low level access to keyboard and mouse. Anyway, you need dinput.lib to compile |
| |
| |
Compilation | Compilation |
=========== | =========== |
| |
The STLPort include *must* be inserted before the microsoft one or | The STLPort include *must* be inserted before the microsoft one or |
the compiler will take microsoft STL instead of STLPort STL. | the compiler will take microsoft STL instead of STLPort STL. |
(use the arrow button to put the STLPort include at the top) | (use the arrow button to put the STLPort include at the top) |
ex: D:/stlport-4.0/stlport | ex: D:/stlport-4.5/stlport |
| |
- Add the STLPort library directory to the "Library Files" category. | - Add the STLPort library directory to the "Library Files" category. |
ex: D:/stlport-4.0/lib | ex: D:/stlport-4.5/lib |
| |
- Add the FreeType include directory to the "Include Files" category. | - Add the FreeType include directory to the "Include Files" category. |
ex: D:/freetype-2.0/include | ex: D:/freetype-2.0/include |
| |
- Add the FreeType library directory to the "Library Files" category. | - Add the FreeType library directory to the "Library Files" category. |
ex: D:/freetype-2.0/obj | ex: D:/freetype-2.0/obj |
| |
| - For DirectX8 : install the SDK, then setup your directories as follow : |
| mssdkdir/include/dx8/ |
| mssdkdir/lib |
| Add mssdkdir/include to the "Include Files" category. |
| Add mssdkdir/lib to the "Library Files" category. |
| Make sure these appear before visual includes, as an older version of directX |
| may be present in Visual C++ headers. |
| |
| |
Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). | Open the workspace file "nel.dsw" (in the menu [File -> Workspace]). |
| |
Setup Visual C++ to find the NeL include and library files : | Setup Visual C++ to find the NeL include and library files : |
| |
- Add the NEL include directory to the "Library Files" category. | - Add the NEL include directory to the "Include Files" category. |
ex: D:/test/code/nel/include | ex: D:/test/code/nel/include |
| |
- Add the STLPort library directory to the "Library Files" category. | - Add the NEL source directory to the "Include Files" category. |
| ex: D:/test/code/nel/src |
| |
| - Add the NeL library directory to the "Library Files" category. |
ex: D:/test/code/nel/lib | ex: D:/test/code/nel/lib |
| |
| |
| |
The option "--with-stlport" allow to override the default STL headers | The option "--with-stlport" allow to override the default STL headers |
| |
It is possible to compile and install only the needed part of NeL. | It is possible to compile and install only the needed part of NeL. |
So you may, by using --disable-<net|3d|pacs> and --enable-<sound|ai>. | So you may, by using --disable-<net|3d|pacs> and --enable-<sound|ai> : |
NeL Misc is mandatory and cannot be disabled. | |
| - misc |
| default: Mandatory |
| - net |
| default: Enables |
| desativate with: --disable-net |
| - 3d |
| default: Enable |
| desativate with: --disable-3d |
| - pacs |
| default: Enable |
| desativate with: --disable-pacs |
| - sound |
| default: Disable |
| ativate with: --enable-sound |
| - ai |
| default: Disable |
| ativate with: --enable-ai |
| |
To pass additional arguments to the C++ compiler, use the command line : | To pass additional arguments to the C++ compiler, use the command line : |
| |