Jump to content
TrinityCore

WHITELIONX

Plebs
  • Content count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About WHITELIONX

  • Rank
    Newbie
  1. Compile or cmake problems

    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
  2. Compile or cmake problems

    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
×