Table of Contents |
---|
...
aptitude install libexpat1-dev wget http://archive.debian.org/debian/pool/main/w/w3c-libwww/libwww0_5.4.0-11_i386.deb wget http://archive.debian.org/debian/pool/main/w/w3c-libwww/libwww-dev_5.4.0-11_i386.deb dpkg -i libwww0_5.4.0-11_i386.deb libwww-dev_5.4.0-11_i386.deb
64bit
aptitude install libexpat1-dev wget http://archive.debian.org/debian/pool/main/w/w3c-libwww/libwww0_5.4.0-11_amd64.deb wget http://archive.debian.org/debian/pool/main/w/w3c-libwww/libwww-dev_5.4.0-11_amd64.deb dpkg -i libwww0_5.4.0-11_amd64.deb libwww-dev_5.4.0-11_amd64.deb
...
mkdir $RYHOME/build && cd $RYHOME/build cmake -DWITH_NEL_TESTS=OFF .. make -j3 *Note: Its make -j<# of cores +1>
If you want to use lua 5.0 instead of lua 5.1, add -DWITH_LUA51=OFF to the cmake command line.
You can avoid building client/server/tools by specifying:
- -DWITH_NEL_SAMPLES=OFF
- -DWITH_NEL_TOOLS=OFF
- -DWITH_RYZOM_CLIENT=OFF
- -DWITH_RYZOM_SERVER=OFF
- -DWITH_RYZOM_TOOLS=OFF
If you want to build NeL without sound libs, for example when you only need the server:
- -DWITH_NEL=ON -DWITH_SOUND=OFF
Currently there is no CPack support for the client. This means you will not be able to run "cpack -G DEB" and get a debian or rpm package to install and that you have to do make install
instead.
Warning |
---|
...
If you are building the server on 64-bit Linux you |
...
must build with the following CMake options:
If you encounter build errors, try turning the drivers off:
|
...
|
...
|
...
Sample server-only cmake on 64-bit Linux
...