Jump to content
TrinityCore

Cmake Error


Daantjie
 Share

Recommended Posts

Maybe you guys can tell me what is wrong here? Iam working directly from gitlab steps.

 

 

Determining if the include file pthread.h exists failed with the following output:
Change Dir: E:/server/build/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe cmTC_be2d4.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=15.0 /v:m
Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.

 

  Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27027.1 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_be2d4.dir\Debug\\" /Fd"cmTC_be2d4.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue E:\server\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c

  CheckIncludeFile.c

 

E:\server\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory [E:\server\build\CMakeFiles\CMakeTmp\cmTC_be2d4.vcxproj]

 

Performing C++ SOURCE FILE Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM failed with the following output:
Change Dir: E:/server/build/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe cmTC_6ddf2.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=15.0 /v:m
Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.

 

  Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27027.1 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /IC:\local\boost_1_66_0 /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_6ddf2.dir\Debug\\" /Fd"cmTC_6ddf2.dir\Debug\vc141.pdb" /Gd /TP /analyze- /errorReport:queue E:\server\build\CMakeFiles\CMakeTmp\src.cxx

  src.cxx

 

  Info: Boost.Config is older than your compiler version - probably nothing bad will happen - but you may wish to look for an update Boost version.  Define BOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE to suppress this message.

LINK : fatal error LNK1104: cannot open file 'libboost_filesystem-vc141-mt-gd-x32-1_66.lib' [E:\server\build\CMakeFiles\CMakeTmp\cmTC_6ddf2.vcxproj]


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()); }
Determining if the function kqueue exists failed with the following output:
Change Dir: E:/server/build/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe cmTC_567a4.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=15.0 /v:m
Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.

 

  Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27027.1 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /IE:\server\build\CMakeFiles\CMakeTmp\sys\event.h /Zi /W1 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D CHECK_FUNCTION_EXISTS=kqueue /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_567a4.dir\Debug\\" /Fd"cmTC_567a4.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue "C:\Program Files\CMake\share\cmake-3.14\Modules\CheckFunctionExists.c"

  CheckFunctionExists.c

 

CheckFunctionExists.obj : error LNK2019: unresolved external symbol _kqueue referenced in function _main [E:\server\build\CMakeFiles\CMakeTmp\cmTC_567a4.vcxproj]

E:\server\build\CMakeFiles\CMakeTmp\Debug\cmTC_567a4.exe : fatal error LNK1120: 1 unresolved externals [E:\server\build\CMakeFiles\CMakeTmp\cmTC_567a4.vcxproj]

 

Determining if the function epoll_create exists failed with the following output:
Change Dir: E:/server/build/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe cmTC_9b62f.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=15.0 /v:m
Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.

 

  Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27027.1 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /IE:\server\build\CMakeFiles\CMakeTmp\sys\epoll.h /Zi /W1 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D CHECK_FUNCTION_EXISTS=epoll_create /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_9b62f.dir\Debug\\" /Fd"cmTC_9b62f.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue "C:\Program Files\CMake\share\cmake-3.14\Modules\CheckFunctionExists.c"

  CheckFunctionExists.c

 

CheckFunctionExists.obj : error LNK2019: unresolved external symbol _epoll_create referenced in function _main [E:\server\build\CMakeFiles\CMakeTmp\cmTC_9b62f.vcxproj]

E:\server\build\CMakeFiles\CMakeTmp\Debug\cmTC_9b62f.exe : fatal error LNK1120: 1 unresolved externals [E:\server\build\CMakeFiles\CMakeTmp\cmTC_9b62f.vcxproj]

 

Determining size of struct pollfd failed with the following output:
Change Dir: E:/server/build/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe cmTC_583e5.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=15.0 /v:m
Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.

 

  Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27027.1 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /IE:\server\build\CMakeFiles\CMakeTmp\sys\devpoll.h /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_583e5.dir\Debug\\" /Fd"cmTC_583e5.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue E:\server\build\CMakeFiles\CheckTypeSize\DEVPOLL.c

  DEVPOLL.c

 

E:\server\build\CMakeFiles\CheckTypeSize\DEVPOLL.c(25): error C2027: use of undefined type 'pollfd' [E:\server\build\CMakeFiles\CMakeTmp\cmTC_583e5.vcxproj]

  E:\server\build\CMakeFiles\CheckTypeSize\DEVPOLL.c(25): note: see declaration of 'pollfd'

E:\server\build\CMakeFiles\CheckTypeSize\DEVPOLL.c(26): error C2027: use of undefined type 'pollfd' [E:\server\build\CMakeFiles\CMakeTmp\cmTC_583e5.vcxproj]

  E:\server\build\CMakeFiles\CheckTypeSize\DEVPOLL.c(25): note: see declaration of 'pollfd'

E:\server\build\CMakeFiles\CheckTypeSize\DEVPOLL.c(27): error C2027: use of undefined type 'pollfd' [E:\server\build\CMakeFiles\CMakeTmp\cmTC_583e5.vcxproj]

  E:\server\build\CMakeFiles\CheckTypeSize\DEVPOLL.c(25): note: see declaration of 'pollfd'

E:\server\build\CMakeFiles\CheckTypeSize\DEVPOLL.c(28): error C2027: use of undefined type 'pollfd' [E:\server\build\CMakeFiles\CMakeTmp\cmTC_583e5.vcxproj]

  E:\server\build\CMakeFiles\CheckTypeSize\DEVPOLL.c(25): note: see declaration of 'pollfd'

E:\server\build\CMakeFiles\CheckTypeSize\DEVPOLL.c(29): error C2027: use of undefined type 'pollfd' [E:\server\build\CMakeFiles\CMakeTmp\cmTC_583e5.vcxproj]

  E:\server\build\CMakeFiles\CheckTypeSize\DEVPOLL.c(25): note: see declaration of 'pollfd'


E:/server/build/CMakeFiles/CheckTypeSize/DEVPOLL.c:
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>


#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#elif defined(__aarch64__)
# define KEY '_','_','a','a','r','c','h','6','4','_','_'
#elif defined(__ARM_ARCH_7A__)
# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_'
#elif defined(__ARM_ARCH_7S__)
# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_'
#endif

#define SIZE (sizeof(struct pollfd))
char info_size[] =  {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
  ('0' + ((SIZE / 10000)%10)),
  ('0' + ((SIZE / 1000)%10)),
  ('0' + ((SIZE / 100)%10)),
  ('0' + ((SIZE / 10)%10)),
  ('0' +  (SIZE    % 10)),
  ']',
#ifdef KEY
  ' ','k','e','y','[', KEY, ']',
#endif
  '\0'};

#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
  int require = 0;
  require += info_size[argc];
  (void)argv;
  return require;
}


Determining if the function pollset_create exists failed with the following output:
Change Dir: E:/server/build/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe cmTC_7536b.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=15.0 /v:m
Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.

 

  Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27027.1 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /IE:\server\build\CMakeFiles\CMakeTmp\sys\pollset.h /Zi /W1 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D CHECK_FUNCTION_EXISTS=pollset_create /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_7536b.dir\Debug\\" /Fd"cmTC_7536b.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue "C:\Program Files\CMake\share\cmake-3.14\Modules\CheckFunctionExists.c"

  CheckFunctionExists.c

 

CheckFunctionExists.obj : error LNK2019: unresolved external symbol _pollset_create referenced in function _main [E:\server\build\CMakeFiles\CMakeTmp\cmTC_7536b.vcxproj]

E:\server\build\CMakeFiles\CMakeTmp\Debug\cmTC_7536b.exe : fatal error LNK1120: 1 unresolved externals [E:\server\build\CMakeFiles\CMakeTmp\cmTC_7536b.vcxproj]

 

Determining if the function poll exists failed with the following output:
Change Dir: E:/server/build/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe cmTC_d52bc.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=15.0 /v:m
Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.

 

  Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27027.1 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /IE:\server\build\CMakeFiles\CMakeTmp\poll.h /Zi /W1 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D CHECK_FUNCTION_EXISTS=poll /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_d52bc.dir\Debug\\" /Fd"cmTC_d52bc.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue "C:\Program Files\CMake\share\cmake-3.14\Modules\CheckFunctionExists.c"

  CheckFunctionExists.c

 

CheckFunctionExists.obj : error LNK2019: unresolved external symbol _poll referenced in function _main [E:\server\build\CMakeFiles\CMakeTmp\cmTC_d52bc.vcxproj]

E:\server\build\CMakeFiles\CMakeTmp\Debug\cmTC_d52bc.exe : fatal error LNK1120: 1 unresolved externals [E:\server\build\CMakeFiles\CMakeTmp\cmTC_d52bc.vcxproj]

 

Determining if files ifaddrs.h exist failed with the following output:
Change Dir: E:/server/build/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe cmTC_4bd6a.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=15.0 /v:m
Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.

 

  Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27027.1 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /IE:\server\build\CMakeFiles\CMakeTmp\winsock2.h /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_4bd6a.dir\Debug\\" /Fd"cmTC_4bd6a.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue E:\server\build\CMakeFiles\CheckIncludeFiles\HAVE_IFADDRS.c

  HAVE_IFADDRS.c

 

E:\server\build\CMakeFiles\CheckIncludeFiles\HAVE_IFADDRS.c(2): fatal error C1083: Cannot open include file: 'ifaddrs.h': No such file or directory [E:\server\build\CMakeFiles\CMakeTmp\cmTC_4bd6a.vcxproj]


Source:
/* */
#include <ifaddrs.h>


int main(void){return 0;}

Determining if files sys/uio.h exist failed with the following output:
Change Dir: E:/server/build/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe cmTC_de3b1.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=15.0 /v:m
Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.

 

  Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27027.1 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /IE:\server\build\CMakeFiles\CMakeTmp\winsock2.h /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_de3b1.dir\Debug\\" /Fd"cmTC_de3b1.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue E:\server\build\CMakeFiles\CheckIncludeFiles\HAVE_UIO.c

  HAVE_UIO.c

 

E:\server\build\CMakeFiles\CheckIncludeFiles\HAVE_UIO.c(2): fatal error C1083: Cannot open include file: 'sys/uio.h': No such file or directory [E:\server\build\CMakeFiles\CMakeTmp\cmTC_de3b1.vcxproj]


Source:
/* */
#include <sys/uio.h>


int main(void){return 0;}

Determining if files sys/eventfd.h exist failed with the following output:
Change Dir: E:/server/build/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe cmTC_7951e.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=15.0 /v:m
Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.

 

  Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27027.1 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /IE:\server\build\CMakeFiles\CMakeTmp\winsock2.h /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_7951e.dir\Debug\\" /Fd"cmTC_7951e.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue E:\server\build\CMakeFiles\CheckIncludeFiles\HAVE_EVENTFD.c

  HAVE_EVENTFD.c

 

E:\server\build\CMakeFiles\CheckIncludeFiles\HAVE_EVENTFD.c(2): fatal error C1083: Cannot open include file: 'sys/eventfd.h': No such file or directory [E:\server\build\CMakeFiles\CMakeTmp\cmTC_7951e.vcxproj]


Source:
/* */
#include <sys/eventfd.h>


int main(void){return 0;}

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...