First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

Windows setup (win-setup.ps1) failed

  • retag add tags

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>

stbimudd's avatar
1
stbimudd
asked 2019-05-24 15:26:57 +0000
Jaap's avatar
13.7k
Jaap
updated 2019-05-24 20:21:21 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

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.

grahamb's avatar
23.8k
grahamb
answered 2019-05-25 16:46:07 +0000
edit flag offensive 0 remove flag delete link

Comments

Thank you very much for the help. It worked out

stbimudd's avatar stbimudd (2019-05-27 15:48:54 +0000) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer