

Ld build/src/server/worldserver/Debug/worldserver normal x86_64 Maybe my fault, but I’ve done everything like you. Hmm I got a problem, I don’t know where it comes from. Xcodebuild -target install -config Release I have tested this tutorial both for branch 3.3.5 and 6.x using a MacBook Pro Retina 15" running:Īnd it worked fine, give me your feedback. Type the following to build the binaries: DWITH_WARNINGS=1 6) Building the binaries DCMAKE_INSTALL_PREFIX=/Users/username/tc-server DZMQ_INCLUDE_DIR=/usr/local/opt/zeromq/include DZMQ_LIBRARY=/usr/local/opt/zeromq/lib/libzmq.dylib DOPENSSL_CRYPTO_LIBRARIES=/usr/local/opt/openssl/lib/libcrypto.dylib DOPENSSL_SSL_LIBRARIES=/usr/local/opt/openssl/lib/libssl.dylib DOPENSSL_INCLUDE_DIR=/usr/local/opt/openssl/include DREADLINE_LIBRARY=/usr/local/opt/readline/lib/libreadline.dylib DREADLINE_INCLUDE_DIR=/usr/local/opt/readline/include DMYSQL_LIBRARY=/usr/local/mysql/lib/libmysqlclient_r.dylib DMYSQL_ADD_INCLUDE_PATH=/usr/local/include

IMPORTANT: replace / Users/username/tc-server of the following command with the path where you want to install the Trinit圜ore server. Move to the folder where you want to place the Trinit圜ore sources, then type:Ĭd Trinit圜ore If ( and ONLY if ) you want to compile 3.3.5 type:Ĭd build 5) Generate the XCode project files

Xcodeselect -install 3) Install dependenciesīrew install mysql openssl readline cmake boost zlibīrew link zlib -force 4) Getting sources Install XCode using the App Store, then type: Ruby -e “$(curl -fsSL )” 2) Install Xcode and Command Line Tools This tutorial aims to simplify the compilation of Trinit圜ore on Mac OS X by using Homebrew, the missing package manager for OS X, to install Trinit圜ore dependencies, in order to keep things simple.įor those who don’t have Homebrew installed, you can easily install it typing:
