« Previous -
Version 10/80
(diff) -
Next » -
Current version
rti, 05/16/2010 10:19 pm
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¶
As long as #906 is not fixed, get the attached patch file and apply it.
Things not cleanly solved for now: (detailed tickets need some further investigation)
- Disable the call to
checkDriverDepth ()inryzom/client/src/init.cppto prevent complains about color depth. - I had to disable micro vegetation to prevent a crash.
- Some linking issues can be fixed by manually adding missing library names to
TARGET_LINK_LIBRARIES(client ...inryzom/client/src/CMakeLists.txt - Sometimes there is still a
libwwwrelated crash ingroup_html.cpp. - Mouse drag (camera orbiting) does not work
- Debug Build crashes deeply inside LUA while registering CRGBA class in CLuaIHM::registerBasics()
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¶


