Hadesx Posted December 16, 2022 Report Share Posted December 16, 2022 Hi so I've been struggling lately with compiling a. 4.3.4. core from Trinity, I'm new to this kind of stuff and I decided I would like to learn a bit more of coding compiling etc. Once I start compiling it on CMAKE it shows while it's configuring the map it shows some files are not found and this are the errors I get. Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output: Change Dir: C:/Users/Antho/Desktop/core/build/CMakeFiles/CMakeScratch/TryCompile-9bxfcg Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_e5676.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30147 for x64 Copyright (C) Microsoft Corporation. All rights reserved. src.c cl /c /Zi /W1 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D CMAKE_HAVE_LIBC_PTHREAD /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_e5676.dir\Debug\\" /Fd"cmTC_e5676.dir\Debug\vc142.pdb" /external:W1 /Gd /TC /errorReport:queue "C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-9bxfcg\src.c" C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-9bxfcg\src.c(1,10): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory [C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-9bxfcg\cmTC_e5676.vcxproj] Source file was: #include <pthread.h> static void* test_func(void* data) { return data; } int main(void) { pthread_t thread; pthread_create(&thread, NULL, test_func, NULL); pthread_detach(thread); pthread_cancel(thread); pthread_join(thread, NULL); pthread_atfork(NULL, NULL, NULL); pthread_exit(NULL); return 0; } Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: C:/Users/Antho/Desktop/core/build/CMakeFiles/CMakeScratch/TryCompile-20zi9f Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_0b425.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30147 for x64 Copyright (C) Microsoft Corporation. All rights reserved. cl /c /Zi /W1 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D CHECK_FUNCTION_EXISTS=pthread_create /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_0b425.dir\Debug\\" /Fd"cmTC_0b425.dir\Debug\vc142.pdb" /external:W1 /Gd /TC /errorReport:queue "C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-20zi9f\CheckFunctionExists.c" CheckFunctionExists.c LINK : fatal error LNK1104: cannot open file 'pthreads.lib' [C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-20zi9f\cmTC_0b425.vcxproj] Determining if the function pthread_create exists in the pthread failed with the following output: Change Dir: C:/Users/Antho/Desktop/core/build/CMakeFiles/CMakeScratch/TryCompile-w9yc71 Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_17528.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30147 for x64 Copyright (C) Microsoft Corporation. All rights reserved. cl /c /Zi /W1 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D CHECK_FUNCTION_EXISTS=pthread_create /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_17528.dir\Debug\\" /Fd"cmTC_17528.dir\Debug\vc142.pdb" /external:W1 /Gd /TC /errorReport:queue "C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-w9yc71\CheckFunctionExists.c" CheckFunctionExists.c LINK : fatal error LNK1104: cannot open file 'pthread.lib' [C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-w9yc71\cmTC_17528.vcxproj] Determining if the function kqueue exists failed with the following output: Change Dir: C:/Users/Antho/Desktop/core/build/CMakeFiles/CMakeScratch/TryCompile-wq508d Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_d5c73.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30147 for x64 Copyright (C) Microsoft Corporation. All rights reserved. cl /c /I"C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-wq508d\sys\event.h" /Zi /W1 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D CHECK_FUNCTION_EXISTS=kqueue /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_d5c73.dir\Debug\\" /Fd"cmTC_d5c73.dir\Debug\vc142.pdb" /external:W1 /Gd /TC /errorReport:queue "C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-wq508d\CheckFunctionExists.c" CheckFunctionExists.c CheckFunctionExists.obj : error LNK2019: unresolved external symbol kqueue referenced in function main [C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-wq508d\cmTC_d5c73.vcxproj] C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-wq508d\Debug\cmTC_d5c73.exe : fatal error LNK1120: 1 unresolved externals [C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-wq508d\cmTC_d5c73.vcxproj] Determining if the function epoll_create exists failed with the following output: Change Dir: C:/Users/Antho/Desktop/core/build/CMakeFiles/CMakeScratch/TryCompile-hqsw21 Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_8639d.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30147 for x64 Copyright (C) Microsoft Corporation. All rights reserved. cl /c /I"C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-hqsw21\sys\epoll.h" /Zi /W1 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D CHECK_FUNCTION_EXISTS=epoll_create /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_8639d.dir\Debug\\" /Fd"cmTC_8639d.dir\Debug\vc142.pdb" /external:W1 /Gd /TC /errorReport:queue "C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-hqsw21\CheckFunctionExists.c" CheckFunctionExists.c CheckFunctionExists.obj : error LNK2019: unresolved external symbol epoll_create referenced in function main [C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-hqsw21\cmTC_8639d.vcxproj] C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-hqsw21\Debug\cmTC_8639d.exe : fatal error LNK1120: 1 unresolved externals [C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-hqsw21\cmTC_8639d.vcxproj] Determining size of struct pollfd failed with the following output: Change Dir: C:/Users/Antho/Desktop/core/build/CMakeFiles/CMakeScratch/TryCompile-ib12ri Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_a7b61.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30147 for x64 Copyright (C) Microsoft Corporation. All rights reserved. DEVPOLL.c cl /c /I"C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-ib12ri\sys\devpoll.h" /Zi /W1 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_a7b61.dir\Debug\\" /Fd"cmTC_a7b61.dir\Debug\vc142.pdb" /external:W1 /Gd /TC /errorReport:queue "C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-ib12ri\DEVPOLL.c" C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-ib12ri\DEVPOLL.c(29,12): error C2027: use of undefined type 'pollfd' [C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-ib12ri\cmTC_a7b61.vcxproj] C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-ib12ri\DEVPOLL.c(29): message : see declaration of 'pollfd' [C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-ib12ri\cmTC_a7b61.vcxproj] C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-ib12ri\DEVPOLL.c(30,12): error C2027: use of undefined type 'pollfd' [C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-ib12ri\cmTC_a7b61.vcxproj] C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-ib12ri\DEVPOLL.c(29): message : see declaration of 'pollfd' [C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-ib12ri\cmTC_a7b61.vcxproj] C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-ib12ri\DEVPOLL.c(31,12): error C2027: use of undefined type 'pollfd' [C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-ib12ri\cmTC_a7b61.vcxproj] C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-ib12ri\DEVPOLL.c(29): message : see declaration of 'pollfd' [C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-ib12ri\cmTC_a7b61.vcxproj] C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-ib12ri\DEVPOLL.c(32,12): error C2027: use of undefined type 'pollfd' [C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-ib12ri\cmTC_a7b61.vcxproj] C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-ib12ri\DEVPOLL.c(29): message : see declaration of 'pollfd' [C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-ib12ri\cmTC_a7b61.vcxproj] C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-ib12ri\DEVPOLL.c(33,12): error C2027: use of undefined type 'pollfd' [C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-ib12ri\cmTC_a7b61.vcxproj] C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-ib12ri\DEVPOLL.c(29): message : see declaration of 'pollfd' [C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-ib12ri\cmTC_a7b61.vcxproj] 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(__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(struct pollfd)) 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 pollset_create exists failed with the following output: Change Dir: C:/Users/Antho/Desktop/core/build/CMakeFiles/CMakeScratch/TryCompile-920vey Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_2dd08.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30147 for x64 Copyright (C) Microsoft Corporation. All rights reserved. cl /c /I"C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-920vey\sys\pollset.h" /Zi /W1 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D CHECK_FUNCTION_EXISTS=pollset_create /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_2dd08.dir\Debug\\" /Fd"cmTC_2dd08.dir\Debug\vc142.pdb" /external:W1 /Gd /TC /errorReport:queue "C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-920vey\CheckFunctionExists.c" CheckFunctionExists.c CheckFunctionExists.obj : error LNK2019: unresolved external symbol pollset_create referenced in function main [C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-920vey\cmTC_2dd08.vcxproj] C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-920vey\Debug\cmTC_2dd08.exe : fatal error LNK1120: 1 unresolved externals [C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-920vey\cmTC_2dd08.vcxproj] Determining if the function poll exists failed with the following output: Change Dir: C:/Users/Antho/Desktop/core/build/CMakeFiles/CMakeScratch/TryCompile-q73wug Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_37e0b.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30147 for x64 Copyright (C) Microsoft Corporation. All rights reserved. CheckFunctionExists.c cl /c /I"C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-q73wug\poll.h" /Zi /W1 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D CHECK_FUNCTION_EXISTS=poll /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_37e0b.dir\Debug\\" /Fd"cmTC_37e0b.dir\Debug\vc142.pdb" /external:W1 /Gd /TC /errorReport:queue "C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-q73wug\CheckFunctionExists.c" CheckFunctionExists.obj : error LNK2019: unresolved external symbol poll referenced in function main [C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-q73wug\cmTC_37e0b.vcxproj] C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-q73wug\Debug\cmTC_37e0b.exe : fatal error LNK1120: 1 unresolved externals [C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-q73wug\cmTC_37e0b.vcxproj] Determining if files ifaddrs.h exist failed with the following output: Change Dir: C:/Users/Antho/Desktop/core/build/CMakeFiles/CMakeScratch/TryCompile-mqxsjw Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_43ce8.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30147 for x64 Copyright (C) Microsoft Corporation. All rights reserved. HAVE_IFADDRS.c cl /c /I"C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-mqxsjw\winsock2.h" /Zi /W1 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_43ce8.dir\Debug\\" /Fd"cmTC_43ce8.dir\Debug\vc142.pdb" /external:W1 /Gd /TC /errorReport:queue "C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-mqxsjw\HAVE_IFADDRS.c" C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-mqxsjw\HAVE_IFADDRS.c(2,10): fatal error C1083: Cannot open include file: 'ifaddrs.h': No such file or directory [C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-mqxsjw\cmTC_43ce8.vcxproj] Source: /* */ #include <ifaddrs.h> int main(void){return 0;} Determining if files sys/uio.h exist failed with the following output: Change Dir: C:/Users/Antho/Desktop/core/build/CMakeFiles/CMakeScratch/TryCompile-n3eo0p Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_baddd.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30147 for x64 Copyright (C) Microsoft Corporation. All rights reserved. HAVE_UIO.c cl /c /I"C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-n3eo0p\winsock2.h" /Zi /W1 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_baddd.dir\Debug\\" /Fd"cmTC_baddd.dir\Debug\vc142.pdb" /external:W1 /Gd /TC /errorReport:queue "C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-n3eo0p\HAVE_UIO.c" C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-n3eo0p\HAVE_UIO.c(2,10): fatal error C1083: Cannot open include file: 'sys/uio.h': No such file or directory [C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-n3eo0p\cmTC_baddd.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: C:/Users/Antho/Desktop/core/build/CMakeFiles/CMakeScratch/TryCompile-gzg8dk Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_a04de.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30147 for x64 Copyright (C) Microsoft Corporation. All rights reserved. HAVE_EVENTFD.c cl /c /I"C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-gzg8dk\winsock2.h" /Zi /W1 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_a04de.dir\Debug\\" /Fd"cmTC_a04de.dir\Debug\vc142.pdb" /external:W1 /Gd /TC /errorReport:queue "C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-gzg8dk\HAVE_EVENTFD.c" C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-gzg8dk\HAVE_EVENTFD.c(2,10): fatal error C1083: Cannot open include file: 'sys/eventfd.h': No such file or directory [C:\Users\Antho\Desktop\core\build\CMakeFiles\CMakeScratch\TryCompile-gzg8dk\cmTC_a04de.vcxproj] Source: /* */ #include <sys/eventfd.h> int main(void){return 0;} Link to comment Share on other sites More sharing options...
Recommended Posts