EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=590)
-   -   Missing Lua51 (https://www.eqemulator.org/forums/showthread.php?t=43254)

Fannar 03-31-2021 04:47 PM

Missing Lua51
 
I am having issues with CMake saying I am Missing Lua51 and I am stumped at how to solve my problem I do have the error logs which I will post and maybe someone can help and maybe able to help solve my problem
I tried following the steps on to a T to my best of my ability since I am on Window operating system https://eqemu.gitbook.io/server/cate...indows-install

Sorry for how long my width of my text goes if anyone also know how I can make it better please let me know.

Here is my CmakeError.log

Code:

Determining if the include file sys/sdt.h exists failed with the following output:
Change Dir: D:/Program Files (x86)/Realm/source/Server-master/Build/CMakeFiles/CMakeTmp

Run Build Command(s):D:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe cmTC_e4070.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.27031.1 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /W3 /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_e4070.dir\Debug\\" /Fd"cmTC_e4070.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue "D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\CheckIncludeFile.c"

  CheckIncludeFile.c

 

D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'sys/sdt.h': No such file or directory [D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\cmTC_e4070.vcxproj]




Determining if the include file unistd.h exists failed with the following output:
Change Dir: D:/Program Files (x86)/Realm/source/Server-master/Build/CMakeFiles/CMakeTmp

Run Build Command(s):D:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe cmTC_b46c4.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.27031.1 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /W3 /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_b46c4.dir\Debug\\" /Fd"cmTC_b46c4.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue "D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\CheckIncludeFile.c"

  CheckIncludeFile.c

 

D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory [D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\cmTC_b46c4.vcxproj]




Determining size of off64_t failed with the following output:
Change Dir: D:/Program Files (x86)/Realm/source/Server-master/Build/CMakeFiles/CMakeTmp

Run Build Command(s):D:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe cmTC_58a4a.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.27031.1 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _LARGEFILE64_SOURCE=1 /D __USE_LARGEFILE64 /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_58a4a.dir\Debug\\" /Fd"cmTC_58a4a.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue "D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CheckTypeSize\OFF64_T.c"

  OFF64_T.c

 

D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CheckTypeSize\OFF64_T.c(29): error C2065: 'off64_t': undeclared identifier [D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\cmTC_58a4a.vcxproj]

D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CheckTypeSize\OFF64_T.c(30): error C2065: 'off64_t': undeclared identifier [D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\cmTC_58a4a.vcxproj]

D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CheckTypeSize\OFF64_T.c(31): error C2065: 'off64_t': undeclared identifier [D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\cmTC_58a4a.vcxproj]

D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CheckTypeSize\OFF64_T.c(32): error C2065: 'off64_t': undeclared identifier [D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\cmTC_58a4a.vcxproj]

D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CheckTypeSize\OFF64_T.c(33): error C2065: 'off64_t': undeclared identifier [D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\cmTC_58a4a.vcxproj]



D:/Program Files (x86)/Realm/source/Server-master/Build/CMakeFiles/CheckTypeSize/OFF64_T.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(__PPC64__)
# define KEY '_','_','P','P','C','6','4','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#elif defined(__PPC__)
# define KEY '_','_','P','P','C','_','_'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#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(off64_t))
static 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 size of _off64_t failed with the following output:
Change Dir: D:/Program Files (x86)/Realm/source/Server-master/Build/CMakeFiles/CMakeTmp

Run Build Command(s):D:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe cmTC_bef62.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.27031.1 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _LARGEFILE64_SOURCE=1 /D __USE_LARGEFILE64 /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_bef62.dir\Debug\\" /Fd"cmTC_bef62.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue "D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CheckTypeSize\_OFF64_T.c"

  _OFF64_T.c

 

D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CheckTypeSize\_OFF64_T.c(29): error C2065: '_off64_t': undeclared identifier [D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\cmTC_bef62.vcxproj]

D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CheckTypeSize\_OFF64_T.c(30): error C2065: '_off64_t': undeclared identifier [D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\cmTC_bef62.vcxproj]

D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CheckTypeSize\_OFF64_T.c(31): error C2065: '_off64_t': undeclared identifier [D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\cmTC_bef62.vcxproj]

D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CheckTypeSize\_OFF64_T.c(32): error C2065: '_off64_t': undeclared identifier [D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\cmTC_bef62.vcxproj]

D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CheckTypeSize\_OFF64_T.c(33): error C2065: '_off64_t': undeclared identifier [D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\cmTC_bef62.vcxproj]



D:/Program Files (x86)/Realm/source/Server-master/Build/CMakeFiles/CheckTypeSize/_OFF64_T.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(__PPC64__)
# define KEY '_','_','P','P','C','6','4','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#elif defined(__PPC__)
# define KEY '_','_','P','P','C','_','_'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#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(_off64_t))
static 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 size of __off64_t failed with the following output:
Change Dir: D:/Program Files (x86)/Realm/source/Server-master/Build/CMakeFiles/CMakeTmp

Run Build Command(s):D:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe cmTC_c6c67.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.27031.1 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _LARGEFILE64_SOURCE=1 /D __USE_LARGEFILE64 /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_c6c67.dir\Debug\\" /Fd"cmTC_c6c67.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue "D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CheckTypeSize\__OFF64_T.c"

  __OFF64_T.c

 

D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CheckTypeSize\__OFF64_T.c(29): error C2065: '__off64_t': undeclared identifier [D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\cmTC_c6c67.vcxproj]

D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CheckTypeSize\__OFF64_T.c(30): error C2065: '__off64_t': undeclared identifier [D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\cmTC_c6c67.vcxproj]

D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CheckTypeSize\__OFF64_T.c(31): error C2065: '__off64_t': undeclared identifier [D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\cmTC_c6c67.vcxproj]

D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CheckTypeSize\__OFF64_T.c(32): error C2065: '__off64_t': undeclared identifier [D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\cmTC_c6c67.vcxproj]

D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CheckTypeSize\__OFF64_T.c(33): error C2065: '__off64_t': undeclared identifier [D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\cmTC_c6c67.vcxproj]



D:/Program Files (x86)/Realm/source/Server-master/Build/CMakeFiles/CheckTypeSize/__OFF64_T.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(__PPC64__)
# define KEY '_','_','P','P','C','6','4','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#elif defined(__PPC__)
# define KEY '_','_','P','P','C','_','_'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#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(__off64_t))
static 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 fseeko exists failed with the following output:
Change Dir: D:/Program Files (x86)/Realm/source/Server-master/Build/CMakeFiles/CMakeTmp

Run Build Command(s):D:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe cmTC_e4f53.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.27031.1 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D CHECK_FUNCTION_EXISTS=fseeko /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_e4f53.dir\Debug\\" /Fd"cmTC_e4f53.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue "D:\Program Files (x86)\Cmake\cmake-3.20.0-windows-x86_64\share\cmake-3.20\Modules\CheckFunctionExists.c"

  CheckFunctionExists.c

 

CheckFunctionExists.obj : error LNK2019: unresolved external symbol _fseeko referenced in function _main [D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\cmTC_e4f53.vcxproj]

D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\Debug\cmTC_e4f53.exe : fatal error LNK1120: 1 unresolved externals [D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\cmTC_e4f53.vcxproj]




Performing C SOURCE FILE Test HAVE_ATTRIBUTE_VISIBILITY_HIDDEN failed with the following output:
Change Dir: D:/Program Files (x86)/Realm/source/Server-master/Build/CMakeFiles/CMakeTmp

Run Build Command(s):D:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe cmTC_7b1a0.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.27031.1 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D HAVE_ATTRIBUTE_VISIBILITY_HIDDEN /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_7b1a0.dir\Debug\\" /Fd"cmTC_7b1a0.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue "D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\src.c"

  src.c

 

D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\src.c(2): error C2143: syntax error: missing ')' before '(' [D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\cmTC_7b1a0.vcxproj]

D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\src.c(2): error C2091: function returns function [D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\cmTC_7b1a0.vcxproj]

D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\src.c(2): error C2143: syntax error: missing ')' before 'string' [D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\cmTC_7b1a0.vcxproj]

D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\src.c(2): error C2143: syntax error: missing '{' before 'string' [D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\cmTC_7b1a0.vcxproj]

D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\src.c(2): error C2059: syntax error: 'string' [D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\cmTC_7b1a0.vcxproj]

D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\src.c(2): error C2059: syntax error: ')' [D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\cmTC_7b1a0.vcxproj]



Source file was:
#define Z_INTERNAL __attribute__((visibility ("hidden")))
    int Z_INTERNAL foo;
    int main() {
        return 0;
    }
Performing C SOURCE FILE Test HAVE_ATTRIBUTE_VISIBILITY_INTERNAL failed with the following output:
Change Dir: D:/Program Files (x86)/Realm/source/Server-master/Build/CMakeFiles/CMakeTmp

Run Build Command(s):D:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe cmTC_5ce33.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.27031.1 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D HAVE_ATTRIBUTE_VISIBILITY_INTERNAL /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_5ce33.dir\Debug\\" /Fd"cmTC_5ce33.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue "D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\src.c"

  src.c

 

D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\src.c(2): error C2143: syntax error: missing ')' before '(' [D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\cmTC_5ce33.vcxproj]

D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\src.c(2): error C2091: function returns function [D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\cmTC_5ce33.vcxproj]

D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\src.c(2): error C2143: syntax error: missing ')' before 'string' [D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\cmTC_5ce33.vcxproj]

D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\src.c(2): error C2143: syntax error: missing '{' before 'string' [D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\cmTC_5ce33.vcxproj]

D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\src.c(2): error C2059: syntax error: 'string' [D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\cmTC_5ce33.vcxproj]

D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\src.c(2): error C2059: syntax error: ')' [D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\cmTC_5ce33.vcxproj]



Source file was:
#define Z_INTERNAL __attribute__((visibility ("internal")))
    int Z_INTERNAL foo;
    int main() {
        return 0;
    }
Performing C SOURCE FILE Test HAVE_BUILTIN_CTZ failed with the following output:
Change Dir: D:/Program Files (x86)/Realm/source/Server-master/Build/CMakeFiles/CMakeTmp

Run Build Command(s):D:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe cmTC_7f9ac.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.27031.1 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D HAVE_BUILTIN_CTZ /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_7f9ac.dir\Debug\\" /Fd"cmTC_7f9ac.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue "D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\src.c"

  src.c

 

D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\src.c(3): warning C4013: '__builtin_ctz' undefined; assuming extern returning int [D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\cmTC_7f9ac.vcxproj]

src.obj : error LNK2019: unresolved external symbol ___builtin_ctz referenced in function _main [D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\cmTC_7f9ac.vcxproj]

D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\Debug\cmTC_7f9ac.exe : fatal error LNK1120: 1 unresolved externals [D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\cmTC_7f9ac.vcxproj]



Source file was:
int main(void) {
        unsigned int zero = 0;
        long test = __builtin_ctz(zero);
        (void)test;
        return 0;
    }
Performing C SOURCE FILE Test HAVE_BUILTIN_CTZLL failed with the following output:
Change Dir: D:/Program Files (x86)/Realm/source/Server-master/Build/CMakeFiles/CMakeTmp

Run Build Command(s):D:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe cmTC_ec427.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.27031.1 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D HAVE_BUILTIN_CTZLL /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_ec427.dir\Debug\\" /Fd"cmTC_ec427.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue "D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\src.c"

  src.c

 

D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\src.c(3): warning C4013: '__builtin_ctzll' undefined; assuming extern returning int [D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\cmTC_ec427.vcxproj]

src.obj : error LNK2019: unresolved external symbol ___builtin_ctzll referenced in function _main [D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\cmTC_ec427.vcxproj]

D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\Debug\cmTC_ec427.exe : fatal error LNK1120: 1 unresolved externals [D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\cmTC_ec427.vcxproj]



Source file was:
int main(void) {
        unsigned int zero = 0;
        long test = __builtin_ctzll(zero);
        (void)test;
        return 0;
    }


Fannar 03-31-2021 04:49 PM

Also I am posting my CMakeOutputLog.log

Code:

he system is: Windows - 10.0.19041 - AMD64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: 
Build flags:
Id flags: 

The output was:
0
Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 2021-03-31 12:15:13 PM.
Project "D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\3.20.0\CompilerIdC\CompilerIdC.vcxproj" on node 1 (default targets).
PrepareForBuild:
  Creating directory "Debug\".
  Creating directory "Debug\CompilerIdC.tlog\".
InitializeBuildStatus:
  Creating "Debug\CompilerIdC.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
  D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX86\x86\CL.exe /c /nologo /W0 /WX- /diagnostics:classic /Od /Oy- /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\\" /Fd"Debug\vc141.pdb" /Gd /TC /analyze- /FC /errorReport:queue CMakeCCompilerId.c
  CMakeCCompilerId.c
Link:
  D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX86\x86\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdC.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\CompilerIdC.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdC.lib" /MACHINE:X86 /SAFESEH Debug\CMakeCCompilerId.obj
  CompilerIdC.vcxproj -> D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\3.20.0\CompilerIdC\.\CompilerIdC.exe
PostBuildEvent:
  for %%i in (cl.exe) do @echo CMAKE_C_COMPILER=%%~$PATH:i
  :VCEnd
  CMAKE_C_COMPILER=D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\Hostx86\x86\cl.exe
FinalizeBuildStatus:
  Deleting file "Debug\CompilerIdC.tlog\unsuccessfulbuild".
  Touching "Debug\CompilerIdC.tlog\CompilerIdC.lastbuildstate".
Done Building Project "D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\3.20.0\CompilerIdC\CompilerIdC.vcxproj" (default targets).

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:09.75


Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC.exe"

Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC.vcxproj"

The C compiler identification is MSVC, found in "D:/Program Files (x86)/Realm/source/Server-master/Build/CMakeFiles/3.20.0/CompilerIdC/CompilerIdC.exe"

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: 
Build flags:
Id flags: 

The output was:
0
Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 2021-03-31 12:15:24 PM.
Project "D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\3.20.0\CompilerIdCXX\CompilerIdCXX.vcxproj" on node 1 (default targets).
PrepareForBuild:
  Creating directory "Debug\".
  Creating directory "Debug\CompilerIdCXX.tlog\".
InitializeBuildStatus:
  Creating "Debug\CompilerIdCXX.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
  D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX86\x86\CL.exe /c /nologo /W0 /WX- /diagnostics:classic /Od /Oy- /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\\" /Fd"Debug\vc141.pdb" /Gd /TP /analyze- /FC /errorReport:queue CMakeCXXCompilerId.cpp
  CMakeCXXCompilerId.cpp
Link:
  D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX86\x86\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdCXX.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\CompilerIdCXX.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdCXX.lib" /MACHINE:X86 /SAFESEH Debug\CMakeCXXCompilerId.obj
  CompilerIdCXX.vcxproj -> D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\3.20.0\CompilerIdCXX\.\CompilerIdCXX.exe
PostBuildEvent:
  for %%i in (cl.exe) do @echo CMAKE_CXX_COMPILER=%%~$PATH:i
  :VCEnd
  CMAKE_CXX_COMPILER=D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\Hostx86\x86\cl.exe
FinalizeBuildStatus:
  Deleting file "Debug\CompilerIdCXX.tlog\unsuccessfulbuild".
  Touching "Debug\CompilerIdCXX.tlog\CompilerIdCXX.lastbuildstate".
Done Building Project "D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\3.20.0\CompilerIdCXX\CompilerIdCXX.vcxproj" (default targets).

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:01.46


Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.exe"

Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.vcxproj"

The CXX compiler identification is MSVC, found in "D:/Program Files (x86)/Realm/source/Server-master/Build/CMakeFiles/3.20.0/CompilerIdCXX/CompilerIdCXX.exe"

Detecting C compiler ABI info compiled with the following output:
Change Dir: D:/Program Files (x86)/Realm/source/Server-master/Build/CMakeFiles/CMakeTmp

Run Build Command(s):D:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe cmTC_ede34.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.27031.1 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /W3 /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_ede34.dir\Debug\\" /Fd"cmTC_ede34.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue "D:\Program Files (x86)\Cmake\cmake-3.20.0-windows-x86_64\share\cmake-3.20\Modules\CMakeCCompilerABI.c"

  CMakeCCompilerABI.c

 

  cmTC_ede34.vcxproj -> D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\Debug\cmTC_ede34.exe




Detecting CXX compiler ABI info compiled with the following output:
Change Dir: D:/Program Files (x86)/Realm/source/Server-master/Build/CMakeFiles/CMakeTmp

Run Build Command(s):D:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe cmTC_80392.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.27031.1 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_80392.dir\Debug\\" /Fd"cmTC_80392.dir\Debug\vc141.pdb" /Gd /TP /analyze- /errorReport:queue "D:\Program Files (x86)\Cmake\cmake-3.20.0-windows-x86_64\share\cmake-3.20\Modules\CMakeCXXCompilerABI.cpp"

  CMakeCXXCompilerABI.cpp

 

  cmTC_80392.vcxproj -> D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\Debug\cmTC_80392.exe




Determining if the include file sys/types.h exists passed with the following output:
Change Dir: D:/Program Files (x86)/Realm/source/Server-master/Build/CMakeFiles/CMakeTmp

Run Build Command(s):D:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe cmTC_b7a23.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.27031.1 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /W3 /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_b7a23.dir\Debug\\" /Fd"cmTC_b7a23.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue "D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\CheckIncludeFile.c"

  CheckIncludeFile.c

 

  cmTC_b7a23.vcxproj -> D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\Debug\cmTC_b7a23.exe




Determining if the include file stdarg.h exists passed with the following output:
Change Dir: D:/Program Files (x86)/Realm/source/Server-master/Build/CMakeFiles/CMakeTmp

Run Build Command(s):D:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe cmTC_eb1e9.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.27031.1 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /W3 /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_eb1e9.dir\Debug\\" /Fd"cmTC_eb1e9.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue "D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\CheckIncludeFile.c"

  CheckIncludeFile.c

 

  cmTC_eb1e9.vcxproj -> D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\Debug\cmTC_eb1e9.exe




Determining if the include file stdint.h exists passed with the following output:
Change Dir: D:/Program Files (x86)/Realm/source/Server-master/Build/CMakeFiles/CMakeTmp

Run Build Command(s):D:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe cmTC_aa723.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.27031.1 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /W3 /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_aa723.dir\Debug\\" /Fd"cmTC_aa723.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue "D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\CheckIncludeFile.c"

  CheckIncludeFile.c

 

  cmTC_aa723.vcxproj -> D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\Debug\cmTC_aa723.exe




Determining if the include file stddef.h exists passed with the following output:
Change Dir: D:/Program Files (x86)/Realm/source/Server-master/Build/CMakeFiles/CMakeTmp

Run Build Command(s):D:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe cmTC_80d02.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.27031.1 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /W3 /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_80d02.dir\Debug\\" /Fd"cmTC_80d02.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue "D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\CheckIncludeFile.c"

  CheckIncludeFile.c

 

  cmTC_80d02.vcxproj -> D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\Debug\cmTC_80d02.exe




Determining if the function strerror exists passed with the following output:
Change Dir: D:/Program Files (x86)/Realm/source/Server-master/Build/CMakeFiles/CMakeTmp

Run Build Command(s):D:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe cmTC_0f9b0.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.27031.1 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D CHECK_FUNCTION_EXISTS=strerror /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_0f9b0.dir\Debug\\" /Fd"cmTC_0f9b0.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue "D:\Program Files (x86)\Cmake\cmake-3.20.0-windows-x86_64\share\cmake-3.20\Modules\CheckFunctionExists.c"

  CheckFunctionExists.c

 

  cmTC_0f9b0.vcxproj -> D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\Debug\cmTC_0f9b0.exe




Performing C SOURCE FILE Test HAVE_NO_INTERPOSITION succeeded with the following output:
Change Dir: D:/Program Files (x86)/Realm/source/Server-master/Build/CMakeFiles/CMakeTmp

Run Build Command(s):D:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe cmTC_ca381.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.27031.1 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D HAVE_NO_INTERPOSITION /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_ca381.dir\Debug\\" /Fd"cmTC_ca381.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue  -fno-semantic-interposition "D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\src.c"

  src.c

 

cl : Command line warning D9002: ignoring unknown option '-fno-semantic-interposition' [D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\cmTC_ca381.vcxproj]

  cmTC_ca381.vcxproj -> D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\Debug\cmTC_ca381.exe



Source file was:
int main() { return 0; }
Performing C SOURCE FILE Test HAVE_PTRDIFF_T succeeded with the following output:
Change Dir: D:/Program Files (x86)/Realm/source/Server-master/Build/CMakeFiles/CMakeTmp

Run Build Command(s):D:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe cmTC_a4162.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.27031.1 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D HAVE_PTRDIFF_T /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_a4162.dir\Debug\\" /Fd"cmTC_a4162.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue "D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\src.c"

  src.c

 

  cmTC_a4162.vcxproj -> D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\Debug\cmTC_a4162.exe



Source file was:
#include <stddef.h>
    int main() {
        ptrdiff_t *a;
        (void)a;
        return 0;
    }
Performing C SOURCE FILE Test HAVE_SSE2_INTRIN succeeded with the following output:
Change Dir: D:/Program Files (x86)/Realm/source/Server-master/Build/CMakeFiles/CMakeTmp

Run Build Command(s):D:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe cmTC_ab291.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.27031.1 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D ZLIB_DEBUG /D HAVE_SSE2_INTRIN /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /arch:SSE2 /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_ab291.dir\Debug\\" /Fd"cmTC_ab291.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue "D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\src.c"

  src.c

 

  cmTC_ab291.vcxproj -> D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\Debug\cmTC_ab291.exe



Source file was:
#include <immintrin.h>
        int main(void) {
            __m128i zero = _mm_setzero_si128();
            (void)zero;
            return 0;
        }
Performing C SOURCE FILE Test HAVE_SSSE3_INTRIN succeeded with the following output:
Change Dir: D:/Program Files (x86)/Realm/source/Server-master/Build/CMakeFiles/CMakeTmp

Run Build Command(s):D:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe cmTC_fe02b.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.27031.1 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D ZLIB_DEBUG /D HAVE_SSSE3_INTRIN /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_fe02b.dir\Debug\\" /Fd"cmTC_fe02b.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue "D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\src.c"

  src.c

 

  cmTC_fe02b.vcxproj -> D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\Debug\cmTC_fe02b.exe



Source file was:
#include <immintrin.h>
        int main(void) {
            __m128i u, v, w;
            u = _mm_set1_epi32(1);
            v = _mm_set1_epi32(2);
            w = _mm_hadd_epi32(u, v);
            (void)w;
            return 0;
        }
Performing C SOURCE FILE Test HAVE_SSE42CRC_INLINE_ASM succeeded with the following output:
Change Dir: D:/Program Files (x86)/Realm/source/Server-master/Build/CMakeFiles/CMakeTmp

Run Build Command(s):D:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe cmTC_9013e.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.27031.1 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D ZLIB_DEBUG /D HAVE_SSE42CRC_INLINE_ASM /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_9013e.dir\Debug\\" /Fd"cmTC_9013e.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue "D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\src.c"

  src.c

 

  cmTC_9013e.vcxproj -> D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\Debug\cmTC_9013e.exe



Source file was:
int main(void) {
            unsigned val = 0, h = 0;
        #if defined(_MSC_VER)
            { __asm mov edx, h __asm mov eax, val __asm crc32 eax, edx __asm mov val, eax }
        #else
            __asm__ __volatile__ ( "crc32 %1,%0" : "+r" (h) : "r" (val) );
        #endif
            return (int)h;
        }
Performing C SOURCE FILE Test HAVE_SSE42CRC_INTRIN succeeded with the following output:
Change Dir: D:/Program Files (x86)/Realm/source/Server-master/Build/CMakeFiles/CMakeTmp

Run Build Command(s):D:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe cmTC_5902b.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.27031.1 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D ZLIB_DEBUG /D HAVE_SSE42CRC_INTRIN /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_5902b.dir\Debug\\" /Fd"cmTC_5902b.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue "D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\src.c"

  src.c

 

  cmTC_5902b.vcxproj -> D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\Debug\cmTC_5902b.exe



Source file was:
#include <immintrin.h>
        int main(void) {
            unsigned crc = 0;
            char c = 'c';
        #if defined(_MSC_VER)
            crc = _mm_crc32_u32(crc, c);
        #else
            crc = __builtin_ia32_crc32qi(crc, c);
        #endif
            (void)crc;
            return 0;
        }
Performing C SOURCE FILE Test HAVE_SSE42CMPSTR_INTRIN succeeded with the following output:
Change Dir: D:/Program Files (x86)/Realm/source/Server-master/Build/CMakeFiles/CMakeTmp

Run Build Command(s):D:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe cmTC_f3858.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.27031.1 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D ZLIB_DEBUG /D HAVE_SSE42CMPSTR_INTRIN /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_f3858.dir\Debug\\" /Fd"cmTC_f3858.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue "D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\src.c"

  src.c

 

  cmTC_f3858.vcxproj -> D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\Debug\cmTC_f3858.exe



Source file was:
#include <immintrin.h>
        int main(void) {
            unsigned char a[64] = { 0 };
            unsigned char b[64] = { 0 };
            __m128i xmm_src0, xmm_src1;
            xmm_src0 = _mm_loadu_si128((__m128i *)(char *)a);
            xmm_src1 = _mm_loadu_si128((__m128i *)(char *)b);
            return _mm_cmpestri(xmm_src0, 16, xmm_src1, 16, 0);
        }
Performing C SOURCE FILE Test HAVE_PCLMULQDQ_INTRIN succeeded with the following output:
Change Dir: D:/Program Files (x86)/Realm/source/Server-master/Build/CMakeFiles/CMakeTmp

Run Build Command(s):D:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe cmTC_e50ed.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.27031.1 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D ZLIB_DEBUG /D HAVE_PCLMULQDQ_INTRIN /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_e50ed.dir\Debug\\" /Fd"cmTC_e50ed.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue "D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\src.c"

  src.c

 

  cmTC_e50ed.vcxproj -> D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\Debug\cmTC_e50ed.exe



Source file was:
#include <immintrin.h>
            int main(void) {
                __m128i a = _mm_setzero_si128();
                __m128i b = _mm_setzero_si128();
                __m128i c = _mm_clmulepi64_si128(a, b, 0x10);
                (void)c;
                return 0;
            }
Performing C SOURCE FILE Test HAVE_AVX2_INTRIN succeeded with the following output:
Change Dir: D:/Program Files (x86)/Realm/source/Server-master/Build/CMakeFiles/CMakeTmp

Run Build Command(s):D:/Program Files (x86)/Microsoft Visual Studio/2017/Community/MSBuild/15.0/Bin/MSBuild.exe cmTC_1df73.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.27031.1 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

 

  cl /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D ZLIB_DEBUG /D HAVE_AVX2_INTRIN /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_1df73.dir\Debug\\" /Fd"cmTC_1df73.dir\Debug\vc141.pdb" /Gd /TC /analyze- /errorReport:queue "D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\src.c"

  src.c

 

  cmTC_1df73.vcxproj -> D:\Program Files (x86)\Realm\source\Server-master\Build\CMakeFiles\CMakeTmp\Debug\cmTC_1df73.exe



Source file was:
#include <immintrin.h>
        int main(void) {
            __m256i x = _mm256_set1_epi16(2);
            const __m256i y = _mm256_set1_epi16(1);
            x = _mm256_subs_epu16(x, y);
            (void)x;
            return 0;
        }


Fannar 03-31-2021 06:01 PM

I resolved my problem
 
I figure out why CMake wasn't compiling I had to re-read and try the example over again and finally I solved my solution I had to use TortoiseGit and use the cloning process to solve my problem.


All times are GMT -4. The time now is 08:03 PM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.