Shin

[HowTo] Compile TrinityCore on Mac OS X using Homebrew

39 posts in this topic

just switch to 3.3.5 branch:

	git checkout 3.3.5

and build using:

xcodebuild -target install -config Release
0

Share this post


Link to post
Share on other sites
On 12/19/2015, 11:42:50, Shin said:

just switch to 3.3.5 branch:


	git checkout 3.3.5

and build using:


xcodebuild -target install -config Release

I dont understand where you are saying to input the

git checkout 3.3.5

0

Share this post


Link to post
Share on other sites

@vemigod

from the directory of your TrinityCore sources.

Example:

git clone https://github.com/TrinityCore/TrinityCore.git
cd TrinityCore

 

now if you want to compile 3.3.5, just type:

git checkout 3.3.5
0

Share this post


Link to post
Share on other sites

I'm really just trying this for the hell of it and without any experience or knowledge, so this is probably a very stupid error.

It fails on the cmake step and I'm left with this the .log file:

The C compiler identification could not be found in "/Volumes/Ext Storage/Trinity/TrinityCore/build/CMakeFiles/3.4.3/CompilerIdC/._CompilerIdC.build"

The CXX compiler identification could not be found in "/Volumes/Ext Storage/Trinity/TrinityCore/build/CMakeFiles/3.4.3/CompilerIdCXX/._CompilerIdCXX.build"

 

Edit: Derp, turns out doing 'brew install' and then all of the dependencies in one row only installed the last one. After installing each one individually, it now works. Sorry about that ^^

Edited by panther
0

Share this post


Link to post
Share on other sites

OK it is time to update MMAPS, but i can't remember the correct way to extract maps, update MMAPS and VMAPS. Any hint?

0

Share this post


Link to post
Share on other sites

can any one help me with this I'm getting

ild/src/server/authserver/Release/authserver

clang: error: no such file or directory: '/usr/local/mysql/lib/libmysqlclient_r.dylib'

 

** BUILD FAILED **

 

 

The following build commands failed:

    Ld build/src/server/authserver/Release/authserver normal x86_64

(1 failure)

0

Share this post


Link to post
Share on other sites
13 hours ago, Dibby said:

can any one help me with this I'm getting

ild/src/server/authserver/Release/authserver

clang: error: no such file or directory: '/usr/local/mysql/lib/libmysqlclient_r.dylib'

 

** BUILD FAILED **

 

 

The following build commands failed:

    Ld build/src/server/authserver/Release/authserver normal x86_64

(1 failure)

you need to set the following cmake param:

-DMYSQL_LIBRARY=/usr/local/mysql/lib/libmysqlclient_r.dylib \

with the correct path of your libmysqlclient_r.dylib which evidently is not located under /usr/local/mysql/lib/ in your machine.

0

Share this post


Link to post
Share on other sites

It work but i can't build binaries :

clang: error: no such file or directory: '/usr/local/opt/zeromq/lib/libzmq.dylib'

 

** BUILD FAILED **

 

but libzmq.dylib( i add it in this directory because zeromq don't make file in opt but it still doesn't work) is in this directory, can any one help me ?

[EDIT] It's not a permission problem, i've tried with sudo 

SOLVED, i have change that : 

-DZMQ_LIBRARY=/usr/local/opt/zeromq/lib/libzmq.dylib \
-DZMQ_INCLUDE_DIR=/usr/local/opt/zeromq/include \

To :

-DZMQ_LIBRARY=/usr/local/Cellar/zeromq/4.1.4/lib/libzmq.dylib \
-DZMQ_INCLUDE_DIR=/usr/local/Cellar/zeromq/4.1.4/include \

 

 

Edited by Marethyu
0

Share this post


Link to post
Share on other sites

I got this error when i try to run worlserver

DBUpdater: Given source directory /Users/ikirserver/Downloads/TrinityCore does not exist, skipped!

But it should not search there for sql updates since in worldconfig i have this:

#
#    Updates.SourcePath
#        Description: The path to your TrinityCore source directory.
#                     If the path is left empty, built-in CMAKE_SOURCE_DIR is used.
#        Example:     "../TrinityCore"
#        Default:     ""

Updates.SourcePath  = "/Applications/TrinityCore"

 

Any idea? Also have anyone tried to update to 6.x? How can we keep all the date when updating to 6.x version?

0

Share this post


Link to post
Share on other sites

Hi, I could not find libmysqlclient_r.dylib in my mac.

lang: error: no such file or directory: '/usr/local/mysql/lib/libmysqlclient_r.dylib'

 

** BUILD FAILED **

 

 

The following build commands failed:

Ld build/src/server/authserver/Release/authserver normal x86_64

(1 failure)

And I searched my computer, no that file. 

Please help me with it!

 

0

Share this post


Link to post
Share on other sites
On 30.6.2016 at 9:46 AM, cynthia said:

Hi, I could not find libmysqlclient_r.dylib in my mac.

lang: error: no such file or directory: '/usr/local/mysql/lib/libmysqlclient_r.dylib'

 

** BUILD FAILED **

 

libmysqlclient_r.dylib is old and not longer used. To compile without problems, create symlinks to the libmysqlclient:

 

sudo ln -s /usr/local/mysql/lib/libmysqlclient.a /usr/local/mysql/lib/libmysqlclient_r.a

sudo ln -s /usr/local/mysql/lib/libmysqlclient.la /usr/local/mysql/lib/libmysqlclient_r.la

sudo ln -s /usr/local/mysql/lib/libmysqlclient.dylib /usr/local/mysql/lib/libmysqlclient_r.dylib

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.