Jump to content

Snappy Crypt / Decrypt Source Side


Recommended Posts

  • Former Staff

M2 Download Center

This is the hidden content, please
( Internal )

Hello, today is MCSP release date. Have fun.

Some notes, if you like to implement new algorithms:

Open CryptAlgorithms.h and define a new class with new stuff, like I did with LZO and Snappy.

Make sure to modify Crypt.h "enum class CryptationTypes"

 

Oh btw, you need to add Snappy in your Extern.

 

How you may ask?

Download

This is the hidden content, please

Install https://cmake.org/download/

Use cmake-gui to generate stuff, open snappy.sln and build it in release.

Copy the .h files inside a newly created "snappy" folder in Extern/iniclude

Go to (cmake build folder)/Release and copy your snappy.lib into Extern/lib

If you use the vcpkg method: vcpkg install snappy:x86-windows-static

Ready!

 

 

  • Metin2 Dev 61
  • kekw 1
  • Angry 1
  • Good 14
  • Love 3
  • Love 36

Everyday you wake up as a Metin2 developer is a bad day...

METIN1 src when

Link to comment
Share on other sites

  • Former Staff

#Updated

#Update as @Karbustpointed out, the tutorial was missing two lines in PythonNonPlayer.cpp and ItemManager.cpp make sure to download the new 7z file that contains the update.

Everyday you wake up as a Metin2 developer is a bad day...

METIN1 src when

Link to comment
Share on other sites

  • 2 months later...
  • 3 months later...
  • Management

 Dead Download Link 

 Moved Topic 

 

If someone has the archive of this topic, can you send it to us? Thank you!

 

Puss In Boots Please GIF by swerk

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • 3 months later...
  • Former Staff
On 3/24/2021 at 2:30 PM, Sean said:

Hello, anyone know why I get that error?

Use CMake 3.19.3 with

This is the hidden content, please
.

06968f3f73bcd5283dfcd77c5f2d524a.png

that log is not complete, I don't see the full log in cmake

Edited by Metin2 Dev
Core X - External 2 Internal

Everyday you wake up as a Metin2 developer is a bad day...

METIN1 src when

Link to comment
Share on other sites

  • Premium
On 3/27/2021 at 2:32 PM, arves100 said:

that log is not complete, I don't see the full log in cmake

 

CMakeError.log

Quote

CMakeError.log


Determining if the include file sys/mman.h exists failed with the following output:
Change Dir: C:/Users/Sean/Downloads/snappy-master/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_fd2ed.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.



  Compilador de optimizaci¢n de C/C++ de Microsoft (R) versi¢n 19.28.29336 para x86

  (C) Microsoft Corporation. Todos los derechos reservados.

  CheckIncludeFile.c

  cl /c /Zi /W3 /WX- /diagnostics:column /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_fd2ed.dir\Debug\\" /Fd"cmTC_fd2ed.dir\Debug\vc142.pdb" /Gd /TC /analyze- /errorReport:queue "C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\CheckIncludeFile.c"

C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1,10): fatal error C1083: No se puede abrir el archivo incluir: 'sys/mman.h': No such file or directory [C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\cmTC_fd2ed.vcxproj]




Determining if the include file sys/resource.h exists failed with the following output:
Change Dir: C:/Users/Sean/Downloads/snappy-master/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_a1b77.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.



  Compilador de optimizaci¢n de C/C++ de Microsoft (R) versi¢n 19.28.29336 para x86

  (C) Microsoft Corporation. Todos los derechos reservados.

  CheckIncludeFile.c

C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1,10): fatal error C1083: No se puede abrir el archivo incluir: 'sys/resource.h': No such file or directory [C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\cmTC_a1b77.vcxproj]

  cl /c /Zi /W3 /WX- /diagnostics:column /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_a1b77.dir\Debug\\" /Fd"cmTC_a1b77.dir\Debug\vc142.pdb" /Gd /TC /analyze- /errorReport:queue "C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\CheckIncludeFile.c"




Determining if the include file sys/time.h exists failed with the following output:
Change Dir: C:/Users/Sean/Downloads/snappy-master/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_6af70.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.



  Compilador de optimizaci¢n de C/C++ de Microsoft (R) versi¢n 19.28.29336 para x86

  (C) Microsoft Corporation. Todos los derechos reservados.

  CheckIncludeFile.c

C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1,10): fatal error C1083: No se puede abrir el archivo incluir: 'sys/time.h': No such file or directory [C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\cmTC_6af70.vcxproj]

  cl /c /Zi /W3 /WX- /diagnostics:column /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_6af70.dir\Debug\\" /Fd"cmTC_6af70.dir\Debug\vc142.pdb" /Gd /TC /analyze- /errorReport:queue "C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\CheckIncludeFile.c"




Determining if the include file sys/uio.h exists failed with the following output:
Change Dir: C:/Users/Sean/Downloads/snappy-master/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_a1cfd.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.



  Compilador de optimizaci¢n de C/C++ de Microsoft (R) versi¢n 19.28.29336 para x86

  (C) Microsoft Corporation. Todos los derechos reservados.

  CheckIncludeFile.c

C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1,10): fatal error C1083: No se puede abrir el archivo incluir: 'sys/uio.h': No such file or directory [C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\cmTC_a1cfd.vcxproj]

  cl /c /Zi /W3 /WX- /diagnostics:column /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_a1cfd.dir\Debug\\" /Fd"cmTC_a1cfd.dir\Debug\vc142.pdb" /Gd /TC /analyze- /errorReport:queue "C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\CheckIncludeFile.c"




Determining if the include file unistd.h exists failed with the following output:
Change Dir: C:/Users/Sean/Downloads/snappy-master/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_04828.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.



  Compilador de optimizaci¢n de C/C++ de Microsoft (R) versi¢n 19.28.29336 para x86

  (C) Microsoft Corporation. Todos los derechos reservados.

  CheckIncludeFile.c

  cl /c /Zi /W3 /WX- /diagnostics:column /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_04828.dir\Debug\\" /Fd"cmTC_04828.dir\Debug\vc142.pdb" /Gd /TC /analyze- /errorReport:queue "C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\CheckIncludeFile.c"

C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1,10): fatal error C1083: No se puede abrir el archivo incluir: 'unistd.h': No such file or directory [C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\cmTC_04828.vcxproj]




Determining if the function zlibVersion exists in the z failed with the following output:
Change Dir: C:/Users/Sean/Downloads/snappy-master/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_4e38f.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.



  Compilador de optimizaci¢n de C/C++ de Microsoft (R) versi¢n 19.28.29336 para x86

  (C) Microsoft Corporation. Todos los derechos reservados.

  CheckFunctionExists.c

  cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D CHECK_FUNCTION_EXISTS=zlibVersion /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_4e38f.dir\Debug\\" /Fd"cmTC_4e38f.dir\Debug\vc142.pdb" /Gd /TC /analyze- /errorReport:queue "C:\Program Files\CMake\share\cmake-3.19\Modules\CheckFunctionExists.c"

LINK : fatal error LNK1104: no se puede abrir el archivo 'z.lib' [C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\cmTC_4e38f.vcxproj]




Determining if the function lzo1x_1_15_compress exists in the lzo2 failed with the following output:
Change Dir: C:/Users/Sean/Downloads/snappy-master/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_ffe07.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.



  Compilador de optimizaci¢n de C/C++ de Microsoft (R) versi¢n 19.28.29336 para x86

  (C) Microsoft Corporation. Todos los derechos reservados.

  CheckFunctionExists.c

  cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D CHECK_FUNCTION_EXISTS=lzo1x_1_15_compress /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_ffe07.dir\Debug\\" /Fd"cmTC_ffe07.dir\Debug\vc142.pdb" /Gd /TC /analyze- /errorReport:queue "C:\Program Files\CMake\share\cmake-3.19\Modules\CheckFunctionExists.c"

LINK : fatal error LNK1104: no se puede abrir el archivo 'lzo2.lib' [C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\cmTC_ffe07.vcxproj]




Determining if the function LZ4_compress_default exists in the lz4 failed with the following output:
Change Dir: C:/Users/Sean/Downloads/snappy-master/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_d2567.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.



  Compilador de optimizaci¢n de C/C++ de Microsoft (R) versi¢n 19.28.29336 para x86

  (C) Microsoft Corporation. Todos los derechos reservados.

  CheckFunctionExists.c

  cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D CHECK_FUNCTION_EXISTS=LZ4_compress_default /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_d2567.dir\Debug\\" /Fd"cmTC_d2567.dir\Debug\vc142.pdb" /Gd /TC /analyze- /errorReport:queue "C:\Program Files\CMake\share\cmake-3.19\Modules\CheckFunctionExists.c"

LINK : fatal error LNK1104: no se puede abrir el archivo 'lz4.lib' [C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\cmTC_d2567.vcxproj]




Performing C++ SOURCE FILE Test HAVE_CLANG_MAVX failed with the following output:
Change Dir: C:/Users/Sean/Downloads/snappy-master/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_13812.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.



  Compilador de optimizaci¢n de C/C++ de Microsoft (R) versi¢n 19.28.29336 para x86

  (C) Microsoft Corporation. Todos los derechos reservados.

  src.cxx

  cl /c /Zi /W4 /WX- /diagnostics:column /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D HAVE_CLANG_MAVX /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR- /Fo"cmTC_13812.dir\Debug\\" /Fd"cmTC_13812.dir\Debug\vc142.pdb" /Gd /TP /analyze- /errorReport:queue  /EHs-c- -mavx "C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\src.cxx"

cl : l¡nea de comandos warning D9002: se omite la opci¢n desconocida '-mavx' [C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\cmTC_13812.vcxproj]

  cmTC_13812.vcxproj -> C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\Debug\cmTC_13812.exe



Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test HAVE_CLANG_MBMI2 failed with the following output:
Change Dir: C:/Users/Sean/Downloads/snappy-master/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_7c21c.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.



  Compilador de optimizaci¢n de C/C++ de Microsoft (R) versi¢n 19.28.29336 para x86

  (C) Microsoft Corporation. Todos los derechos reservados.

  src.cxx

  cl /c /Zi /W4 /WX- /diagnostics:column /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D HAVE_CLANG_MBMI2 /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR- /Fo"cmTC_7c21c.dir\Debug\\" /Fd"cmTC_7c21c.dir\Debug\vc142.pdb" /Gd /TP /analyze- /errorReport:queue  /EHs-c- -mbmi2 "C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\src.cxx"

cl : l¡nea de comandos warning D9002: se omite la opci¢n desconocida '-mbmi2' [C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\cmTC_7c21c.vcxproj]

  cmTC_7c21c.vcxproj -> C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\Debug\cmTC_7c21c.exe



Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test SNAPPY_HAVE_NO_MISSING_FIELD_INITIALIZERS failed with the following output:
Change Dir: C:/Users/Sean/Downloads/snappy-master/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_49016.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.



  Compilador de optimizaci¢n de C/C++ de Microsoft (R) versi¢n 19.28.29336 para x86

  (C) Microsoft Corporation. Todos los derechos reservados.

  cl /c /Zi /W4 /WX- /diagnostics:column /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D SNAPPY_HAVE_NO_MISSING_FIELD_INITIALIZERS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR- /Fo"cmTC_49016.dir\Debug\\" /Fd"cmTC_49016.dir\Debug\vc142.pdb" /Gd /TP /analyze- /errorReport:queue  /EHs-c- -Wno-missing-field-initializers "C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\src.cxx"

cl : l¡nea de comandos error D8021: argumento numrico no v lido '/Wno-missing-field-initializers' [C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\cmTC_49016.vcxproj]



Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test HAVE_BUILTIN_EXPECT failed with the following output:
Change Dir: C:/Users/Sean/Downloads/snappy-master/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_d66ab.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.



  Compilador de optimizaci¢n de C/C++ de Microsoft (R) versi¢n 19.28.29336 para x86

  (C) Microsoft Corporation. Todos los derechos reservados.

  src.cxx

  cl /c /Zi /W4 /WX- /diagnostics:column /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D HAVE_BUILTIN_EXPECT /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR- /Fo"cmTC_d66ab.dir\Debug\\" /Fd"cmTC_d66ab.dir\Debug\vc142.pdb" /Gd /TP /analyze- /errorReport:queue  /EHs-c- "C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\src.cxx"

C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\src.cxx(3,10): error C3861: '__builtin_expect': no se encontr¢ el identificador [C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\cmTC_d66ab.vcxproj]



Source file was:

int main() {
  return __builtin_expect(0, 1);
}
Performing C++ SOURCE FILE Test HAVE_BUILTIN_CTZ failed with the following output:
Change Dir: C:/Users/Sean/Downloads/snappy-master/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_03435.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.



  Compilador de optimizaci¢n de C/C++ de Microsoft (R) versi¢n 19.28.29336 para x86

  (C) Microsoft Corporation. Todos los derechos reservados.

  src.cxx

  cl /c /Zi /W4 /WX- /diagnostics:column /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 /GR- /Fo"cmTC_03435.dir\Debug\\" /Fd"cmTC_03435.dir\Debug\vc142.pdb" /Gd /TP /analyze- /errorReport:queue  /EHs-c- "C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\src.cxx"

C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\src.cxx(3,10): error C3861: '__builtin_ctzll': no se encontr¢ el identificador [C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\cmTC_03435.vcxproj]



Source file was:

int main() {
  return __builtin_ctzll(0);
}
Performing C++ SOURCE FILE Test HAVE_ATTRIBUTE_ALWAYS_INLINE failed with the following output:
Change Dir: C:/Users/Sean/Downloads/snappy-master/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_24b51.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.



  Compilador de optimizaci¢n de C/C++ de Microsoft (R) versi¢n 19.28.29336 para x86

  (C) Microsoft Corporation. Todos los derechos reservados.

  src.cxx

  cl /c /Zi /W4 /WX- /diagnostics:column /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D HAVE_ATTRIBUTE_ALWAYS_INLINE /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR- /Fo"cmTC_24b51.dir\Debug\\" /Fd"cmTC_24b51.dir\Debug\vc142.pdb" /Gd /TP /analyze- /errorReport:queue  /EHs-c- "C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\src.cxx"

C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\src.cxx(2,16): error C2065: 'always_inline': identificador no declarado [C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\cmTC_24b51.vcxproj]

C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\src.cxx(2,30): error C4430: falta el especificador de tipo; se presupone int. Nota: C++ no admite default-int [C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\cmTC_24b51.vcxproj]

C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\src.cxx(2,36): error C2448: '__attribute__': el inicializador de estilo de funci¢n parece ser una definici¢n de funci¢n [C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\cmTC_24b51.vcxproj]



Source file was:

__attribute__((always_inline)) int zero() { return 0; }

int main() {
  return zero();
}
Determining if the mmap exist failed with the following output:
Change Dir: C:/Users/Sean/Downloads/snappy-master/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_99779.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.



  Compilador de optimizaci¢n de C/C++ de Microsoft (R) versi¢n 19.28.29336 para x86

  (C) Microsoft Corporation. Todos los derechos reservados.

  CheckSymbolExists.c

  cl /c /Zi /W3 /WX- /diagnostics:column /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_99779.dir\Debug\\" /Fd"cmTC_99779.dir\Debug\vc142.pdb" /Gd /TC /analyze- /errorReport:queue "C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\CheckSymbolExists.c"

C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\CheckSymbolExists.c(2,10): fatal error C1083: No se puede abrir el archivo incluir: 'sys/mman.h': No such file or directory [C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\cmTC_99779.vcxproj]



File C:/Users/Sean/Downloads/snappy-master/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <sys/mman.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef mmap
  return ((int*)(&mmap))[argc];
#else
  (void)argc;
  return 0;
#endif
}
Determining if the sysconf exist failed with the following output:
Change Dir: C:/Users/Sean/Downloads/snappy-master/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_83b18.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.



  Compilador de optimizaci¢n de C/C++ de Microsoft (R) versi¢n 19.28.29336 para x86

  (C) Microsoft Corporation. Todos los derechos reservados.

  CheckSymbolExists.c

  cl /c /Zi /W3 /WX- /diagnostics:column /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_83b18.dir\Debug\\" /Fd"cmTC_83b18.dir\Debug\vc142.pdb" /Gd /TC /analyze- /errorReport:queue "C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\CheckSymbolExists.c"

C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\CheckSymbolExists.c(2,10): fatal error C1083: No se puede abrir el archivo incluir: 'unistd.h': No such file or directory [C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\cmTC_83b18.vcxproj]



File C:/Users/Sean/Downloads/snappy-master/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <unistd.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef sysconf
  return ((int*)(&sysconf))[argc];
#else
  (void)argc;
  return 0;
#endif
}

 

CMakeOutput.log

Quote

The 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 16.8.3+39993bd9d for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 29/03/2021 05:03:46.
Project "C:\Users\Sean\Downloads\snappy-master\CMakeFiles\3.19.3\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:
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX64\x86\CL.exe /c /nologo /W0 /WX- /diagnostics:column /Od /Oy- /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\\" /Fd"Debug\vc142.pdb" /Gd /TC /analyze- /FC /errorReport:queue CMakeCCompilerId.c
  CMakeCCompilerId.c
Link:
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX64\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 -> C:\Users\Sean\Downloads\snappy-master\CMakeFiles\3.19.3\CompilerIdC\CompilerIdC.exe
PostBuildEvent:
  for %%i in (cl.exe) do @echo CMAKE_C_COMPILER=%%~$PATH:i
  :VCEnd
  CMAKE_C_COMPILER=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\Hostx64\x86\cl.exe
FinalizeBuildStatus:
  Deleting file "Debug\CompilerIdC.tlog\unsuccessfulbuild".
  Touching "Debug\CompilerIdC.tlog\CompilerIdC.lastbuildstate".
Done Building Project "C:\Users\Sean\Downloads\snappy-master\CMakeFiles\3.19.3\CompilerIdC\CompilerIdC.vcxproj" (default targets).

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

Time Elapsed 00:00:01.61


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 "C:/Users/Sean/Downloads/snappy-master/CMakeFiles/3.19.3/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 16.8.3+39993bd9d for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 29/03/2021 05:03:48.
Project "C:\Users\Sean\Downloads\snappy-master\CMakeFiles\3.19.3\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:
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX64\x86\CL.exe /c /nologo /W0 /WX- /diagnostics:column /Od /Oy- /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\\" /Fd"Debug\vc142.pdb" /Gd /TP /analyze- /FC /errorReport:queue CMakeCXXCompilerId.cpp
  CMakeCXXCompilerId.cpp
Link:
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX64\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 -> C:\Users\Sean\Downloads\snappy-master\CMakeFiles\3.19.3\CompilerIdCXX\CompilerIdCXX.exe
PostBuildEvent:
  for %%i in (cl.exe) do @echo CMAKE_CXX_COMPILER=%%~$PATH:i
  :VCEnd
  CMAKE_CXX_COMPILER=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\Hostx64\x86\cl.exe
FinalizeBuildStatus:
  Deleting file "Debug\CompilerIdCXX.tlog\unsuccessfulbuild".
  Touching "Debug\CompilerIdCXX.tlog\CompilerIdCXX.lastbuildstate".
Done Building Project "C:\Users\Sean\Downloads\snappy-master\CMakeFiles\3.19.3\CompilerIdCXX\CompilerIdCXX.vcxproj" (default targets).

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

Time Elapsed 00:00:01.09


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 "C:/Users/Sean/Downloads/snappy-master/CMakeFiles/3.19.3/CompilerIdCXX/CompilerIdCXX.exe"

Detecting C compiler ABI info compiled with the following output:
Change Dir: C:/Users/Sean/Downloads/snappy-master/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_833db.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.



  Compilador de optimizaci¢n de C/C++ de Microsoft (R) versi¢n 19.28.29336 para x86

  (C) Microsoft Corporation. Todos los derechos reservados.

  CMakeCCompilerABI.c

  cl /c /Zi /W3 /WX- /diagnostics:column /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_833db.dir\Debug\\" /Fd"cmTC_833db.dir\Debug\vc142.pdb" /Gd /TC /analyze- /errorReport:queue "C:\Program Files\CMake\share\cmake-3.19\Modules\CMakeCCompilerABI.c"

  cmTC_833db.vcxproj -> C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\Debug\cmTC_833db.exe




Detecting CXX compiler ABI info compiled with the following output:
Change Dir: C:/Users/Sean/Downloads/snappy-master/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_8de06.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.



  Compilador de optimizaci¢n de C/C++ de Microsoft (R) versi¢n 19.28.29336 para x86

  (C) Microsoft Corporation. Todos los derechos reservados.

  CMakeCXXCompilerABI.cpp

  cl /c /Zi /W3 /WX- /diagnostics:column /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_8de06.dir\Debug\\" /Fd"cmTC_8de06.dir\Debug\vc142.pdb" /Gd /TP /analyze- /errorReport:queue "C:\Program Files\CMake\share\cmake-3.19\Modules\CMakeCXXCompilerABI.cpp"

  cmTC_8de06.vcxproj -> C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\Debug\cmTC_8de06.exe




Determining if the include file sys/types.h exists passed with the following output:
Change Dir: C:/Users/Sean/Downloads/snappy-master/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_369b4.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.



  Compilador de optimizaci¢n de C/C++ de Microsoft (R) versi¢n 19.28.29336 para x86

  (C) Microsoft Corporation. Todos los derechos reservados.

  CheckIncludeFile.c

  cl /c /Zi /W3 /WX- /diagnostics:column /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_369b4.dir\Debug\\" /Fd"cmTC_369b4.dir\Debug\vc142.pdb" /Gd /TC /analyze- /errorReport:queue "C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\CheckIncludeFile.c"

  cmTC_369b4.vcxproj -> C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\Debug\cmTC_369b4.exe




Determining if the include file stdint.h exists passed with the following output:
Change Dir: C:/Users/Sean/Downloads/snappy-master/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_8cb41.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.



  Compilador de optimizaci¢n de C/C++ de Microsoft (R) versi¢n 19.28.29336 para x86

  (C) Microsoft Corporation. Todos los derechos reservados.

  CheckIncludeFile.c

  cl /c /Zi /W3 /WX- /diagnostics:column /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_8cb41.dir\Debug\\" /Fd"cmTC_8cb41.dir\Debug\vc142.pdb" /Gd /TC /analyze- /errorReport:queue "C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\CheckIncludeFile.c"

  cmTC_8cb41.vcxproj -> C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\Debug\cmTC_8cb41.exe




Determining if the include file stddef.h exists passed with the following output:
Change Dir: C:/Users/Sean/Downloads/snappy-master/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_b8b98.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.



  Compilador de optimizaci¢n de C/C++ de Microsoft (R) versi¢n 19.28.29336 para x86

  (C) Microsoft Corporation. Todos los derechos reservados.

  CheckIncludeFile.c

  cl /c /Zi /W3 /WX- /diagnostics:column /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_b8b98.dir\Debug\\" /Fd"cmTC_b8b98.dir\Debug\vc142.pdb" /Gd /TC /analyze- /errorReport:queue "C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\CheckIncludeFile.c"

  cmTC_b8b98.vcxproj -> C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\Debug\cmTC_b8b98.exe




Determining size of unsigned short passed with the following output:
Change Dir: C:/Users/Sean/Downloads/snappy-master/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_b44b5.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.



  Compilador de optimizaci¢n de C/C++ de Microsoft (R) versi¢n 19.28.29336 para x86

  (C) Microsoft Corporation. Todos los derechos reservados.

  CMAKE_SIZEOF_UNSIGNED_SHORT.c

  cl /c /Zi /W3 /WX- /diagnostics:column /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_b44b5.dir\Debug\\" /Fd"cmTC_b44b5.dir\Debug\vc142.pdb" /Gd /TC /analyze- /errorReport:queue "C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CheckTypeSize\CMAKE_SIZEOF_UNSIGNED_SHORT.c"

  cmTC_b44b5.vcxproj -> C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\Debug\cmTC_b44b5.exe




Determining if the system is big endian passed with the following output:
Change Dir: C:/Users/Sean/Downloads/snappy-master/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_b071b.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.



  Compilador de optimizaci¢n de C/C++ de Microsoft (R) versi¢n 19.28.29336 para x86

  (C) Microsoft Corporation. Todos los derechos reservados.

  TestEndianess.c

  cl /c /Zi /W3 /WX- /diagnostics:column /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_b071b.dir\Debug\\" /Fd"cmTC_b071b.dir\Debug\vc142.pdb" /Gd /TC /analyze- /errorReport:queue "C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\TestEndianess.c"

  cmTC_b071b.vcxproj -> C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\Debug\cmTC_b071b.exe



TestEndianess.c:
/* A 16 bit integer is required. */
typedef unsigned short cmakeint16;

/* On a little endian machine, these 16bit ints will give "THIS IS LITTLE ENDIAN."
   On a big endian machine the characters will be exchanged pairwise. */
const cmakeint16 info_little[] =  {0x4854, 0x5349, 0x4920, 0x2053, 0x494c, 0x5454, 0x454c, 0x4520, 0x444e, 0x4149, 0x2e4e, 0x0000};

/* on a big endian machine, these 16bit ints will give "THIS IS BIG ENDIAN."
   On a little endian machine the characters will be exchanged pairwise. */
const cmakeint16 info_big[] =     {0x5448, 0x4953, 0x2049, 0x5320, 0x4249, 0x4720, 0x454e, 0x4449, 0x414e, 0x2e2e, 0x0000};

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


Determining if the include file windows.h exists passed with the following output:
Change Dir: C:/Users/Sean/Downloads/snappy-master/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_794e5.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.



  Compilador de optimizaci¢n de C/C++ de Microsoft (R) versi¢n 19.28.29336 para x86

  (C) Microsoft Corporation. Todos los derechos reservados.

  CheckIncludeFile.c

  cl /c /Zi /W3 /WX- /diagnostics:column /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_794e5.dir\Debug\\" /Fd"cmTC_794e5.dir\Debug\vc142.pdb" /Gd /TC /analyze- /errorReport:queue "C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\CheckIncludeFile.c"

  cmTC_794e5.vcxproj -> C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\Debug\cmTC_794e5.exe




Performing C++ SOURCE FILE Test HAVE_VISUAL_STUDIO_ARCH_AVX succeeded with the following output:
Change Dir: C:/Users/Sean/Downloads/snappy-master/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_d7d6a.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.



  Compilador de optimizaci¢n de C/C++ de Microsoft (R) versi¢n 19.28.29336 para x86

  (C) Microsoft Corporation. Todos los derechos reservados.

  src.cxx

  cl /c /Zi /W4 /WX- /diagnostics:column /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D HAVE_VISUAL_STUDIO_ARCH_AVX /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /arch:AVX /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR- /Fo"cmTC_d7d6a.dir\Debug\\" /Fd"cmTC_d7d6a.dir\Debug\vc142.pdb" /Gd /TP /analyze- /errorReport:queue  /EHs-c- "C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\src.cxx"

  cmTC_d7d6a.vcxproj -> C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\Debug\cmTC_d7d6a.exe



Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test HAVE_VISUAL_STUDIO_ARCH_AVX2 succeeded with the following output:
Change Dir: C:/Users/Sean/Downloads/snappy-master/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_e06a1.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.



  Compilador de optimizaci¢n de C/C++ de Microsoft (R) versi¢n 19.28.29336 para x86

  (C) Microsoft Corporation. Todos los derechos reservados.

  src.cxx

  cl /c /Zi /W4 /WX- /diagnostics:column /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D HAVE_VISUAL_STUDIO_ARCH_AVX2 /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /arch:AVX2 /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR- /Fo"cmTC_e06a1.dir\Debug\\" /Fd"cmTC_e06a1.dir\Debug\vc142.pdb" /Gd /TP /analyze- /errorReport:queue  /EHs-c- "C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\src.cxx"

  cmTC_e06a1.vcxproj -> C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\Debug\cmTC_e06a1.exe



Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test SNAPPY_HAVE_SSSE3 succeeded with the following output:
Change Dir: C:/Users/Sean/Downloads/snappy-master/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_1c0f3.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.



  Compilador de optimizaci¢n de C/C++ de Microsoft (R) versi¢n 19.28.29336 para x86

  (C) Microsoft Corporation. Todos los derechos reservados.

  src.cxx

  cl /c /Zi /W4 /WX- /diagnostics:column /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D SNAPPY_HAVE_SSSE3 /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR- /Fo"cmTC_1c0f3.dir\Debug\\" /Fd"cmTC_1c0f3.dir\Debug\vc142.pdb" /Gd /TP /analyze- /errorReport:queue  /EHs-c- "C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\src.cxx"

  cmTC_1c0f3.vcxproj -> C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\Debug\cmTC_1c0f3.exe



Source file was:

#include <tmmintrin.h>

int main() {
  const __m128i *src = 0;
  __m128i dest;
  const __m128i shuffle_mask = _mm_load_si128(src);
  const __m128i pattern = _mm_shuffle_epi8(_mm_loadl_epi64(src), shuffle_mask);
  _mm_storeu_si128(&dest, pattern);
  return 0;
}
Performing C++ SOURCE FILE Test SNAPPY_HAVE_BMI2 succeeded with the following output:
Change Dir: C:/Users/Sean/Downloads/snappy-master/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_1d656.vcxproj /p:Configuration=Debug /p:Platform=Win32 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.



  Compilador de optimizaci¢n de C/C++ de Microsoft (R) versi¢n 19.28.29336 para x86

  (C) Microsoft Corporation. Todos los derechos reservados.

  src.cxx

  cl /c /Zi /W4 /WX- /diagnostics:column /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D SNAPPY_HAVE_BMI2 /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR- /Fo"cmTC_1d656.dir\Debug\\" /Fd"cmTC_1d656.dir\Debug\vc142.pdb" /Gd /TP /analyze- /errorReport:queue  /EHs-c- "C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\src.cxx"

  cmTC_1d656.vcxproj -> C:\Users\Sean\Downloads\snappy-master\CMakeFiles\CMakeTmp\Debug\cmTC_1d656.exe



Source file was:

#include <immintrin.h>
int main() {
  return _bzhi_u32(0, 1);
}

 

 

 

 

// ¹Ý-_-»ç

Link to comment
Share on other sites

  • 1 year later...

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.