Jump to content
TrinityCore

Recommended Posts

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.

Share this post


Link to post
Share on other sites
On 12/26/2017 at 9:58 PM, Aokromes said:

It's faster than being messing with packages and dependences that may break server XD

Thx, compiled it. But what about the client. Where can I download 3.3.5a (12340). I searched quite a lot and found some working download links for 3.3.5a but I'm not sure if they will work properly since I haven't seen a patch number (like 12340). Could you provide me a link, I'll be very grateful !

 

Edit: Guess I found it.

https://drive.google.com/uc?export=download&confirm=RnM7&id=0B4dwW8TOxn5dckRENjlTa3Uxc2c

z4PajlZ.jpg

Edited by Undyne

Share this post


Link to post
Share on other sites

That link is a modified Wrath Client with broken models. However, I Downloaded and tried it. It occasionally crashes when I go into TBC Outland.

Share this post


Link to post
Share on other sites

Hi I have some trouble compiling trinitycore 64 bits (i had no problem with an old version using msvc 14 (2015) but i want to have the last version of trinitycore)

Here is the error message : https://pastebin.com/Nm0HJsJ1

OS : windows 7 64 bits

The C compiler identification is MSVC 19.12.25831.0

The CXX compiler identification is MSVC 19.12.25831.0

MySQL version : 5.5

Boost version : 1.65.1

OpenSSL version : 1.0.2e (3 dec 2015)

Cmake version : 3.8.2

All my programs are in 64 bits

I followed the instructions step by step but i couldn't figure it out myself how to solve the problem... Thanks 

Edited by sun864

Share this post


Link to post
Share on other sites
1 hour ago, sun864 said:

Hi I have some trouble compiling trinitycore 64 bits (i had no problem with an old version using msvc 14 (2015) but i want to have the last version of trinitycore)

Here is the error message : https://pastebin.com/Nm0HJsJ1

OS : windows 7 64 bits

The C compiler identification is MSVC 19.12.25831.0

The CXX compiler identification is MSVC 19.12.25831.0

MySQL version : 5.5

Boost version : 1.65.1

OpenSSL version : 1.0.2e (3 dec 2015)

Cmake version : 3.8.2

All my programs are in 64 bits

I followed the instructions step by step but i couldn't figure it out myself how to solve the problem... Thanks 

I suggest you to delete build directory and re-run cmake.

Share this post


Link to post
Share on other sites

I have already done it like 5 times :D, it's not possible that the problem comes from my git right? I got an old version (I'm using TortoiseGit 2.1.0.0, git version 2.7.2.windows.1) but I guess it doesn't change anything. 

Edited by sun864

Share this post


Link to post
Share on other sites
3 hours ago, sun864 said:

I have already done it like 5 times :D, it's not possible that the problem comes from my git right? I got an old version (I'm using TortoiseGit 2.1.0.0, git version 2.7.2.windows.1) but I guess it doesn't change anything. 

Try cloning a fresh repository, i see references to no-longer existing files.

Share this post


Link to post
Share on other sites

This has probably been mentioned, but I was forced to upgrade to Debian 9. I do like the error messages giving more details and suggestions when compiling, but I am having serious linking issues with boost, zlib, etc. Here is my error:

 

[ 38%] Linking CXX executable authserver
CMakeFiles/authserver.dir/Main.cpp.o: In function `GetConsoleArguments(int, char**, boost::filesystem::path&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
/opt/TrinityCore/src/server/authserver/Main.cpp:305: undefined reference to `boost::program_options::options_description::options_description(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned int)'
CMakeFiles/authserver.dir/Main.cpp.o: In function `basic_command_line_parser':
/usr/local/include/boost/program_options/detail/parsers.hpp:40: undefined reference to `boost::program_options::detail::cmdline::cmdline(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)'
CMakeFiles/authserver.dir/Main.cpp.o: In function `boost::program_options::typed_value<boost::filesystem::path, char>::name[abi:cxx11]() const':
/usr/local/include/boost/program_options/detail/value_semantic.hpp:18: undefined reference to `boost::program_options::arg[abi:cxx11]'
CMakeFiles/authserver.dir/Main.cpp.o: In function `void boost::program_options::validate<boost::filesystem::path, char>(boost::any&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, boost::filesystem::path*, long)':
/usr/local/include/boost/program_options/detail/value_semantic.hpp:92: undefined reference to `boost::program_options::invalid_option_value::invalid_option_value(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
CMakeFiles/authserver.dir/Main.cpp.o: In function `validation_error':
/usr/local/include/boost/program_options/errors.hpp:373: undefined reference to `boost::program_options::validation_error::get_template[abi:cxx11](boost::program_options::validation_error::kind_t)'
/usr/local/include/boost/program_options/errors.hpp:373: undefined reference to `boost::program_options::error_with_option_name::error_with_option_name(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
/usr/local/include/boost/program_options/errors.hpp:373: undefined reference to `boost::program_options::validation_error::get_template[abi:cxx11](boost::program_options::validation_error::kind_t)'
/usr/local/include/boost/program_options/errors.hpp:373: undefined reference to `boost::program_options::error_with_option_name::error_with_option_name(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
CMakeFiles/authserver.dir/Main.cpp.o: In function `std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > boost::program_options::to_internal<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)':
/usr/local/include/boost/program_options/detail/convert.hpp:79: undefined reference to `boost::program_options::to_internal(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
CMakeFiles/authserver.dir/Main.cpp.o:(.rodata._ZTVN5boost15program_options11typed_valueINS_10filesystem4pathEcEE[_ZTVN5boost15program_options11typed_valueINS_10filesystem4pathEcEE]+0x40): undefined reference to `boost::program_options::value_semantic_codecvt_helper<char>::parse(boost::any&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, bool) const'
CMakeFiles/authserver.dir/Main.cpp.o:(.rodata._ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options16validation_errorEEEEE[_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options16validation_errorEEEEE]+0x38): undefined reference to `boost::program_options::error_with_option_name::substitute_placeholders(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
CMakeFiles/authserver.dir/Main.cpp.o:(.rodata._ZTVN5boost16exception_detail19error_info_injectorINS_15program_options16validation_errorEEE[_ZTVN5boost16exception_detail19error_info_injectorINS_15program_options16validation_errorEEE]+0x30): undefined reference to `boost::program_options::error_with_option_name::substitute_placeholders(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
CMakeFiles/authserver.dir/Main.cpp.o:(.rodata._ZTVN5boost15program_options16validation_errorE[_ZTVN5boost15program_options16validation_errorE]+0x30): undefined reference to `boost::program_options::error_with_option_name::substitute_placeholders(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
CMakeFiles/authserver.dir/Main.cpp.o:(.rodata._ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options20invalid_option_valueEEEEE[_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options20invalid_option_valueEEEEE]+0x38): undefined reference to `boost::program_options::error_with_option_name::substitute_placeholders(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
CMakeFiles/authserver.dir/Main.cpp.o:(.rodata._ZTVN5boost16exception_detail19error_info_injectorINS_15program_options20invalid_option_valueEEE[_ZTVN5boost16exception_detail19error_info_injectorINS_15program_options20invalid_option_valueEEE]+0x30): undefined reference to `boost::program_options::error_with_option_name::substitute_placeholders(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
CMakeFiles/authserver.dir/Main.cpp.o:(.rodata._ZTVN5boost15program_options20invalid_option_valueE[_ZTVN5boost15program_options20invalid_option_valueE]+0x30): more undefined references to `boost::program_options::error_with_option_name::substitute_placeholders(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const' follow
../../common/libcommon.a(StartProcess.cpp.o): In function `operator()':
/opt/TrinityCore/src/common/Utilities/StartProcess.cpp:83: undefined reference to `boost::iostreams::file_descriptor_source::file_descriptor_source(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::_Ios_Openmode)'
/opt/TrinityCore/src/common/Utilities/StartProcess.cpp:83: undefined reference to `boost::iostreams::file_descriptor_source::file_descriptor_source(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::_Ios_Openmode)'
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:1291: recipe for target 'src/server/authserver/CMakeFiles/authserver.dir/all' failed
make[1]: *** [src/server/authserver/CMakeFiles/authserver.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

 

Seen so many similar errors mentioned, and no fixes. If I find a fix, I will post it.

Share this post


Link to post
Share on other sites
12 hours ago, Aokromes said:

Try cloning a fresh repository, i see references to no-longer existing files.

I deleted my folders build and trinitycore and restarted again from the beginning, still no problem with cmake and i got the exact same problem while compiling, am I not cloning it right? 

Here is my Cmake output if it can helps : https://pastebin.com/DKvSE5WU

gitTrinityCore.png

Share this post


Link to post
Share on other sites
On 1/6/2018 at 7:35 PM, LordPsyan said:

This has probably been mentioned, but I was forced to upgrade to Debian 9. I do like the error messages giving more details and suggestions when compiling, but I am having serious linking issues with boost, zlib, etc. Here is my error:

 

[ 38%] Linking CXX executable authserver
CMakeFiles/authserver.dir/Main.cpp.o: In function `GetConsoleArguments(int, char**, boost::filesystem::path&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
/opt/TrinityCore/src/server/authserver/Main.cpp:305: undefined reference to `boost::program_options::options_description::options_description(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned int)'

...

Seen so many similar errors mentioned, and no fixes. If I find a fix, I will post it.

I said I would post my fix. It was not fun, nor quick...

 

I had to remove boost, and compile from source. here are the steps I took: (works for Debian and Ubuntu. Don't forget sudo in Ubuntu)

 

  1. apt-get remove libboost-all-dev --purge (I like to purge all files.)
  2. cd /opt (this is where I store my files. place them wherever you want)
  3. download boost source latest from sourceforge: SourceForge Boost files
  4. 7za boost-1_66_0.7z (or whatever version is latest)
  5. cd boost-1_66_0
  6. ./bootstrap.sh
  7. ./b2
  8. ./b2 install

 

This fixed my problem, and I could compile. I hope this helps. b2 takes forever to run. by default, is should install boost to /usr/local/include/boost

 

- LordPsyan

Share this post


Link to post
Share on other sites
1 hour ago, LordPsyan said:

I said I would post my fix. It was not fun, nor quick...

 

I had to remove boost, and compile from source. here are the steps I took: (works for Debian and Ubuntu. Don't forget sudo in Ubuntu)

 

  1. apt-get remove libboost-all-dev --purge (I like to purge all files.)
  2. cd /opt (this is where I store my files. place them wherever you want)
  3. download boost source latest from sourceforge: SourceForge Boost files
  4. 7za boost-1_66_0.7z (or whatever version is latest)
  5. cd boost-1_66_0
  6. ./bootstrap.sh
  7. ./b2
  8. ./b2 install

 

This fixed my problem, and I could compile. I hope this helps. b2 takes forever to run. by default, is should install boost to /usr/local/include/boost

 

- LordPsyan

works for me with default debian 9 boost ....

Share this post


Link to post
Share on other sites

Hello,

Trying to build to current version (Updating a23c97a0fc..d9c772303c per git pull) after upgrading to Fedora 27, and I am getting the following error on the file DatabaseWorkerPool.cpp.o:

 

[ 14%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/DatabaseWorkerPool.cpp.o
In file included from /home/trinity-lk/TrinityCore/src/server/database/PrecompiledHeaders/databasePCH.h:19:0,
                 from /home/trinity-lk/TrinityCore/build/src/server/database/cotire/database_CXX_prefix.cxx:4,
                 from /home/trinity-lk/TrinityCore/build/src/server/database/cotire/database_CXX_prefix.hxx:4:
/home/trinity-lk/TrinityCore/src/server/database/Database/DatabaseWorkerPool.cpp: In constructor ‘DatabaseWorkerPool<T>::DatabaseWorkerPool()’:
/home/trinity-lk/TrinityCore/src/server/database/Database/DatabaseWorkerPool.cpp:60:34: error: ‘MYSQL_SERVER_VERSION’ was not declared in this scope
         mysql_get_client_info(), MYSQL_SERVER_VERSION);
                                  ^
/home/trinity-lk/TrinityCore/src/common/Debugging/Errors.h:50:110: note: in definition of macro ‘WPFatal’
 #define WPFatal(cond, ...) ASSERT_BEGIN do { if (!(cond)) Trinity::Fatal(__FILE__, __LINE__, __FUNCTION__, ##__VA_ARGS__); } while(0) ASSERT_END
                                                                                                                                                                                               ^~~~~~~~~~~
compilation terminated due to -Wfatal-errors.
make[2]: *** [src/server/database/CMakeFiles/database.dir/build.make:178: src/server/database/CMakeFiles/database.dir/Database/DatabaseWorkerPool.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1125: src/server/database/CMakeFiles/database.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

 

I opened this file, and I noticed there's no #define statement for MYSQL_SERVER_VERSION. Is this an issue with the file?

EDIT: I am running MariaDB 10.2.9, as that is what came with Fedora 27, in case that's needed.

Edited by shadedmagus

Share this post


Link to post
Share on other sites

I figured it out 
 

Determining if the include file pthread.h exists failed with the following output:
Change Dir: C:/Users/Alan/Downloads/AshamaneCore-master/build/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe" "cmTC_3da1c.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=15.0"
Microsoft (R) Build Engine version 15.5.180.51428 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 10/01/2018 15:01:47.
Project "C:\Users\Alan\Downloads\AshamaneCore-master\build\CMakeFiles\CMakeTmp\cmTC_3da1c.vcxproj" on node 1 (default targets).
PrepareForBuild:
  Creating directory "cmTC_3da1c.dir\Debug\".
  Creating directory "C:\Users\Alan\Downloads\AshamaneCore-master\build\CMakeFiles\CMakeTmp\Debug\".
  Creating directory "cmTC_3da1c.dir\Debug\cmTC_3da1c.tlog\".
InitializeBuildStatus:
  Creating "cmTC_3da1c.dir\Debug\cmTC_3da1c.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
  C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\bin\HostX86\x86\CL.exe /c /Zi /W1 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_3da1c.dir\Debug\\" /Fd"cmTC_3da1c.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue "C:\Users\Alan\Downloads\AshamaneCore-master\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c"
  Microsoft (R) C/C++ Optimizing Compiler Version 19.12.25834 for x86
  Copyright (C) Microsoft Corporation.  All rights reserved.
 
  cl /c /Zi /W1 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_3da1c.dir\Debug\\" /Fd"cmTC_3da1c.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue "C:\Users\Alan\Downloads\AshamaneCore-master\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c"
  CheckIncludeFile.c
 
C:\Users\Alan\Downloads\AshamaneCore-master\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory [C:\Users\Alan\Downloads\AshamaneCore-master\build\CMakeFiles\CMakeTmp\cmTC_3da1c.vcxproj]
Done Building Project "C:\Users\Alan\Downloads\AshamaneCore-master\build\CMakeFiles\CMakeTmp\cmTC_3da1c.vcxproj" (default targets) -- FAILED.

Build FAILED.

"C:\Users\Alan\Downloads\AshamaneCore-master\build\CMakeFiles\CMakeTmp\cmTC_3da1c.vcxproj" (default target) (1) ->
(ClCompile target) ->
  C:\Users\Alan\Downloads\AshamaneCore-master\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory [C:\Users\Alan\Downloads\AshamaneCore-master\build\CMakeFiles\CMakeTmp\cmTC_3da1c.vcxproj]

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.57


Performing C++ SOURCE FILE Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM failed with the following output:
Change Dir: C:/Users/Alan/Downloads/AshamaneCore-master/build/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe" "cmTC_09a14.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=15.0"
Microsoft (R) Build Engine version 15.5.180.51428 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 10/01/2018 15:01:50.
Project "C:\Users\Alan\Downloads\AshamaneCore-master\build\CMakeFiles\CMakeTmp\cmTC_09a14.vcxproj" on node 1 (default targets).
PrepareForBuild:
  Creating directory "cmTC_09a14.dir\Debug\".
  Creating directory "C:\Users\Alan\Downloads\AshamaneCore-master\build\CMakeFiles\CMakeTmp\Debug\".
  Creating directory "cmTC_09a14.dir\Debug\cmTC_09a14.tlog\".
InitializeBuildStatus:
  Creating "cmTC_09a14.dir\Debug\cmTC_09a14.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
  C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\bin\HostX86\x86\CL.exe /c /IC:\local\boost_1_65_1 /Zi /W1 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D boost_filesystem_copy_links_without_NO_SCOPED_ENUM /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_09a14.dir\Debug\\" /Fd"cmTC_09a14.dir\Debug\vc141.pdb" /Gd /TP /analyze- /errorReport:queue "C:\Users\Alan\Downloads\AshamaneCore-master\build\CMakeFiles\CMakeTmp\src.cxx"
  Microsoft (R) C/C++ Optimizing Compiler Version 19.12.25834 for x86
  Copyright (C) Microsoft Corporation.  All rights reserved.
 
  cl /c /IC:\local\boost_1_65_1 /Zi /W1 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D boost_filesystem_copy_links_without_NO_SCOPED_ENUM /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_09a14.dir\Debug\\" /Fd"cmTC_09a14.dir\Debug\vc141.pdb" /Gd /TP /analyze- /errorReport:queue "C:\Users\Alan\Downloads\AshamaneCore-master\build\CMakeFiles\CMakeTmp\src.cxx"
 
  src.cxx
  Unknown compiler version - please run the configure tests and report the results
Link:
  C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\bin\HostX86\x86\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Users\Alan\Downloads\AshamaneCore-master\build\CMakeFiles\CMakeTmp\Debug\cmTC_09a14.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/Users/Alan/Downloads/AshamaneCore-master/build/CMakeFiles/CMakeTmp/Debug/cmTC_09a14.pdb" /SUBSYSTEM:CONSOLE /LARGEADDRESSAWARE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Users/Alan/Downloads/AshamaneCore-master/build/CMakeFiles/CMakeTmp/Debug/cmTC_09a14.lib" /MACHINE:X86 /SAFESEH  /machine:X86 cmTC_09a14.dir\Debug\src.obj
LINK : fatal error LNK1104: cannot open file 'libboost_filesystem-vc141-mt-gd-1_65_1.lib' [C:\Users\Alan\Downloads\AshamaneCore-master\build\CMakeFiles\CMakeTmp\cmTC_09a14.vcxproj]
Done Building Project "C:\Users\Alan\Downloads\AshamaneCore-master\build\CMakeFiles\CMakeTmp\cmTC_09a14.vcxproj" (default targets) -- FAILED.

Build FAILED.

"C:\Users\Alan\Downloads\AshamaneCore-master\build\CMakeFiles\CMakeTmp\cmTC_09a14.vcxproj" (default target) (1) ->
(Link target) ->
  LINK : fatal error LNK1104: cannot open file 'libboost_filesystem-vc141-mt-gd-1_65_1.lib' [C:\Users\Alan\Downloads\AshamaneCore-master\build\CMakeFiles\CMakeTmp\cmTC_09a14.vcxproj]

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:02.27

Source file was:

  #include <boost/filesystem/path.hpp>
  #include <boost/filesystem/operations.hpp>
  int main() { boost::filesystem::copy_file(boost::filesystem::path(), boost::filesystem::path()); }

As for it not being able to find the file, well I found it in C:\local\boost_1_65_1\lib64-msvc-14.1

Untitled.jpg

Edited by WHITELIONX
I figured it out :)

Share this post


Link to post
Share on other sites

So I'm now getting compile errors from VS2017. 458 errors to be exact,  LNK 2019, LNK 1120, and LNK 2001 :/ Any help would be greatly appreciated as I'm not versed in C++ Errors are in bnetserver, connection_patcher and worldserver

Edited by WHITELIONX

Share this post


Link to post
Share on other sites

Still have problem with CentOS 6.9
gcc version 6.3.1 20170216 (Red Hat 6.3.1-3) (GCC)

-- The C compiler identification is GNU 6.3.1
-- The CXX compiler identification is GNU 6.3.1
-- Check for working C compiler: /opt/rh/devtoolset-6/root/usr/bin/gcc
-- Check for working C compiler: /opt/rh/devtoolset-6/root/usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /opt/rh/devtoolset-6/root/usr/bin/g++
-- Check for working CXX compiler: /opt/rh/devtoolset-6/root/usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detected 64-bit platform
-- UNIX: Using default configuration directory
-- UNIX: Using default library directory
-- UNIX: Configuring uninstall target
-- UNIX: Created uninstall target
-- UNIX: Detected compiler: /opt/rh/devtoolset-6/root/usr/bin/gcc
-- GCC: SFMT enabled, SSE2 flags forced
-- cotire 1.7.10 loaded.
-- Using mysql-config: /usr/bin/mysql_config
-- Found MySQL library: /usr/lib64/libmysqlclient.so
-- Found MySQL headers: /usr/include/mysql
-- Found MySQL executable: /usr/bin/mysql
-- Found git binary : /usr/local/bin/git

* TrinityCore revision   : 3d5e74329a15+ 2018-01-15 15:56:57 +0000 (master branch)
* TrinityCore buildtype  : RelWithDebInfo

* Install core to        : /usr/local
* Install libraries to   : /usr/local/lib
* Install configs to     : /usr/local/etc

* Build world/auth       : Yes (default)
* Build with scripts     : Yes (static)
* Build Eluna LuaEngine  : Yes (default)
* Build map/vmap tools   : Yes (default)
* Build core w/PCH       : Yes (default)
* Build scripts w/PCH    : Yes (default)
* Show compile-warnings  : No  (default)
* Use coreside debug     : No  (default)
* Show source tree       : Yes (hierarchical)
* Use GIT revision hash  : Yes (default)

-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   system
--   filesystem
--   thread
--   program_options
--   iostreams
--   regex
-- Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM
-- Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM - Success
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.3")
-- Looking for open
-- Looking for open - found
-- Found OpenSSL library: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so
-- Found OpenSSL headers: /usr/include
-- Looking for MADV_FREE
-- Looking for MADV_FREE - not found
-- Found Readline library: /usr/lib64/libreadline.so
-- Include dir is: /usr/include
-- Found BZip2: /usr/lib64/libbz2.so (found version "1.0.5")
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
-- CXX target common cotired without unity build.
-- CXX target database cotired without unity build.
-- CXX target shared cotired without unity build.
-- CXX target game cotired without unity build.
-- CXX target authserver cotired without unity build.

* Script configuration (static):
    |
    +- worldserver
    |   +- Commands
    |   +- Custom
    |   +- EasternKingdoms
    |   +- Events
    |   +- Kalimdor
    |   +- Northrend
    |   +- OutdoorPvP
    |   +- Outland
    |   +- Pet
    |   +- Spells
    |   +- World
    |
-- CXX target scripts cotired without unity build.

-- CXX target worldserver cotired without unity build.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/trinitycore/TrinityCore/build

Scanning dependencies of target g3dlib
[  0%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/AABox.cpp.o
[  0%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Any.cpp.o
[  0%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/AnyTableReader.cpp.o
[  0%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/BinaryFormat.cpp.o
[  0%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/BinaryInput.cpp.o
[  1%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/BinaryOutput.cpp.o
[  1%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Box.cpp.o
[  1%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Capsule.cpp.o
[  1%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/CollisionDetection.cpp.o
[  1%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/CoordinateFrame.cpp.o
[  1%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Crypto.cpp.o
[  1%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Cylinder.cpp.o
[  1%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/debugAssert.cpp.o
[  1%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/FileSystem.cpp.o
[  1%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/fileutils.cpp.o
[  1%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/format.cpp.o
[  1%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/g3dfnmatch.cpp.o
[  2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/g3dmath.cpp.o
[  2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/GThread.cpp.o
[  2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Line.cpp.o
[  2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/LineSegment.cpp.o
[  2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Log.cpp.o
[  2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Matrix3.cpp.o
[  2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Matrix4.cpp.o
[  2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/MemoryManager.cpp.o
[  2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/PhysicsFrame.cpp.o
[  2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Plane.cpp.o
[  2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/prompt.cpp.o
[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Quat.cpp.o
[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Random.cpp.o
[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Ray.cpp.o
[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/RegistryUtil.cpp.o
[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Sphere.cpp.o
[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/stringutils.cpp.o
[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/System.cpp.o
[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/TextInput.cpp.o
[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/TextOutput.cpp.o
[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Triangle.cpp.o
[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/uint128.cpp.o
[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/UprightFrame.cpp.o
[  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector2.cpp.o
[  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector3.cpp.o
[  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector4.cpp.o
[  4%] Linking CXX static library libg3dlib.a
[  4%] Built target g3dlib
Scanning dependencies of target Detour
[  4%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourAlloc.cpp.o
[  4%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourAssert.cpp.o
[  4%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourCommon.cpp.o
[  4%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourNavMesh.cpp.o
[  4%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourNavMeshBuilder.cpp.o
[  4%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourNavMeshQuery.cpp.o
[  4%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourNode.cpp.o
[  4%] Linking CXX static library libDetour.a
[  4%] Built target Detour
Scanning dependencies of target Recast
[  4%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/Recast.cpp.o
[  4%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastAlloc.cpp.o
[  4%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastAssert.cpp.o
[  5%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastArea.cpp.o
[  5%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastContour.cpp.o
[  5%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastFilter.cpp.o
[  5%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastLayers.cpp.o
[  5%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastMesh.cpp.o
[  5%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastMeshDetail.cpp.o
[  5%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastRasterization.cpp.o
[  5%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastRegion.cpp.o
[  5%] Linking CXX static library libRecast.a
[  5%] Built target Recast
Scanning dependencies of target fmt
[  5%] Building CXX object dep/fmt/CMakeFiles/fmt.dir/fmt/format.cc.o
[  5%] Building CXX object dep/fmt/CMakeFiles/fmt.dir/fmt/ostream.cc.o
[  5%] Building CXX object dep/fmt/CMakeFiles/fmt.dir/fmt/printf.cc.o
[  5%] Building CXX object dep/fmt/CMakeFiles/fmt.dir/fmt/posix.cc.o
[  5%] Linking CXX static library libfmt.a
[  5%] Built target fmt
Scanning dependencies of target jemalloc
[  5%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/arena.c.o
[  5%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/background_thread.c.o
[  5%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/base.c.o
[  5%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/bitmap.c.o
[  5%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/ckh.c.o
[  5%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/ctl.c.o
[  5%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/extent.c.o
[  5%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/extent_dss.c.o
[  5%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/extent_mmap.c.o
[  6%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/hash.c.o
[  6%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/hooks.c.o
[  6%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/jemalloc.c.o
In file included from /home/trinitycore/TrinityCore/dep/jemalloc/include/jemalloc/internal/jemalloc_preamble.h:48:0,
                 from /home/trinitycore/TrinityCore/dep/jemalloc/src/jemalloc.c:2:
/home/trinitycore/TrinityCore/dep/jemalloc/src/jemalloc.c: In function ‘jemalloc_secure_getenv’:
/home/trinitycore/TrinityCore/dep/jemalloc/include/jemalloc/internal/hooks.h:15:37: error: ‘secure_getenv’ undeclared (first use in this function)
 #define secure_getenv JEMALLOC_HOOK(secure_getenv, hooks_libc_hook)
                                     ^
/home/trinitycore/TrinityCore/dep/jemalloc/include/jemalloc/internal/hooks.h:7:71: note: in definition of macro ‘JEMALLOC_HOOK’
 #define JEMALLOC_HOOK(fn, hook) ((void)(hook != NULL && (hook(), 0)), fn)
                                                                       ^~
/home/trinitycore/TrinityCore/dep/jemalloc/src/jemalloc.c:699:9: note: in expansion of macro ‘secure_getenv’
  return secure_getenv(name);
         ^~~~~~~~~~~~~
/home/trinitycore/TrinityCore/dep/jemalloc/include/jemalloc/internal/hooks.h:15:37: note: each undeclared identifier is reported only once for each function it appears in
 #define secure_getenv JEMALLOC_HOOK(secure_getenv, hooks_libc_hook)
                                     ^
/home/trinitycore/TrinityCore/dep/jemalloc/include/jemalloc/internal/hooks.h:7:71: note: in definition of macro ‘JEMALLOC_HOOK’
 #define JEMALLOC_HOOK(fn, hook) ((void)(hook != NULL && (hook(), 0)), fn)
                                                                       ^~
/home/trinitycore/TrinityCore/dep/jemalloc/src/jemalloc.c:699:9: note: in expansion of macro ‘secure_getenv’
  return secure_getenv(name);
         ^~~~~~~~~~~~~
dep/jemalloc/CMakeFiles/jemalloc.dir/build.make:326: recipe for target 'dep/jemalloc/CMakeFiles/jemalloc.dir/src/jemalloc.c.o' failed
make[2]: *** [dep/jemalloc/CMakeFiles/jemalloc.dir/src/jemalloc.c.o] Error 1
CMakeFiles/Makefile2:574: recipe for target 'dep/jemalloc/CMakeFiles/jemalloc.dir/all' failed
make[1]: *** [dep/jemalloc/CMakeFiles/jemalloc.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

 


        
        
clang version 5.0.0
        

-- The C compiler identification is Clang 5.0.0
-- The CXX compiler identification is Clang 5.0.0
-- Check for working C compiler: /opt/llvm-5.0.0/bin/clang
-- Check for working C compiler: /opt/llvm-5.0.0/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /opt/llvm-5.0.0/bin/clang++
-- Check for working CXX compiler: /opt/llvm-5.0.0/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detected 64-bit platform
-- UNIX: Using default configuration directory
-- UNIX: Using default library directory
-- UNIX: Configuring uninstall target
-- UNIX: Created uninstall target
-- UNIX: Detected compiler: /opt/llvm-5.0.0/bin/clang
-- cotire 1.7.10 loaded.
-- Using mysql-config: /usr/bin/mysql_config
-- Found MySQL library: /usr/lib64/libmysqlclient.so
-- Found MySQL headers: /usr/include/mysql
-- Found MySQL executable: /usr/bin/mysql
-- Found git binary : /usr/local/bin/git

* TrinityCore revision   : 3d5e74329a15+ 2018-01-15 15:56:57 +0000 (master branch)
* TrinityCore buildtype  : RelWithDebInfo

* Install core to        : /usr/local
* Install libraries to   : /usr/local/lib
* Install configs to     : /usr/local/etc

* Build world/auth       : Yes (default)
* Build with scripts     : Yes (static)
* Build Eluna LuaEngine  : Yes (default)
* Build map/vmap tools   : Yes (default)
* Build core w/PCH       : Yes (default)
* Build scripts w/PCH    : Yes (default)
* Show compile-warnings  : No  (default)
* Use coreside debug     : No  (default)
* Show source tree       : Yes (hierarchical)
* Use GIT revision hash  : Yes (default)

-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   system
--   filesystem
--   thread
--   program_options
--   iostreams
--   regex
-- Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM
-- Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM - Failed
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.3")
-- Looking for open
-- Looking for open - found
-- Found OpenSSL library: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so
-- Found OpenSSL headers: /usr/include
-- Looking for MADV_FREE
-- Looking for MADV_FREE - not found
-- Found Readline library: /usr/lib64/libreadline.so
-- Include dir is: /usr/include
-- Found BZip2: /usr/lib64/libbz2.so (found version "1.0.5")
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
-- CXX target common cotired without unity build.
-- CXX target database cotired without unity build.
-- CXX target shared cotired without unity build.
-- CXX target game cotired without unity build.
-- CXX target authserver cotired without unity build.

* Script configuration (static):
    |
    +- worldserver
    |   +- Commands
    |   +- Custom
    |   +- EasternKingdoms
    |   +- Events
    |   +- Kalimdor
    |   +- Northrend
    |   +- OutdoorPvP
    |   +- Outland
    |   +- Pet
    |   +- Spells
    |   +- World
    |
-- CXX target scripts cotired without unity build.

-- CXX target worldserver cotired without unity build.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/trinitycore/TrinityCore/build
 make
Scanning dependencies of target g3dlib
[  0%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/AABox.cpp.o
[  0%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Any.cpp.o
[  0%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/AnyTableReader.cpp.o
[  0%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/BinaryFormat.cpp.o
[  0%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/BinaryInput.cpp.o
[  1%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/BinaryOutput.cpp.o
[  1%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Box.cpp.o
[  1%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Capsule.cpp.o
[  1%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/CollisionDetection.cpp.o
[  1%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/CoordinateFrame.cpp.o
[  1%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Crypto.cpp.o
[  1%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Cylinder.cpp.o
[  1%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/debugAssert.cpp.o
[  1%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/FileSystem.cpp.o
[  1%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/fileutils.cpp.o
[  1%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/format.cpp.o
[  1%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/g3dfnmatch.cpp.o
[  2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/g3dmath.cpp.o
[  2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/GThread.cpp.o
[  2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Line.cpp.o
[  2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/LineSegment.cpp.o
[  2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Log.cpp.o
[  2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Matrix3.cpp.o
[  2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Matrix4.cpp.o
[  2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/MemoryManager.cpp.o
[  2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/PhysicsFrame.cpp.o
[  2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Plane.cpp.o
[  2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/prompt.cpp.o
[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Quat.cpp.o
[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Random.cpp.o
[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Ray.cpp.o
[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/RegistryUtil.cpp.o
[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Sphere.cpp.o
[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/stringutils.cpp.o
[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/System.cpp.o
[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/TextInput.cpp.o
[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/TextOutput.cpp.o
[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Triangle.cpp.o
[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/uint128.cpp.o
[  3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/UprightFrame.cpp.o
[  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector2.cpp.o
[  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector3.cpp.o
[  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector4.cpp.o
[  4%] Linking CXX static library libg3dlib.a
[  4%] Built target g3dlib
Scanning dependencies of target Detour
[  4%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourAlloc.cpp.o
[  4%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourAssert.cpp.o
[  4%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourCommon.cpp.o
[  4%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourNavMesh.cpp.o
[  4%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourNavMeshBuilder.cpp.o
[  4%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourNavMeshQuery.cpp.o
[  4%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourNode.cpp.o
[  4%] Linking CXX static library libDetour.a
[  4%] Built target Detour
Scanning dependencies of target Recast
[  4%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/Recast.cpp.o
[  4%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastAlloc.cpp.o
[  4%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastAssert.cpp.o
[  5%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastArea.cpp.o
[  5%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastContour.cpp.o
[  5%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastFilter.cpp.o
[  5%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastLayers.cpp.o
[  5%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastMesh.cpp.o
[  5%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastMeshDetail.cpp.o
[  5%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastRasterization.cpp.o
[  5%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastRegion.cpp.o
[  5%] Linking CXX static library libRecast.a
[  5%] Built target Recast
Scanning dependencies of target fmt
[  5%] Building CXX object dep/fmt/CMakeFiles/fmt.dir/fmt/format.cc.o
[  5%] Building CXX object dep/fmt/CMakeFiles/fmt.dir/fmt/ostream.cc.o
[  5%] Building CXX object dep/fmt/CMakeFiles/fmt.dir/fmt/printf.cc.o
[  5%] Building CXX object dep/fmt/CMakeFiles/fmt.dir/fmt/posix.cc.o
[  5%] Linking CXX static library libfmt.a
[  5%] Built target fmt
Scanning dependencies of target jemalloc
[  5%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/arena.c.o
[  5%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/background_thread.c.o
[  5%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/base.c.o
[  5%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/bitmap.c.o
[  5%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/ckh.c.o
[  5%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/ctl.c.o
[  5%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/extent.c.o
[  5%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/extent_dss.c.o
[  5%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/extent_mmap.c.o
[  6%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/hash.c.o
[  6%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/hooks.c.o
[  6%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/jemalloc.c.o
/home/trinitycore/TrinityCore/dep/jemalloc/src/jemalloc.c:699:9: error: use of undeclared identifier 'secure_getenv'; did you mean '__secure_getenv'?
        return secure_getenv(name);
               ^
/home/trinitycore/TrinityCore/dep/jemalloc/include/jemalloc/internal/hooks.h:15:37: note: expanded from macro 'secure_getenv'
#define secure_getenv JEMALLOC_HOOK(secure_getenv, hooks_libc_hook)
                                    ^
/usr/include/stdlib.h:572:14: note: '__secure_getenv' declared here
extern char *__secure_getenv (__const char *__name)
             ^
1 error generated.
make[2]: *** [dep/jemalloc/CMakeFiles/jemalloc.dir/src/jemalloc.c.o] Error 1
make[1]: *** [dep/jemalloc/CMakeFiles/jemalloc.dir/all] Error 2
make: *** [all] Error 2

 

 

 return secure_getenv(name);
changed to :
 return __secure_getenv(name);

Same error with Clang or GCC :

 

Scanning dependencies of target jemalloc
[  5%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/jemalloc.c.o
[  5%] Building CXX object dep/jemalloc/CMakeFiles/jemalloc.dir/src/jemalloc_cpp.cpp.o
[  5%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/large.c.o
[  5%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/malloc_io.c.o
[  5%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/mutex.c.o
[  5%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/mutex_pool.c.o
[  5%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/nstime.c.o
[  5%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/pages.c.o
/home/trinitycore/TrinityCore/dep/jemalloc/src/pages.c:295:30: error: use of undeclared identifier 'MADV_HUGEPAGE'
        return (madvise(addr, size, MADV_HUGEPAGE) != 0);
                                    ^
/home/trinitycore/TrinityCore/dep/jemalloc/src/pages.c:307:30: error: use of undeclared identifier 'MADV_NOHUGEPAGE'
        return (madvise(addr, size, MADV_NOHUGEPAGE) != 0);
                                    ^
2 errors generated.
make[2]: *** [dep/jemalloc/CMakeFiles/jemalloc.dir/src/pages.c.o] Error 1
make[1]: *** [dep/jemalloc/CMakeFiles/jemalloc.dir/all] Error 2
make: *** [all] Error 2

 

 

 

 

Someone Please HELP me :((((((

 

Edited by Lost PMR

Share this post


Link to post
Share on other sites

My error is for glibc ???

#ldd --version
ldd (GNU libc) 2.12
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By Lenny4
      Hi, I notice that the wordl server display a message when he think that a player is cheating.
      I would like to know if there a way to get the all the server log messages using php (or another way).
      I notice that the file Server.log contain some logs but not all of them for me the log stop at :
      "TrinityCore rev. e86a2c439aa2 2017-12-17 16:45:50 +0100 (master branch) (Win64, RelWithDebInfo, Static) (worldserver-daemon) ready..."
      And even if there other logs after it doesn't record.
      So my questions are:
      - is there a way to get the log of the worldserver using a coding language or command ?
      - is there a way to update the Server.log file with the current log message of the server using a coding language or command ?
    • By Lenny4
      I'm currently developping a web site to allow user to create an account and play in the game. For that I'm using soap connection, this way I can execute gm command from my website. (like bnetaccount create ...)
      I was wondering, if one day I have a lot of players and I need to limit the amount of players who can be connect in the game at the same time.
      But I want to choose (I will not choose my self I will create a php script for that) wich one can connect or not.
      So my questions are:
      - is there a way to know when a user try to connect in game, I mean a request is send to my website (or another way)? how?
                       - if yes can I avoid the connection to the game? how?
      - is there a way to disconnect a user in the game using soap command (or another way)? how? Because here https://trinitycore.atlassian.net/wiki/spaces/tc/pages/2130065/GM+Commands I can't find a command to disconnect a player
      Thank you for your help.
    • By gldssgames
      First of all, my language is not English, it's Portuguese.
      I have partially looked at the topic about core compilation errors, I have not found anything that can help me. I do not use MySQL the intalalled version, I use the ".zip" version and start it from the command line. What I pointed out the missing mysql paths to folders of my mysql ".zip"
      MYSQL_EXECUTABLE = C:/Users/Henrrique/Desktop/SERVER/mysql/bin/mysqlX.exe
      MYSQL_INCLUDE_DIR = C:/Users/Henrrique/Desktop/SERVER/mysql/include
      MYSQL_LIBRARY = C:/Users/Henrrique/Desktop/SERVER/mysql/lib
      NOTE: I also had problems with the paths to boost, pointed the missing paths and did not get any more errors, however I had to point out LINK paths in the vmap4assembler and mmaps_generator project.
      The error that points to the output is:
      Error    LNK1181    cannot open input file 'C:\Users\Henrrique\Desktop\SERVER\mysql\lib.obj'    authserver    C:\Users\Henrrique\Desktop\PROJECTWOW\BUILD\src\server\authserver\LINK    1
      Error    LNK1181    cannot open input file 'C:\Users\Henrrique\Desktop\SERVER\mysql\lib.obj'    worldserver    C:\Users\Henrrique\Desktop\PROJECTWOW\BUILD\src\server\worldserver\LINK    1
      The strange thing is this obj file: "lib.obj" it is part of mysql, I did not find this file in mysql nor in the debug_test version.
    • By Xio$
       
      I installed and configured the trinity core on this instruction: https://trinitycore.atlassian.net/wiki/display/tc/Installation+Guide
      when i write in ssh ./worldserver , i get(img): 
      i have 3 days can not solve this problem, plz help me)
    • By Apple
      -- EDIT BY Aokromes --
      If you get "unknown column" "missing table" "Duplicate column" errors:
      use mysql --default-character-set=utf8 to avoid import failures because timeout/mysql gone away/etc
      1) Clone desired branch.
      2) Import sql/create/create_mysql.sql
      3) start core
      4) leave core to update databases.
      Our Wiki: http://collab.kpsn.org/display/tc/TrinityCore+Home
×