getting error wsbuild64/wiretap/ascend.c(1155,1): error C2220 when trying to build wireshark sources
Hello, I get the following error when building the wireshark sources:
wsbuild64/wiretap/ascend.c(1155,1): error C2220: the following warning is treated as an error [<>\wsbuild64\wiretap\wiretap.vcxproj]
Can you please help? All packages where installed according to 2.2. Win32/64: Step-by-Step Guide I use Win10 64 bit
Thanks, Bella
It's likely that we would need to see the complete output of both the CMake generation step and the msbuild step. Redirect the outputs to a file by appending
2>&1 > somefile.txt
to the commands and then putting the text files on a public share and posting a link back to them here.Hi, The files can be found here and here
Thank you, Bella
The actual error is:
As to why you're getting that, it's something in your env. The generation of ascend.c also looks a bit odd:
I'm building my self at the moment to check that.
Build and compile is clean for me. What do you have in the CMakeCache.txt file in the build directory for
YACC_EXECUTABLE:FILEPATH
? That should point to win_bison.exe.It is YACC_EXECUTABLE:FILEPATH=C:/ProgramData/chocolatey/bin/win_bison.exe The path is correct