Jump to content
TrinityCore

WebberLai

Plebs
  • Posts

    1
  • Joined

  • Last visited

WebberLai's Achievements

Newbie

Newbie (1/14)

  • Week One Done Rare

Recent Badges

0

Reputation

  1. I'm success build on Mac OS 12.6 Monterey and old Mojave after install all brew packages one more thing to do with Monterey is I need copy ssl config cp /usr/local/opt/openssl/lib/pkgconfig/*.pc /usr/local/lib/pkgconfig/ when I run this command brew link zlib --force It shows these message , but seems no effect anything Warning: Refusing to link macOS-provided software: zlib For compilers to find zlib you may need to set: export LDFLAGS="-L/usr/local/opt/zlib/lib" export CPPFLAGS="-I/usr/local/opt/zlib/include" this is what I use for build settings , works for both OS cmake ../ -GXcode \ -DMYSQL_ADD_INCLUDE_PATH=/usr/local/include \ -DMYSQL_LIBRARY=/usr/local/lib/libmysqlclient.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/[email protected]/include \ -DOPENSSL_SSL_LIBRARIES=/usr/local/opt/[email protected]/lib/libssl.dylib \ -DOPENSSL_CRYPTO_LIBRARIES=/usr/local/opt/[email protected]/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.13 \ -DACE_INCLUDE_DIR=/usr/local/opt/ace/include \ -DACE_LIBRARY=/usr/local/opt/ace/lib/libACE.dylib \ -DCMAKE_INSTALL_PREFIX=/Applications/Trinity \ -DWITH_WARNINGS=1 the key is change oepnssl to [email protected] and Mojave require Xcode 11 , don't use Xcode 10
×
×
  • Create New...