Ask Your Question
0

Windows setup (win-setup.ps1) failed

asked 2019-05-24 15:26:57 +0000

stbimudd gravatar image

updated 2019-05-24 20:21:21 +0000

Jaap gravatar image

I'm currently using Win 10 and vs19. When I tried to build files using cmake i get error Windows setup (win-setup.ps1) failed. I have installed qt, cygwin and followed user manual to set env variables. Please help me to solve this issue.


C:\Development\wsbuild64>set WIRESHARK_BASE_DIR=C:\Development

C:\Development\wsbuild64> rem set WIRESHARK_LIB_DIR=c:\wireshark-win64-libs

C:\Development\wsbuild64>set QT5_BASE_DIR=C:\Qt\5.12.2\msvc2017_64

C:\Development\wsbuild64>set WIRESHARK_VERSION_EXTRA=-YourExtraVersionInfo

C:\Development\wsbuild64>set VisualStudioVersion=10.0

C:\Development\wsbuild64>cd C:\Development\wsbuild64

C:\Development\wsbuild64>cmake -G "Visual Studio 16 2019" ..\wireshark -- Generating build using CMake 3.14.4 -- Building for win64 using Visual Studio 16 2019 CMake Error at CMakeLists.txt:110 (message): Windows setup (win-setup.ps1) failed.

-- Configuring incomplete, errors occurred! See also "C:/Development/wsbuild64/CMakeFiles/CMakeOutput.log". See also "C:/Development/wsbuild64/CMakeFiles/CMakeError.log".

C:\Development\wsbuild64>

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-05-25 16:46:07 +0000

grahamb gravatar image

As per your output:

C:\Development\wsbuild64>set VisualStudioVersion=10.0

remove this line, it's only for use with VS 2010. You should delete your CMakeCache.txt from the build dir and re-run the CMake build step.

Unfortunately the developers guide has an error here stating that it's for VS2019, it's not. I shall fix that.

edit flag offensive delete link more

Comments

Thank you very much for the help. It worked out

stbimudd gravatar imagestbimudd ( 2019-05-27 15:48:54 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-05-24 15:26:57 +0000

Seen: 637 times

Last updated: May 27 '19