Revision history [back]
Wireshark-3.0.5 CMakelist - win-setup.ps1 fails
Wireshark Release 3.1.1 works fine. I switched to Wireshark Release 3.0.5 and the Cmakelist fails as follows:
C:\Development\wsbuild64>cmake -G "Visual Studio 15 2017 Win64" ../wireshark-3.0.5
-- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.16299.
-- The C compiler identification is MSVC 19.16.27032.1
-- The CXX compiler identification is MSVC 19.16.27032.1
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Generating build using CMake 3.12.18081601-MSVC_2
-- Found POWERSHELL: C:/Windows/System32/WindowsPowerShell/v1.0/powershell.exe
-- Building for win64 using Visual Studio 15 2017 Win64
. : AuthorizationManager check failed.
At line:1 char:3
+ . "C:\Development\wireshark-3.0.5\tools\win-setup.ps1" -Destination C ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : SecurityError: (:) [], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess
CMake Error at CMakeLists.txt:112 (message):
Windows setup (win-setup.ps1) failed.
-- Configuring incomplete, errors occurred!
See also "C:/Development/wsbuild64/CMakeFiles/CMakeOutput.log".
-- Configuring incomplete, errors occurred!
See also "C:/Development/wsbuild64/CMakeFiles/CMakeOutput.log".
Wireshark-3.0.5 CMakelist - win-setup.ps1 fails
Wireshark Release 3.1.1 works fine. I switched to Wireshark Release 3.0.5 and the Cmakelist fails as follows: