ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] Status Cmake Win32 support

From: Graham Bloice <graham.bloice@xxxxxxxxxxxxx>
Date: Thu, 5 Dec 2013 22:04:36 +0000
On 2 December 2013 16:14, Joerg Mayer <jmayer@xxxxxxxxx> wrote:
On Mon, Dec 02, 2013 at 02:28:43PM +0000, Graham Bloice wrote:
> On 2 December 2013 13:49, Joerg Mayer <jmayer@xxxxxxxxx> wrote:
>
> > > > > 8.  Fix build of plugins.
> > > >
> > > > They build on my system (cmake with nmake and msbuild).
> > > >
> > >
> > > When building wireshark, I don't see any attempt to build them, maybe
> > > there's a missing dependency in CMakeLists.  I haven't tried building
> > them
> > > explicitly.
> >
> > They are built automagically, i.e. right now I do out of tree builds
> > on 32 bit arch:
> > cmake ..\..\trunk 2>&1 | tee cmake.log
> > cmake --build . 2>&1 | tee build.log
> > With default cmakeoptions and default config.nmake files (OK, I modified
> > config.nmake temporarily to pull in gtk2 as well in order to have both
> > gtk versions to test with).
> >
>
> On my cmake test env, using the VS201 generator and msbuild, building
> wireshark or tshark is successful without any plugins being built.

Perhaps see below.



Just updated to r53798 and an msbuild of wireshark using the VS2010 solution (msbuild Wireshark.sln /maxcpucount /p:Configuration=Release /t:Executables\wireshark) still doesn't build any plugins.

I can build a plugin by specifying them directly, e.g. msbuild Wireshark.sln /maxcpucount /p:Configuration=Release /t:Plugins\mate

Better news is that all the executables now build except for text2pcap.

I get some warnings for qtshark:

         E:\Wireshark\trunk\ui\qt\capture_interfaces_dialog.ui : warning : The name 'layoutWidget' (QWidget) is already in use, defaulting to 'layoutWidget1'. [E:\Wireshark\build\ui\qt\qtui.vcxproj]
         E:\Wireshark\trunk\ui\qt\capture_interfaces_dialog.ui : warning : The name 'layoutWidget' (QWidget) is already in use, defaulting to 'layoutWidget2'. [E:\Wireshark\build\ui\qt\qtui.vcxproj]
         E:\Wireshark\trunk\ui\qt\capture_interfaces_dialog.ui : warning : The name 'layoutWidget' (QWidget) is already in use, defaulting to 'layoutWidget3'. [E:\Wireshark\build\ui\qt\qtui.vcxproj]
         E:\Wireshark\trunk\ui\qt\capture_interfaces_dialog.ui : warning : The name 'layoutWidget' (QWidget) is already in use, defaulting to 'layoutWidget4'. [E:\Wireshark\build\ui\qt\qtui.vcxproj]
         E:\Wireshark\trunk\ui\qt\capture_interfaces_dialog.ui : warning : The name 'layoutWidget' (QWidget) is already in use, defaulting to 'layoutWidget5'. [E:\Wireshark\build\ui\qt\qtui.vcxproj]
         RCC : warning : No resources in 'E:/Wireshark/trunk/ui/qt/welcome.qrc'. [E:\Wireshark\build\ui\qt\qtui.vcxproj]