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
Sorry for how long my width of my text goes if anyone also know how I can make it better please let me know.
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;
}