Trinitycore: Fatal error: no member named 'reference_wrapper' in namespace 'std'

Created on 23 Jun 2017  路  10Comments  路  Source: TrinityCore/TrinityCore

Description:

When attempting to compile, get the following error:
users.../trinity/trinitycore/src/server/game/AI/CreatureAIImpl.h:28:10: fatal error:
no member named 'reference_wrapper' in namespace 'std'
std::reference_wrapper::type> const p...

Expected behaviour:
Should not stop compiling

Steps to reproduce the problem:

  1. Build Xcode Project Files:
    cmake ../ -GXcode \
    -DMYSQL_ADD_INCLUDE_PATH=/usr/local/include \
    -DMYSQL_LIBRARY=/usr/local/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/.../trinity \
    -DTOOLS=0 \
    -DWITH_WARNINGS=1
  1. Build Binaries with Xcode:
    xcodebuild -target install -config Release

Branch(es):
3.3.5

TC rev. hash/commit:
24b11a4dc0f3862ec9d52748c4763e2c28b25458

TDB version:
335.63

Operating system:
Mac OSX 10.12.5

Branch-3.3.5a Comp-Build Platform-OSX

Most helpful comment

All 10 comments

XProject?

Sorry. Xcode

5236e6ee22cb3efec138552d9a1a174a748ffb5a is missing from 3.3.5

That works, thanks.

Then close?

Still not cherry-picked.
Push

@Gacko , would you mind taking a look at that? Or have you left the OSX space?

No. I can take a look.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Lopfest picture Lopfest  路  3Comments

tje3d picture tje3d  路  3Comments

ZenoX92 picture ZenoX92  路  3Comments

cbcs picture cbcs  路  3Comments

DDuarte picture DDuarte  路  3Comments