« Previous - Version 17/80 (diff) - Next » - Current version
rti, 05/19/2010 11:49 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

Install cpptest, you get it from http://sourceforge.net/projects/cpptest/.
Install luabind, see InstallingLuabind.
The other packages can be installed using macports (http://www.macports.org/).
If you are using Mac OS X 10.6, 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

As long as #910 is not fixed, get the attached patch file and apply it.
Check http://dev.ryzom.com/boards/17/topics/1627 to see how to fix some linking issues.
Some more linking issues can be fixed by manually adding missing library names to TARGET_LINK_LIBRARIES(client ... in ryzom/client/src/CMakeLists.txt

See MacClientState for more information about the current state of the Mac Client.

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

Download the windows client http://sourceforge.net/projects/ryzom/files/ryzom_client_open.7z/download.
Extract it and start the binary from the root of the windows client directory, you might want to create a link.

ln -s /path/to/code/ryzom/build-release/bin/client /path/to/windows/client/dir/client_mac_r

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