Jump to content
TrinityCore
Sign in to follow this  
nixholas

macOS master branch compilation via Homebrew

Recommended Posts

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...