Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error: no member named 'reference_wrapper' in namespace 'std' #19950

Closed
obsidean opened this issue Jun 23, 2017 · 10 comments
Closed

Fatal error: no member named 'reference_wrapper' in namespace 'std' #19950

obsidean opened this issue Jun 23, 2017 · 10 comments

Comments

@obsidean
Copy link

obsidean commented Jun 23, 2017

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<typename std::add_const::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

  2. Build Binaries with Xcode:
    xcodebuild -target install -config Release

Branch(es):
3.3.5

TC rev. hash/commit:
24b11a4

TDB version:
335.63

Operating system:
Mac OSX 10.12.5

@DDuarte
Copy link
Contributor

DDuarte commented Jun 23, 2017

XProject?

@obsidean
Copy link
Author

Sorry. Xcode

@Shauren
Copy link
Member

Shauren commented Jun 23, 2017

5236e6e is missing from 3.3.5

@obsidean
Copy link
Author

That works, thanks.

@Faq
Copy link
Contributor

Faq commented Jun 25, 2017

Then close?

@Jildor
Copy link
Contributor

Jildor commented Jun 25, 2017

No, need cherry-pick 5236e6e in 3.3.5 branch

@snwflake
Copy link

snwflake commented Apr 5, 2018

Still not cherry-picked.
Push

@ghost
Copy link

ghost commented Apr 5, 2018

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

@Gacko
Copy link
Contributor

Gacko commented Apr 8, 2018

No. I can take a look.

@Gacko Gacko self-assigned this Apr 8, 2018
@obsidean obsidean mentioned this issue Oct 3, 2018
@jackpoz
Copy link
Member

jackpoz commented Oct 4, 2018

908558e

@jackpoz jackpoz closed this as completed Oct 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants