« Previous - Version 7/80 (diff) - Next » - Current version
rti, 05/14/2010 02:15 am


Building NeL, NeL NS and Ryzom Client with CMake on Mac OS X

This is just a small summary of the things I did; might be incomplete, so feel free to edit, extend, fix.

Installing Dependencies

I used macports (http://www.macports.org/) to install all the dependencies (except luabind - see InstallingLuabind).
If you are using Mac OS X 10.6 (like me) you might want to install the packages with the +universal flag to use them for 32bit and 64bit builds.

sudo port install boost cmake curl freetype jpeg libwww libxml2 lua mercurial mysql5-devel p7zip zlib

Install mercurial for source code access

sudo port install mercurial

Install p7zip to extract data files.

sudo port install p7zip

Get the sources

See Getting_Source

Building

NEL

As long as #872 is not fixed, get the attached patch files and apply them.

cd code/nel
mkdir build-release
cd build-release
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE:string=Release ..
make
sudo make install

NELNS

cd code/nelns
mkdir build-release
cd build-release
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE:string=Release ..
make
sudo make install

RYZOM client

currently working on patches - strange things happen :)

cd code/ryzom
mkdir build-release
cd build-release
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE:string=Release  -DWITH_LUA51:bool=true ..
make client

RYZOM server/tools

currently not tested

Screenshot

Screen_shot_2010-06-01_at_1.56.51_AM.png (725 kB) rti, 06/01/2010 01:58 am

Packages.dmg (3.9 MB) Botanic, 05/05/2012 11:44 am