Wireshark mailing list archives
Re: Windows compilation fails
From: Graham Bloice <graham.bloice () trihedral com>
Date: Fri, 5 Aug 2016 14:46:47 +0100
On 5 August 2016 at 14:22, Dario Lombardo <dario.lombardo.ml () gmail com> wrote:
Actually I was missing one package. Then I cleaned repo up with git clean -dfx. Now I still don't go to the end but with Build FAILED. "c:\Development\wsbuild64\Wireshark.sln" (default target) (1) -> "c:\Development\wsbuild64\copy_qt_dlls.vcxproj.metaproj" (default target) (14) -> "c:\Development\wsbuild64\wireshark.vcxproj.metaproj" (default target) (42) -> "c:\Development\wsbuild64\ui\qt\qtui.vcxproj.metaproj" (default target) (49) -> "c:\Development\wsbuild64\ui\qt\qtui.vcxproj" (default target) (112) -> (ClCompile target) -> C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\algorithm(3050): warning C4267: 'argument' : conversion from 'size_ t' to 'int', possible loss of data [c:\Development\wsbuild64\ui\ qt\qtui.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\algorithm(3051): warning C4267: 'argument' : conversion from 'size_ t' to 'int', possible loss of data [c:\Development\wsbuild64\ui\ qt\qtui.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\algorithm(3052): warning C4267: 'argument' : conversion from 'size_ t' to 'int', possible loss of data [c:\Development\wsbuild64\ui\ qt\qtui.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\algorithm(3053): warning C4267: 'argument' : conversion from 'size_ t' to 'int', possible loss of data [c:\Development\wsbuild64\ui\ qt\qtui.vcxproj] "c:\Development\wsbuild64\Wireshark.sln" (default target) (1) -> "c:\Development\wsbuild64\copy_qt_dlls.vcxproj.metaproj" (default target) (14) -> "c:\Development\wsbuild64\wireshark.vcxproj.metaproj" (default target) (42) -> "c:\Development\wsbuild64\ui\qt\qtui.vcxproj.metaproj" (default target) (49) -> "c:\Development\wsbuild64\ui\qt\qtui.vcxproj" (default target) (112) -> (ClCompile target) -> C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\algorithm(3050): error C2220: warning treated as error - no 'object ' file generated [c:\Development\wsbuild64\ui\qt\qtui.vcxproj] 4 Warning(s) 1 Error(s) Time Elapsed 00:00:37.66
What Qt version? I think I've seen that one before.
On Fri, Aug 5, 2016 at 2:37 PM, Pascal Quantin <pascal.quantin () gmail com> wrote:Le 5 août 2016 14:34, "Graham Bloice" <graham.bloice () trihedral com> a écrit :On 5 August 2016 at 13:29, Dario Lombardo <dario.lombardo.ml () gmail com>wrote:I'm trying to compile wireshark on windows, but it fails. I have lowskills on windows, so maybe I'm missing something very basic.Any hint? Thank you. "c:\Development\wsbuild64\Wireshark.sln" (default target) (1)->"c:\Development\wsbuild64\docbook\release_notes_html.vcxproj.metaproj"(default target) (50) ->"c:\Development\wsbuild64\docbook\release_notes_html.vcxproj"(default target) (102) ->(CustomBuild target) -> a2x : error : "xmllint" --nonet --noout --valid"/cygdrive/c/Development/wsbuild64/docbook/release-notes.xml" returned non-zero exit status 4 [c:\Development\wsbuild64\docbook\release_notes_html.vcxproj]"c:\Development\wsbuild64\Wireshark.sln" (default target) (1)->"c:\Development\wsbuild64\ui\ui.vcxproj.metaproj" (defaulttarget) (61) ->"c:\Development\wsbuild64\ui\ui.vcxproj" (default target)(106) ->(ClCompile target) -> C:\Development\wireshark\ui\text_import.c(922): error C2065:'yyscan_t' : undeclared identifier [c:\Development\wsbuild64\ui\ui.vcxproj] C:\Development\wireshark\ui\text_import.c(922): error C2146:syntax error : missing ';' before identifier 'scanner' [c:\Development\wsbuild64\ui\ui.vcxproj] C:\Development\wireshark\ui\text_import.c(922): error C2065:'scanner' : undeclared identifier [c:\Development\wsbuild64\ui\ui.vcxproj] C:\Development\wireshark\ui\text_import.c(1035): errorC2065: 'scanner' : undeclared identifier [c:\Development\wsbuild64\ui\u i.vcxproj] C:\Development\wireshark\ui\text_import.c(1041): errorC2065: 'scanner' : undeclared identifier [c:\Development\wsbuild64\ui\u i.vcxproj] C:\Development\wireshark\ui\text_import.c(1043): errorC2065: 'scanner' : undeclared identifier [c:\Development\wsbuild64\ui\u i.vcxproj] C:\Development\wireshark\ui\text_import.c(1045): errorC2065: 'scanner' : undeclared identifier [c:\Development\wsbuild64\ui\u i.vcxproj] "c:\Development\wsbuild64\Wireshark.sln" (default target) (1)->"c:\Development\wsbuild64\docbook\developer_guide_chm.vcxproj.metaproj"(default target) (15) ->"c:\Development\wsbuild64\docbook\developer_guide_chm.vcxproj"(default target) (114) ->(CustomBuild target) -> CUSTOMBUILD : I/O error : Attempt to load network entityhttp://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd [c:\Development\wsbuild64\docbook\developer_guide_chm.vcxproj] "c:\Development\wsbuild64\Wireshark.sln" (default target) (1)->"c:\Development\wsbuild64\docbook\user_guide_chm.vcxproj.metaproj"(default target) (63) ->"c:\Development\wsbuild64\docbook\user_guide_chm.vcxproj"(default target) (111) ->CUSTOMBUILD : I/O error : Attempt to load network entityhttp://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd [c:\Development\wsbuild64\docbook\user_guide_chm.vcxproj] "c:\Development\wsbuild64\Wireshark.sln" (default target) (1)->"c:\Development\wsbuild64\epan\dfilter\dfilter.vcxproj.metaproj"(default target) (18) ->"c:\Development\wsbuild64\epan\dfilter\dfilter.vcxproj"(default target) (116) ->(ClCompile target) -> C:\Development\wireshark\epan\dfilter\dfilter.c(216): errorC2065: 'yyscan_t' : undeclared identifier [c:\Development\wsbuild64\epan\dfilter\dfilter.vcxproj] C:\Development\wireshark\epan\dfilter\dfilter.c(216): errorC2146: syntax error : missing ';' before identifier 'scanner' [c:\Development\wsbuild64\epan\dfilter\dfilter.vcxproj] C:\Development\wireshark\epan\dfilter\dfilter.c(216): errorC2065: 'scanner' : undeclared identifier [c:\Development\wsbuild64\epan\dfilter\dfilter.vcxproj] C:\Development\wireshark\epan\dfilter\dfilter.c(217): errorC2065: 'YY_BUFFER_STATE' : undeclared identifier [c:\Development\wsbuild64\epan\dfilter\dfilter.vcxproj] C:\Development\wireshark\epan\dfilter\dfilter.c(217): errorC2146: syntax error : missing ';' before identifier 'in_buffer' [c:\Development\wsbuild64\epan\dfilter\dfilter.vcxproj] C:\Development\wireshark\epan\dfilter\dfilter.c(217): errorC2065: 'in_buffer' : undeclared identifier [c:\Development\wsbuild64\epan\dfilter\dfilter.vcxproj] C:\Development\wireshark\epan\dfilter\dfilter.c(237): errorC2065: 'scanner' : undeclared identifier [c:\Development\wsbuild64\epan\dfilter\dfilter.vcxproj] C:\Development\wireshark\epan\dfilter\dfilter.c(245): errorC2065: 'in_buffer' : undeclared identifier [c:\Development\wsbuild64\epan\dfilter\dfilter.vcxproj] C:\Development\wireshark\epan\dfilter\dfilter.c(245): errorC2065: 'scanner' : undeclared identifier [c:\Development\wsbuild64\epan\dfilter\dfilter.vcxproj] C:\Development\wireshark\epan\dfilter\dfilter.c(252): errorC2065: 'scanner' : undeclared identifier [c:\Development\wsbuild64\epan\dfilter\dfilter.vcxproj] C:\Development\wireshark\epan\dfilter\dfilter.c(258): errorC2065: 'scanner' : undeclared identifier [c:\Development\wsbuild64\epan\dfilter\dfilter.vcxproj] C:\Development\wireshark\epan\dfilter\dfilter.c(321): errorC2065: 'in_buffer' : undeclared identifier [c:\Development\wsbuild64\epan\dfilter\dfilter.vcxproj] C:\Development\wireshark\epan\dfilter\dfilter.c(321): errorC2065: 'scanner' : undeclared identifier [c:\Development\wsbuild64\epan\dfilter\dfilter.vcxproj] C:\Development\wireshark\epan\dfilter\dfilter.c(322): errorC2065: 'scanner' : undeclared identifier [c:\Development\wsbuild64\epan\dfilter\dfilter.vcxproj] "c:\Development\wsbuild64\Wireshark.sln" (default target) (1)->"c:\Development\wsbuild64\ui\qt\qtui.vcxproj.metaproj"(default target) (44) ->"c:\Development\wsbuild64\ui\qt\qtui.vcxproj" (default target)(113) ->C:\Program Files (x86)\Microsoft Visual Studio12.0\VC\include\algorithm(3050): error C2220: warning treated as error - no 'object' file generated (C:\Development\wireshark\ui\qt\display_filter_expression_dialog.cpp) [c:\Development\wsbuild64\ui\q t\qtui.vcxproj]34 Warning(s) 25 Error(s) Time Elapsed 00:06:33The docbook errors are due to missing the docbook-xml45 package fromCygwin.Not sure about the other ones.As Graham suggested, it's worth double checking that you installed all Cygwin packages listed in the development guide. That's usually where the errors come from.--
Graham Bloice
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Windows compilation fails Dario Lombardo (Aug 05)
- Re: Windows compilation fails Graham Bloice (Aug 05)
- Re: Windows compilation fails Pascal Quantin (Aug 05)
- Re: Windows compilation fails Dario Lombardo (Aug 05)
- Re: Windows compilation fails Graham Bloice (Aug 05)
- Re: Windows compilation fails Dario Lombardo (Aug 05)
- Re: Windows compilation fails Graham Bloice (Aug 05)
- Re: Windows compilation fails Dario Lombardo (Aug 05)
- Re: Windows compilation fails Graham Bloice (Aug 05)
- Re: Windows compilation fails Graham Bloice (Aug 05)
- Re: Windows compilation fails Pascal Quantin (Aug 05)
- Re: Windows compilation fails Graham Bloice (Aug 05)