Jump to content
TrinityCore

nixholas

Plebs
  • Content Count

    4
  • Joined

  • Last visited

  • Days Won

    1

nixholas last won the day on November 18 2018

nixholas had the most liked content!

Community Reputation

1 Neutral

About nixholas

  • Rank
    Newbie
  1. cmake $TRINITY/repo -G Xcode \ -DMYSQL_ADD_INCLUDE_PATH=/usr/local/include \ -DMYSQL_LIBRARY=/usr/local/Cellar/[email protected]/5.7.24/lib/libmysqlclient.dylib \ -DREADLINE_INCLUDE_DIR=$TRINITY/include \ -DREADLINE_LIBRARY=$TRINITY/lib/libreadline.dylib \ -DBOOST_INCLUDEDIR=/usr/local/include \ -DBOOST_LIBRARYDIR=/usr/local/lib \ -DOPENSSL_SSL_LIBRARIES=$TRINITY/lib/libssl.dylib \ -DOPENSSL_CRYPTO_LIBRARIES=$TRINITY/lib/libcrypto.dylib \ -DZMQ_LIBRARY=/usr/local/opt/zeromq/lib/libzmq.dylib \ -DZMQ_INCLUDE_DIR=/usr/local/opt/zeromq/include \ -DOPENSSL_INCLUDE_DIR=$TRINITY/include \ -DCMAKE_INSTALL_PREFIX=$TRINITY \ -DWITH_WARNINGS=1 \ -DTOOLS=1 \ -DUSE_COREPCH=1 \ -DUSE_SCRIPTPCH=1 \ -DCMAKE_INSTALL_PREFIX=/Users/nixholas/tc-server \ That worked best for me. Using zshell, so here goes. export TRINITY=/Volumes/RedOne/TrinityCore export PATH=$TRINITY/bin:/usr/local/Cellar/[email protected]/5.7.24/bin:$PATH
  2. However, the use of 5.7 didn't successfully build either, I'll change the stacktrace to 5.7 after work.
  3. ProcessPCH++ /Volumes/RedOne/TrinityCore/build/src/server/database/SharedPrecompiledHeaders/database_CXX_prefix-fcwyxjlleloxokglfyuvjmdtgsuq/database_CXX_prefix.hxx.pch /Volumes/RedOne/TrinityCore/build/src/server/database/Release/cotire/database_CXX_prefix.hxx normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler cd /Volumes/RedOne/TrinityCore/repo export LANG=en_US.US-ASCII /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++-header -arch x86_64 -fmessage-length=362 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -Wno-trigraphs -fpascal-strings -O3 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -DCMAKE_INTDIR=\"Release\" -DTRINITY_API_EXPORT_DATABASE -D_BUILD_DIRECTIVE=\"RelWithDebInfo\" -DBOOST_DATE_TIME_NO_LIB -DBOOST_REGEX_NO_LIB -DBOOST_CHRONO_NO_LIB -DBOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE -DBOOST_ASIO_NO_DEPRECATED -DFMT_USE_OVERRIDE -DFMT_USE_VARIADIC_TEMPLATES -DFMT_USE_RVALUE_REFERENCES -DFMT_USE_DELETED_FUNCTIONS -DFMT_USE_EXTERN_TEMPLATES -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.14 -Wno-sign-conversion -Wno-infinite-recursion -Wno-move -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-range-loop-analysis -Wno-semicolon-before-method-body -I/Volumes/RedOne/TrinityCore/build/src/server/database/Release/include -I/Volumes/RedOne/TrinityCore/repo/src/server/database -I/Volumes/RedOne/TrinityCore/repo/src/server/database/Database -I/Volumes/RedOne/TrinityCore/repo/src/server/database/Database/Implementation -I/Volumes/RedOne/TrinityCore/repo/src/server/database/Logging -I/Volumes/RedOne/TrinityCore/repo/src/server/database/Updater -I/Volumes/RedOne/TrinityCore/build/src/server/database -I/Volumes/RedOne/TrinityCore/build -I/Volumes/RedOne/TrinityCore/repo/src/common -I/Volumes/RedOne/TrinityCore/repo/src/common/Asio -I/Volumes/RedOne/TrinityCore/repo/src/common/Collision -I/Volumes/RedOne/TrinityCore/repo/src/common/Collision/Management -I/Volumes/RedOne/TrinityCore/repo/src/common/Collision/Maps -I/Volumes/RedOne/TrinityCore/repo/src/common/Collision/Models -I/Volumes/RedOne/TrinityCore/repo/src/common/Configuration -I/Volumes/RedOne/TrinityCore/repo/src/common/Cryptography -I/Volumes/RedOne/TrinityCore/repo/src/common/Cryptography/Authentication -I/Volumes/RedOne/TrinityCore/repo/src/common/DataStores -I/Volumes/RedOne/TrinityCore/repo/src/common/Debugging -I/Volumes/RedOne/TrinityCore/repo/src/common/Logging -I/Volumes/RedOne/TrinityCore/repo/src/common/Metric -I/Volumes/RedOne/TrinityCore/repo/src/common/Platform -I/Volumes/RedOne/TrinityCore/repo/src/common/Threading -I/Volumes/RedOne/TrinityCore/repo/src/common/Utilities -I/usr/local/include -I/Volumes/RedOne/TrinityCore/repo/dep/fmt -I/Volumes/RedOne/TrinityCore/repo/dep/g3dlite/include -I/Volumes/RedOne/TrinityCore/repo/dep/recastnavigation/Detour/Include -I/Volumes/RedOne/TrinityCore/repo/dep/SFMT -I/Volumes/RedOne/TrinityCore/repo/dep/utf8cpp -I/Volumes/RedOne/TrinityCore/include -I/Volumes/RedOne/TrinityCore/repo/dep/valgrind -isystem /usr/local/Cellar/mysql/8.0.12/include/mysql -I/Volumes/RedOne/TrinityCore/build/src/server/database/TrinityCore.build/Release/database.build/DerivedSources/x86_64 -I/Volumes/RedOne/TrinityCore/build/src/server/database/TrinityCore.build/Release/database.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Volumes/RedOne/TrinityCore/build/src/server/database/Release -DNDEBUG -Wno-narrowing -Wno-deprecated-register -W -Wall -Wextra -Winit-self -Wfatal-errors -Wno-mismatched-tags -Woverloaded-virtual -std=gnu++14 -MD -MT dependencies -MF /Volumes/RedOne/TrinityCore/build/src/server/database/SharedPrecompiledHeaders/database_CXX_prefix-fcwyxjlleloxokglfyuvjmdtgsuq/database_CXX_prefix.hxx.d -c /Volumes/RedOne/TrinityCore/build/src/server/database/Release/cotire/database_CXX_prefix.hxx -o /Volumes/RedOne/TrinityCore/build/src/server/database/SharedPrecompiledHeaders/database_CXX_prefix-fcwyxjlleloxokglfyuvjmdtgsuq/database_CXX_prefix.hxx.pch --serialize-diagnostics /Volumes/RedOne/TrinityCore/build/src/server/database/SharedPrecompiledHeaders/database_CXX_prefix-fcwyxjlleloxokglfyuvjmdtgsuq/database_CXX_prefix.hxx.dia In file included from /Volumes/RedOne/TrinityCore/build/src/server/database/Release/cotire/database_CXX_prefix.hxx:4: In file included from /Volumes/RedOne/TrinityCore/build/src/server/database/Release/cotire/database_CXX_prefix.cxx:4: In file included from /Volumes/RedOne/TrinityCore/repo/src/server/database/PrecompiledHeaders/databasePCH.h:13: In file included from /usr/local/Cellar/mysql/8.0.12/include/mysql/mysql.h:84: /usr/local/Cellar/mysql/8.0.12/include/mysql/mysql/client_plugin.h:108:8: fatal error: definition of type 'MYSQL' conflicts with typedef of the same name struct MYSQL; ^ In file included from /Volumes/RedOne/TrinityCore/build/src/server/database/Release/cotire/database_CXX_prefix.hxx:4: In file included from /Volumes/RedOne/TrinityCore/build/src/server/database/Release/cotire/database_CXX_prefix.cxx:4: In file included from /Volumes/RedOne/TrinityCore/repo/src/server/database/PrecompiledHeaders/databasePCH.h:3: In file included from /Volumes/RedOne/TrinityCore/repo/src/server/database/Database/Field.h:22: /Volumes/RedOne/TrinityCore/repo/src/server/database/Database/DatabaseEnvFwd.h:48:25: note: 'MYSQL' declared here typedef struct st_mysql MYSQL; ^ 1 error generated. ** BUILD FAILED ** The following build commands failed: ProcessPCH++ /Volumes/RedOne/TrinityCore/build/src/server/database/SharedPrecompiledHeaders/database_CXX_prefix-fcwyxjlleloxokglfyuvjmdtgsuq/database_CXX_prefix.hxx.pch /Volumes/RedOne/TrinityCore/build/src/server/database/Release/cotire/database_CXX_prefix.hxx normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler (1 failure) Followed the documentation clearly but it ended up like this. Tried removing mysql for [email protected] but the build failed as well.
×
×
  • Create New...