Jump to content
TrinityCore

Leaderboard

Popular Content

Showing content with the highest reputation on 03/16/16 in all areas

  1. This tutorial aims to simplify the compilation of TrinityCore on Mac OS X by using Homebrew, the missing package manager for OS X, to install TrinityCore dependencies, in order to keep things simple. 1) Install Homebrew For those who don't have Homebrew installed, you can easily install it typing: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 2) Install Xcode and Command Line Tools Install XCode using the App Store, then type: xcodeselect --install 3) Install dependencies brew update brew install mysql openssl readline cmake boost zlib brew link zlib --force 4) Getting sources Move to the folder where you want to place the TrinityCore sources, then type: git clone https://github.com/TrinityCore/TrinityCore.git cd TrinityCore If ( and ONLY if ) you want to compile 3.3.5 type: git checkout 3.3.5 Create build folder: mkdir build cd build 5) Generate the XCode project files IMPORTANT: replace /Users/username/tc-server of the following command with the path where you want to install the TrinityCore server. then type: cmake ../ -GXcode \ -DMYSQL_ADD_INCLUDE_PATH=/usr/local/include \ -DMYSQL_LIBRARY=/usr/local/mysql/lib/libmysqlclient_r.dylib \ -DREADLINE_INCLUDE_DIR=/usr/local/opt/readline/include \ -DREADLINE_LIBRARY=/usr/local/opt/readline/lib/libreadline.dylib \ -DBOOST_INCLUDEDIR=/usr/local/include \ -DBOOST_LIBRARYDIR=/usr/local/lib \ -DOPENSSL_INCLUDE_DIR=/usr/local/opt/openssl/include \ -DOPENSSL_SSL_LIBRARIES=/usr/local/opt/openssl/lib/libssl.dylib \ -DOPENSSL_CRYPTO_LIBRARIES=/usr/local/opt/openssl/lib/libcrypto.dylib \ -DZMQ_LIBRARY=/usr/local/opt/zeromq/lib/libzmq.dylib \ -DZMQ_INCLUDE_DIR=/usr/local/opt/zeromq/include \ -DZLIB_ROOT=/usr/local/Cellar/zlib/1.2.8 \ -DCMAKE_INSTALL_PREFIX=/Users/username/tc-server \ -DWITH_WARNINGS=1 6) Building the binaries Type the following to build the binaries: 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: - a fresh Mac OS X 10.9.5 (Mavericks) - a fresh Mac OS X 10.10.3 (Yosemite) - Mac OS X 10.11.3 (El Capitan) and it worked fine, give me your feedback.
    1 point
  2. Thanks dude, since I ditched Windows I mainly use Linux, but I also have a Macbook, so this was a great help.
    1 point
  3. I'll say it has been pretty educational to me just to dig into and hack away at such a large complex piece of software. I've done hobbyist programming for years, but never something so large, and mostly all C rather than C++. Learning a lot about some better methods to compartmentalize the other software I work on for fun.
    1 point
  4. Did I say sign-up page? or public server? I said "web site." Damn G. Ease up Bro. Besides Blizz@rd isn't stupid; they've known about this emu and its intended purposes for awhile now. So relax. No cease and desist yet? Probably not gonna get one. Now emulate the new Bnet 2 and see how fast they respond! Your head would spin! Day late; dollar short for trying to diguise an open source emu with the dbc extractor, map extractor, and game specific fixes incorporated into each and every build. Hiding it is laughable at best! You're fooling no one. So if you feel "educational purposes" is protecting you somehow from legal action, your sorely mistaken. So let me clear it up for the sensitive audience: "I need a web site that interacts with the emulator for educational purposes on my LAN. (Local Area Connection)." I'm not out to save your world..but I'm not here to wreck it either. I got this handled anyway..thanks for the link Moderator!
    1 point
×
×
  • Create New...