Wireshark mailing list archives
cmake build on windows without libpcap
From: "Pavel Strnad" <strnadp () tiscali cz>
Date: Thu, 11 May 2017 16:12:15 +0200
Hi list, Does anyone currently build without libpcap? Intention is to build Wireshakr for windows without capturing options as analyzer only. I have found an option for cmake -DENABLE_PCAP=OFF but doing so results in errors below (related to caputils and qtui): "c:\Development\pswsbuild64\Wireshark.sln" (default target) (1) -> "c:\Development\pswsbuild64\ALL_BUILD.vcxproj.metaproj" (default target) (2) -> "c:\Development\pswsbuild64\caputils\caputils.vcxproj.metaproj" (default target) (7) -> "c:\Development\pswsbuild64\caputils\caputils.vcxproj" (default target) (83) -> (ClCompile target) -> C:\Development\pswireshark\caputils/capture-pcap-util-int.h(48): error C2143: syntax error : missing ')' before '*' [c:\Development\pswsbuild64\caputi ls\caputils.vcxproj] C:\Development\pswireshark\caputils/capture-pcap-util-int.h(48): error C2143: syntax error : missing '{' before '*' [c:\Development\pswsbuild64\caputi ls\caputils.vcxproj] .... "c:\Development\pswsbuild64\ui\qt\qtui.vcxproj.metaproj" (default target) (33) -> "c:\Development\pswsbuild64\ui\qt\qtui.vcxproj" (default target) (99) -> C:\Development\pswsbuild64\ui\qt\moc_main_welcome.cpp(153): error C2039: 'showExtcapOptions' : is not a member of 'MainWelcome' [c:\Development\pswsbu ild64\ui\qt\qtui.vcxproj] C:\Development\pswsbuild64\ui\qt\moc_main_welcome.cpp(158): error C2039: 'interfaceClicked' : is not a member of 'MainWelcome' [c:\Development\pswsbui ld64\ui\qt\qtui.vcxproj] C:\Development\pswsbuild64\ui\qt\moc_main_welcome.cpp(208): error C2039: 'showExtcapOptions' : is not a member of 'MainWelcome' [c:\Development\pswsbu ild64\ui\qt\qtui.vcxproj] C:\Development\pswsbuild64\ui\qt\moc_main_welcome.cpp(208): error C2065: 'showExtcapOptions' : undeclared identifier [c:\Development\pswsbuild64\ui\qt \qtui.vcxproj] C:\Development\pswsbuild64\ui\qt\moc_main_welcome.cpp(286): error C2039: 'showExtcapOptions' : is not a member of 'MainWelcome' [c:\Development\pswsbu ild64\ui\qt\qtui.vcxproj] C:\Development\pswsbuild64\ui\qt\moc_main_welcome.cpp(289): error C2355: 'this' : can only be referenced inside non-static member functions or non-sta tic data member initializers [c:\Development\pswsbuild64\ui\qt\qtui.vcxproj] C:\Development\pswsbuild64\ui\qt\moc_main_welcome.cpp(289): error C2065: 'staticMetaObject' : undeclared identifier [c:\Development\pswsbuild64\ui\qt\ qtui.vcxproj] C:\Development\pswireshark\ui\qt\compiled_filter_output.cpp(26): fatal error C1083: Cannot open include file: 'pcap.h': No such file or directory [c:\ Development\pswsbuild64\ui\qt\qtui.vcxproj] C:\Development\pswsbuild64\ui\qt\moc_main_window.cpp(1704): error C2039: 'extcap_options_finished' : is not a member of 'MainWindow' [c:\Development\p swsbuild64\ui\qt\qtui.vcxproj] C:\Development\pswsbuild64\ui\qt\moc_main_window.cpp(1705): error C2039: 'showExtcapOptionsDialog' : is not a member of 'MainWindow' [c:\Development\p swsbuild64\ui\qt\qtui.vcxproj] 0 Warning(s) 25 Error(s) Thanks for any help or hint. Best Regards, Pavel ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- cmake build on windows without libpcap Pavel Strnad (May 11)
- <Possible follow-ups>
- Re: cmake build on windows without libpcap Pavel Strnad (May 12)
- Re: cmake build on windows without libpcap Guy Harris (May 12)
- Re: cmake build on windows without libpcap Pavel Strnad (May 12)
- Re: cmake build on windows without libpcap Guy Harris (May 12)