Building NeL, NeL NS and Ryzom Client with CMake on Mac OS X¶
- 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.
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¶
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
cd code/nelns mkdir build-release cd build-release cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE:string=Release .. make sudo make install
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
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
currently not tested