Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
Description
This is only about CMake 3.17/RosBE 2.2. I don't expect CMake 3.2 to support modern Visual Studio.
(please, apply patch from ROSBE-159)
Building any target with VSSolution generator fails while building host-tools:
R:\msbuild19> C:\rosgit\configure.cmd VSSolution -DENABLE_ROSTESTS=1 -DENABLE_ROSAPPS=1
|
R:\msbuild19>cmake --build . --target zipfldr
|
Microsoft (R) Build Engine version 16.5.0+d4cbfca49 for .NET Framework
|
Copyright (C) Microsoft Corporation. All rights reserved.
|
|
Checking Build System
|
Generating host_tools
|
Microsoft (R) Build Engine version 16.5.0+d4cbfca49 for .NET Framework
|
Copyright (C) Microsoft Corporation. All rights reserved.
|
|
Checking Build System
|
Building Custom Rule C:/rosgit/sdk/tools/CMakeLists.txt
|
bin2c.c
|
bin2c.vcxproj -> R:\msbuild19\host-tools\Debug\bin2c.exe
|
Building Custom Rule C:/rosgit/sdk/lib/3rdparty/zlib/CMakeLists.txt
|
adler32.c
|
crc32.c
|
deflate.c
|
inffast.c
|
inflate.c
|
inftrees.c
|
trees.c
|
zutil.c
|
zlibhost.vcxproj -> R:\msbuild19\host-tools\sdk\lib\3rdparty\zlib\Debug\zlibhost.lib
|
Building Custom Rule C:/rosgit/sdk/tools/cabman/CMakeLists.txt
|
cabinet.cxx
|
dfp.cxx
|
main.cxx
|
mszip.cxx
|
raw.cxx
|
CCFDATAStorage.cxx
|
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\winnt.h(19898,5): error C3861: '__stosb': identifier not found (compiling source file C:\rosgit\sdk\tools\cabman\raw.cxx) [R:\msbuild19\host-tools\sdk\tools\cabman\cabman.vcxpr oj] [R:\msbuild19\build-host-tools.vcxproj]
|
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\winnt.h(22426,27): error C3861: '__readgsqword': identifier not found (compiling source file C:\rosgit\sdk\tools\cabman\raw.cxx) [R:\msbuild19\host-tools\sdk\tools\cabman\cabma n.vcxproj] [R:\msbuild19\build-host-tools.vcxproj]
|
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\winnt.h(22437,19): error C3861: '__readgsqword': identifier not found (compiling source file C:\rosgit\sdk\tools\cabman\raw.cxx) [R:\msbuild19\host-tools\sdk\tools\cabman\cabma n.vcxproj] [R:\msbuild19\build-host-tools.vcxproj]
|
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\winnt.h(19898,5): error C3861: '__stosb': identifier not found (compiling source file C:\rosgit\sdk\tools\cabman\mszip.cxx) [R:\msbuild19\host-tools\sdk\tools\cabman\cabman.vcx proj] [R:\msbuild19\build-host-tools.vcxproj]
|
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\winnt.h(19898,5): error C3861: '__stosb': identifier not found (compiling source file C:\rosgit\sdk\tools\cabman\cabinet.cxx) [R:\msbuild19\host-tools\sdk\tools\cabman\cabman.v cxproj] [R:\msbuild19\build-host-tools.vcxproj]
|
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\winnt.h(22426,27): error C3861: '__readgsqword': identifier not found (compiling source file C:\rosgit\sdk\tools\cabman\mszip.cxx) [R:\msbuild19\host-tools\sdk\tools\cabman\cab man.vcxproj] [R:\msbuild19\build-host-tools.vcxproj]
|
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\winnt.h(22437,19): error C3861: '__readgsqword': identifier not found (compiling source file C:\rosgit\sdk\tools\cabman\mszip.cxx) [R:\msbuild19\host-tools\sdk\tools\cabman\cab man.vcxproj] [R:\msbuild19\build-host-tools.vcxproj]
|
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\winnt.h(19898,5): error C3861: '__stosb': identifier not found (compiling source file C:\rosgit\sdk\tools\cabman\CCFDATAStorage.cxx) [R:\msbuild19\host-tools\sdk\tools\cabman\c abman.vcxproj] [R:\msbuild19\build-host-tools.vcxproj]
|
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\winnt.h(19898,5): error C3861: '__stosb': identifier not found (compiling source file C:\rosgit\sdk\tools\cabman\dfp.cxx) [R:\msbuild19\host-tools\sdk\tools\cabman\cabman.vcxpr oj] [R:\msbuild19\build-host-tools.vcxproj]
|
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\winnt.h(22426,27): error C3861: '__readgsqword': identifier not found (compiling source file C:\rosgit\sdk\tools\cabman\cabinet.cxx) [R:\msbuild19\host-tools\sdk\tools\cabman\c abman.vcxproj] [R:\msbuild19\build-host-tools.vcxproj]
|
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\winnt.h(22437,19): error C3861: '__readgsqword': identifier not found (compiling source file C:\rosgit\sdk\tools\cabman\cabinet.cxx) [R:\msbuild19\host-tools\sdk\tools\cabman\c abman.vcxproj] [R:\msbuild19\build-host-tools.vcxproj]
|
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\winnt.h(19898,5): error C3861: '__stosb': identifier not found (compiling source file C:\rosgit\sdk\tools\cabman\main.cxx) [R:\msbuild19\host-tools\sdk\tools\cabman\cabman.vcxp roj] [R:\msbuild19\build-host-tools.vcxproj]
|
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\winnt.h(22426,27): error C3861: '__readgsqword': identifier not found (compiling source file C:\rosgit\sdk\tools\cabman\CCFDATAStorage.cxx) [R:\msbuild19\host-tools\sdk\tools\c abman\cabman.vcxproj] [R:\msbuild19\build-host-tools.vcxproj]
|
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\winnt.h(22437,19): error C3861: '__readgsqword': identifier not found (compiling source file C:\rosgit\sdk\tools\cabman\CCFDATAStorage.cxx) [R:\msbuild19\host-tools\sdk\tools\c abman\cabman.vcxproj] [R:\msbuild19\build-host-tools.vcxproj]
|
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\winnt.h(22426,27): error C3861: '__readgsqword': identifier not found (compiling source file C:\rosgit\sdk\tools\cabman\dfp.cxx) [R:\msbuild19\host-tools\sdk\tools\cabman\cabma n.vcxproj] [R:\msbuild19\build-host-tools.vcxproj]
|
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\winnt.h(22437,19): error C3861: '__readgsqword': identifier not found (compiling source file C:\rosgit\sdk\tools\cabman\dfp.cxx) [R:\msbuild19\host-tools\sdk\tools\cabman\cabma n.vcxproj] [R:\msbuild19\build-host-tools.vcxproj]
|
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\winnt.h(22426,27): error C3861: '__readgsqword': identifier not found (compiling source file C:\rosgit\sdk\tools\cabman\main.cxx) [R:\msbuild19\host-tools\sdk\tools\cabman\cabm an.vcxproj] [R:\msbuild19\build-host-tools.vcxproj]
|
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\winnt.h(22437,19): error C3861: '__readgsqword': identifier not found (compiling source file C:\rosgit\sdk\tools\cabman\main.cxx) [R:\msbuild19\host-tools\sdk\tools\cabman\cabm an.vcxproj] [R:\msbuild19\build-host-tools.vcxproj]
|
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\winbase.h(9266,23): error C3861: '_InterlockedIncrement': identifier not found (compiling source file C:\rosgit\sdk\tools\cabman\raw.cxx) [R:\msbuild19\host-tools\sdk\tools\cab man\cabman.vcxproj] [R:\msbuild19\build-host-tools.vcxproj]
|
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\winbase.h(9275,28): error C3861: '_InterlockedIncrement': identifier not found (compiling source file C:\rosgit\sdk\tools\cabman\raw.cxx) [R:\msbuild19\host-tools\sdk\tools\cab man\cabman.vcxproj] [R:\msbuild19\build-host-tools.vcxproj]
|
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\winbase.h(9287,32): error C2065: 'InterlockedIncrement64': undeclared identifier (compiling source file C:\rosgit\sdk\tools\cabman\raw.cxx) [R:\msbuild19\host-tools\sdk\tools\c abman\cabman.vcxproj] [R:\msbuild19\build-host-tools.vcxproj]
|
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\winbase.h(9298,28): error C3861: '_InterlockedDecrement': identifier not found (compiling source file C:\rosgit\sdk\tools\cabman\raw.cxx) [R:\msbuild19\host-tools\sdk\tools\cab man\cabman.vcxproj] [R:\msbuild19\build-host-tools.vcxproj]
|
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\winbase.h(9307,28): error C3861: '_InterlockedDecrement': identifier not found (compiling source file C:\rosgit\sdk\tools\cabman\raw.cxx) [R:\msbuild19\host-tools\sdk\tools\cab man\cabman.vcxproj] [R:\msbuild19\build-host-tools.vcxproj]
|
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\winbase.h(9319,32): error C2065: 'InterlockedDecrement64': undeclared identifier (compiling source file C:\rosgit\sdk\tools\cabman\raw.cxx) [R:\msbuild19\host-tools\sdk\tools\c abman\cabman.vcxproj] [R:\msbuild19\build-host-tools.vcxproj]
|
Note:
Starting with VS2017, CMake introduced a special variable for working with Windows SDK:
CMAKE_SYSTEM_VERSION
Attachments
Issue Links
- blocks
-
CORE-16847 GCC8/RosBE 2.2 non-blocking regressions
- Open
- duplicates
-
CORE-16677 Visual Studio2019 compile reactos error
- Resolved
- relates to
-
ROSBE-159 RosBE 2.2 fails to build VSSolution (VS <= 2015)
- Resolved