Jump to content
TrinityCore

polszki

Plebs
  • Posts

    7
  • Joined

  • Last visited

Posts posted by polszki

  1. Yeah, but if i remove the latest content from te core, and i change the client type and version in the core, its possibile it can be run, or i have to modify too much things in the core for run? Maybe better, if i write a new core for it?

    But okay, the spell system it's different, so i have a lot of job with this project, but maybe better, then a new core... :S

  2. On 2017. 12. 26. at 7:51 PM, Undyne said:

    Látta, hogy módosította "Nem ajánlott: Ubnutu idősebb, mint 16.04"

    Szóval 17.10 működnie kell? Könnyebbnek találom az operációs rendszert frissíteni, mint kicserélni. Ismét megismerkedtem az ubuntu-val ... Várjuk a választ.

    Yes, it's perfectly work on ubuntu 17.10.

  3. After clean install, i followed this instructions on:

    ubuntu 17.10: (from default repository)
    --cmake 3.9.1
    --gcc 7.2.0
    --clang 4.0.1-6
    --boost 1.62.0.1

    master and 3.3.5 branch: success...
    cmake ../ -DCMAKE_INSTALL_PREFIX=/home/<username>/server
    cmake ../ -DCMAKE_INSTALL_PREFIX=/home/$USER/server -DTOOLS=1 -DWITH_WARNINGS=1

    on ubuntu 16.04: (from default repository)
    --cmake 3.5.1
    --gcc 5.4.0
    --clang 3.8.0
    --boost 1.58

    master: not tested, 3.3.5: failed
    cmake ../ -DCMAKE_INSTALL_PREFIX=/home/<username>/server

    [ 97%] Linking CXX executable worldserver
    ../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 to `boost::re_detail::cpp_regex_traits_implementation<wchar_t>::transform[abi:cxx11](wchar_t const*, wchar_t const*) const'
    ../game/libgame.a(DBCStores.cpp.o): In function `boost::cpp_regex_traits<wchar_t>::transform_primary[abi:cxx11](wchar_t const*, wchar_t const*) const':
    /usr/include/boost/regex/v4/cpp_regex_traits.hpp:965: undefined reference to `boost::re_detail::cpp_regex_traits_implementation<wchar_t>::transform_primary[abi:cxx11](wchar_t const*, wchar_t const*) const'
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    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:1564: 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 2e ../ -DCMAKETALL_PREFIX=/home/<username>/server

  4. Just now, Lost PMR said:

    I try to compile with gcc5,gcc6,clang 3.8 on Ubuntu 16.04

    also tested in centos with gcc4,gcc5,gcc6,gcc7, clang, All have error. but thats for new version patch. oldest version's work fine !

    Idk, I wanna back to last version!

    I tryed the prevoious version also, with gcc4.x, 5.x, 6.x, clang 3.8 on ubuntu16.04lts, but its does'nt work for me,  and later try on ubuntu 17, maybe something changed somewhere :)

  5. My problem is (after the patch :D)(3.3.5 branch, new installed ubuntu 16lts x64, i already try with 2core cpu 4, 8, 13gb ram,  gcc 6.3, and copy-pastetm  other system environment ^^)


    ../../common/libcommon.a(AppenderFile.cpp.o): In function `std::__atomic_base<unsigned long long>::store(unsigned long long, std::memory_order)':
    /usr/bin/../lib/gcc/i686-linux-gnu/6.3.0/../../../../include/c++/6.3.0/bits/atomic_base.h:374: undefined reference to `__atomic_store_8'
    ../../common/libcommon.a(AppenderFile.cpp.o): In function `std::__atomic_base<unsigned long long>::load(std::memory_order) const':
    /usr/bin/../lib/gcc/i686-linux-gnu/6.3.0/../../../../include/c++/6.3.0/bits/atomic_base.h:396: undefined reference to `__atomic_load_8'
    ../../common/libcommon.a(AppenderFile.cpp.o): In function `std::__atomic_base<unsigned long long>::operator+=(unsigned long long)':
    /usr/bin/../lib/gcc/i686-linux-gnu/6.3.0/../../../../include/c++/6.3.0/bits/atomic_base.h:312: undefined reference to `__atomic_fetch_add_8'
    /usr/bin/../lib/gcc/i686-linux-gnu/6.3.0/../../../../include/c++/6.3.0/bits/atomic_base.h:312: undefined reference to `__atomic_fetch_add_8'
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    src/server/authserver/CMakeFiles/authserver.dir/build.make:207: recipe for target 'src/server/authserver/authserver' failed
    make[2]: *** [src/server/authserver/authserver] Error 1
    CMakeFiles/Makefile2:1323: recipe for target 'src/server/authserver/CMakeFiles/authserver.dir/all' failed
    make[1]: *** [src/server/authserver/CMakeFiles/authserver.dir/all] Error 2
    make[1]: *** Waiting for unfinished jobs....
    [ 97%] Built target scripts
    Makefile:127: recipe for target 'all' failed
    make: *** [all] Error 2

    I think when compile the master branch, the problem is same (or almost same)

    I think something missing from the environment, or just outdated :D

  6. 9 hours ago, Spec said:

    might be a redundant question, but where should this be placed?

    Just download it to the source root folder, open git bash to source location do git apply patch.diff, use cmake and compile.

    Or just add this command : 

    set(COTIRE_PCH_MEMORY_SCALING_FACTOR 500)

    to the first row in /[source folder]/cmake/macros/FindPCHSupport.cmake b/cmake/macros/FindPCHSupport.cmake

    But the problem not resolved yet on my new system :/

×
×
  • Create New...