-
Posts
7 -
Joined
-
Last visited
Posts posted by masterking32
-
-
6 hours ago, polszki said:
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.1master and 3.3.5 branch: success...
cmake ../ -DCMAKE_INSTALL_PREFIX=/home/<username>/server
cmake ../ -DCMAKE_INSTALL_PREFIX=/home/$USER/server -DTOOLS=1 -DWITH_WARNINGS=1on ubuntu 16.04: (from default repository)
--cmake 3.5.1
--gcc 5.4.0
--clang 3.8.0
--boost 1.58master: 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>/serverThey, just increase, requirement software's, without test!.
So clone from old commits. ( I have TrinityCore revision : 3ba518f5a996+ 2017-11-14 20:41:01 +0330 (3.3.5 branch) )
-- The C compiler identification is GNU 5.4.1
-- The CXX compiler identification is GNU 5.4.1
-- Boost version: 1.65.1 - Work with 1.58 too
- Ubuntu 16.04
[ 99%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/World/world_script_loader.cpp.o
[ 99%] Linking CXX static library libscripts.a
[ 99%] Built target scripts
Scanning dependencies of target worldserver
[ 99%] Building CXX object src/server/worldserver/CMakeFiles/worldserver.dir/RemoteAccess/RASession.cpp.o
[ 99%] Building CXX object src/server/worldserver/CMakeFiles/worldserver.dir/Main.cpp.o
[ 99%] Building CXX object src/server/worldserver/CMakeFiles/worldserver.dir/CommandLine/CliRunnable.cpp.o
[ 99%] Building CXX object src/server/worldserver/CMakeFiles/worldserver.dir/TCSoap/TCSoap.cpp.o
[100%] Linking CXX executable worldserver
[100%] Built target worldserverDone.
Compile or cmake problems
in Help and Support
Posted
& boost version?