Jump to content
TrinityCore

annarober

Plebs
  • Posts

    6
  • Joined

  • Last visited

Posts posted by annarober

  1. If I use this command for building my xcodebuild project it fails with the above error for ld Assertion Failed.

     

    cmake $TRINITY/repo -G "Xcode" -DMYSQL_ADD_INCLUDE_PATH=/usr/local/Cellar/mysql/5.7.12//include -DMYSQL_LIBRARY=/usr/local/Cellar/mysql/5.7.12/lib/libmysqlclient.dylib -DREADLINE_INCLUDE_DIR=/usr/local/Cellar/readline/6.3.8/include -DREADLINE_LIBRARY=/usr/local/Cellar/readline/6.3.8/lib/libreadline.dylib -DBOOST_INCLUDEDIR=/usr/local/Cellar/boost/1.60.0_2/include -DBOOST_LIBRARYDIR=/usr/local/Cellar/boost/1.60.0_2/lib -DOPENSSL_SSL_LIBRARIES=/usr/local/Cellar/openssl/1.0.2h_1/lib/libssl.dylib -DOPENSSL_CRYPTO_LIBRARIES=/usr/local/Cellar/openssl/1.0.2h_1/lib/libcrypto.dylib -DOPENSSL_INCLUDE_DIR=/usr/local/Cellar/openssl/1.0.2h_1/include -DCMAKE_INSTALL_PREFIX=$TRINITY -DWITH_WARNINGS=1 -DTOOLS=1

     

    However if I add -DSCRIPTS=0 at the end it builds fine but then the TC commands do not work.  I used homebrew to install the dependencies not sure what I might be doing wrong.  I can bring up the database, along with the worldserver,  I also patched the client but I can't create accounts to log in.   Any help would be greatly appreciated.

     

  2. The last message  I get when it fails is the following:

     

    0  0x103fcb99e  __assert_rtn + 144
    1  0x104002207  archive::File<x86_64>::makeObjectFileForMember(archive::File<x86_64>::Entry const*) const + 1131
    2  0x104001866  archive::File<x86_64>::justInTimeforEachAtom(char const*, ld::File::AtomHandler&) const + 112
    3  0x104015b25  ld::tool::InputFiles::searchLibraries(char const*, bool, bool, bool, ld::File::AtomHandler&) const + 265
    4  0x10401d763  ld::tool::Resolver::resolveUndefines() + 165
    5  0x10401fdeb  ld::tool::Resolver::resolve() + 75
    6  0x103fcc7a7  main + 940
    7  0x7fff8e5cc5ad  start + 1
    A linker snapshot was created at:
        /tmp/worldserver-2016-05-13-231951.ld-snapshot
    ld: Assertion failed: (memberIndex != 0), function makeObjectFileForMember, file /Library/Caches/com.apple.xbs/Sources/ld64/ld64-264.3.102/src/ld/parsers/archive_file.cpp, line 355.
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    ** BUILD FAILED **


    The following build commands failed:
        Ld /Users/daverober4/WOW_Stuff/Trinity/build/src/server/worldserver/Debug/worldserver normal x86_64
    (1 failure)

     

×
×
  • Create New...