Welcome to AC Web.
Results 1 to 7 of 7

Thread: error compile!

  1. #1

    Exclamation error compile!


    REGISTER! (FREE)
    Registered members see less ads
    and also gain access to other great features.
    fixed.
    Last edited by irgc; 02-18-2018 at 04:27 AM.

  2. #2
    i guest this should be enough for ubuntu
    Code:
    apt-get install build-essential autoconf libtool gcc g++ make cmake subversion git patch wget links zip unzip openssl libssl-dev mariadb-server mariadb-client libmysql++-dev libreadline-gplv2-dev zlib1g-dev libbz2-dev git-core libace-dev libncurses5-dev libtbb-dev
    Otherwise follow TC Guide: https://trinitycore.atlassian.net/wi...x+Requirements

  3. #3
    hi

    IDownloaded clone 3.3.5 TC

    linux ubuntu 16 64 bit
    gcc++ 6.3.0

    Completed the compilation error!

    [ 95%] Linking CXX executable worldserver

    ../game/libgame.a(DBCStores.cpp.o): In function boost::cpp_regex_traits<wchar_t>::transform_primar y[abi:cxx11](wchar_t const*, wchar_t const*) const': /usr/include/boost/regex/v4/cpp_regex_traits.hpp:965: undefined reference toboost::re_detail::cpp_regex_traits_implementatio n<wchar_t>::transform_primary[abi:cxx11](wchar_t const*, wchar_t const*) const'
    ../game/libgame.a(DBCStores.cpp.o): In function boost::cpp_regex_traits<wchar_t>::transform[abi:cxx11](wchar_t const*, wchar_t const*) const': /usr/include/boost/regex/v4/cpp_regex_traits.hpp:961: undefined reference toboost::re_detail::cpp_regex_traits_implementatio n<wchar_t>::transform[abi:cxx11](wchar_t const*, wchar_t const*) const'
    collect2: error: ld returned 1 exit status
    src/server/worldserver/CMakeFiles/worldserver.dir/build.make:211: recipe for target 'src/server/worldserver/worldserver' failed
    make[2]: *** [src/server/worldserver/worldserver] Error 1
    CMakeFiles/Makefile2:1596: recipe for target 'src/server/worldserver/CMakeFiles/worldserver.dir/all' failed
    make[1]: *** [src/server/worldserver/CMakeFiles/worldserver.dir/all] Error 2
    Makefile:127: recipe for target 'all' failed
    make: *** [all] Error 2




    @Aokromes

    Ubuntu 16.04 is unsuported, also it's more tricky than simply install gcc 6.3.0 and since it's unsuported this don't belongs here.

  4. #4
    Quote Originally Posted by irgc View Post
    hi

    IDownloaded clone 3.3.5 TC

    linux ubuntu 16 64 bit
    gcc++ 6.3.0

    Completed the compilation error!

    [ 95%] Linking CXX executable worldserver

    ../game/libgame.a(DBCStores.cpp.o): In function boost::cpp_regex_traits<wchar_t>::transform_primar y[abi:cxx11](wchar_t const*, wchar_t const*) const': /usr/include/boost/regex/v4/cpp_regex_traits.hpp:965: undefined reference toboost::re_detail::cpp_regex_traits_implementatio n<wchar_t>::transform_primary[abi:cxx11](wchar_t const*, wchar_t const*) const'
    ../game/libgame.a(DBCStores.cpp.o): In function boost::cpp_regex_traits<wchar_t>::transform[abi:cxx11](wchar_t const*, wchar_t const*) const': /usr/include/boost/regex/v4/cpp_regex_traits.hpp:961: undefined reference toboost::re_detail::cpp_regex_traits_implementatio n<wchar_t>::transform[abi:cxx11](wchar_t const*, wchar_t const*) const'
    collect2: error: ld returned 1 exit status
    src/server/worldserver/CMakeFiles/worldserver.dir/build.make:211: recipe for target 'src/server/worldserver/worldserver' failed
    make[2]: *** [src/server/worldserver/worldserver] Error 1
    CMakeFiles/Makefile2:1596: recipe for target 'src/server/worldserver/CMakeFiles/worldserver.dir/all' failed
    make[1]: *** [src/server/worldserver/CMakeFiles/worldserver.dir/all] Error 2
    Makefile:127: recipe for target 'all' failed
    make: *** [all] Error 2




    @Aokromes

    Ubuntu 16.04 is unsuported, also it's more tricky than simply install gcc 6.3.0 and since it's unsuported this don't belongs here.
    does apt-get install version gcc higher than 6.3.0? i have no problem while compile TC

  5. #5
    Hobby Freelancer

    Join Date
    Mar 2011
    Location
    PHP & SQL
    Posts
    1,592
    Quote Originally Posted by irgc View Post
    hi

    IDownloaded clone 3.3.5 TC

    linux ubuntu 16 64 bit
    gcc++ 6.3.0

    Completed the compilation error!

    [ 95%] Linking CXX executable worldserver

    ../game/libgame.a(DBCStores.cpp.o): In function boost::cpp_regex_traits<wchar_t>::transform_primar y[abi:cxx11](wchar_t const*, wchar_t const*) const': /usr/include/boost/regex/v4/cpp_regex_traits.hpp:965: undefined reference toboost::re_detail::cpp_regex_traits_implementatio n<wchar_t>::transform_primary[abi:cxx11](wchar_t const*, wchar_t const*) const'
    ../game/libgame.a(DBCStores.cpp.o): In function boost::cpp_regex_traits<wchar_t>::transform[abi:cxx11](wchar_t const*, wchar_t const*) const': /usr/include/boost/regex/v4/cpp_regex_traits.hpp:961: undefined reference toboost::re_detail::cpp_regex_traits_implementatio n<wchar_t>::transform[abi:cxx11](wchar_t const*, wchar_t const*) const'
    collect2: error: ld returned 1 exit status
    src/server/worldserver/CMakeFiles/worldserver.dir/build.make:211: recipe for target 'src/server/worldserver/worldserver' failed
    make[2]: *** [src/server/worldserver/worldserver] Error 1
    CMakeFiles/Makefile2:1596: recipe for target 'src/server/worldserver/CMakeFiles/worldserver.dir/all' failed
    make[1]: *** [src/server/worldserver/CMakeFiles/worldserver.dir/all] Error 2
    Makefile:127: recipe for target 'all' failed
    make: *** [all] Error 2
    Yeah, I current have that same issue and I run gcc 6.3.x and clang 3.8.x; same error on both. Not really sure why its freaking out on that. What I get for merging TC updates with my project again.

  6. #6
    Quote Originally Posted by irgc View Post
    hi

    IDownloaded clone 3.3.5 TC

    linux ubuntu 16 64 bit
    gcc++ 6.3.0

    Completed the compilation error!

    [ 95%] Linking CXX executable worldserver

    ../game/libgame.a(DBCStores.cpp.o): In function boost::cpp_regex_traits<wchar_t>::transform_primar y[abi:cxx11](wchar_t const*, wchar_t const*) const': /usr/include/boost/regex/v4/cpp_regex_traits.hpp:965: undefined reference toboost::re_detail::cpp_regex_traits_implementatio n<wchar_t>::transform_primary[abi:cxx11](wchar_t const*, wchar_t const*) const'
    ../game/libgame.a(DBCStores.cpp.o): In function boost::cpp_regex_traits<wchar_t>::transform[abi:cxx11](wchar_t const*, wchar_t const*) const': /usr/include/boost/regex/v4/cpp_regex_traits.hpp:961: undefined reference toboost::re_detail::cpp_regex_traits_implementatio n<wchar_t>::transform[abi:cxx11](wchar_t const*, wchar_t const*) const'
    collect2: error: ld returned 1 exit status
    src/server/worldserver/CMakeFiles/worldserver.dir/build.make:211: recipe for target 'src/server/worldserver/worldserver' failed
    make[2]: *** [src/server/worldserver/worldserver] Error 1
    CMakeFiles/Makefile2:1596: recipe for target 'src/server/worldserver/CMakeFiles/worldserver.dir/all' failed
    make[1]: *** [src/server/worldserver/CMakeFiles/worldserver.dir/all] Error 2
    Makefile:127: recipe for target 'all' failed
    make: *** [all] Error 2




    @Aokromes

    Ubuntu 16.04 is unsuported, also it's more tricky than simply install gcc 6.3.0 and since it's unsuported this don't belongs here.
    I do that, Ubuntu 16.04 support last version of TrinityCore, just try to Install softwares on a new clean ubuntu, Now I have linux bash on windows 10 with ubuntu 16.04 & thats work fine, I had this problem but now its work fine.

    https://blog.masterking32.com/en/pos...mp-ubuntu-2017

  7. #7

    REGISTER! (FREE)
    Registered members see less ads
    and also gain access to other great features.
    y fixed

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •