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] Building Wireshark on MAC

From: Peter Wu <peter@xxxxxxxxxxxxx>
Date: Tue, 30 Sep 2014 23:29:37 +0200
On Tuesday 30 September 2014 21:36:33 Anders Broman wrote:
> Ok that was helpful, unfortunately the result is:
> 
> -- The following OPTIONAL packages have not been found:
> 
> 
>  * CAP
> 
>  * GTK3
> 
>  * Qt5LinguistTools
> 
>  * Qt5MacExtras
> 
>  * Qt5PrintSupport
> 
>  * Qt5Widgets
> 
>  * SBC , SBC Codec for Bluetooth A2DP stream playing , <www:
> http://git.kernel.org/cgit/bluetooth/sbc.git>
> 
>  * SETCAP
> 
>  * YAPP
> 
> Any ideas why it does not find any GUI toolkit?

Where is the installation of GTK3 or Qt? If you have installed Qt4, try
-DENABLE_QT5=0 for a fallback.

> Regards
> Anders
> 
> 2014-09-30 9:56 GMT+02:00 Peter Wu <peter@xxxxxxxxxxxxx>:
> 
> > On Monday 29 September 2014 21:09:22 Anders Broman wrote:
> > > Well for a cmake newbie it would help with an example of which parameters
> > > to use...
> >
> > Typically you have a build directory separate from your code. Minimal
> > example:
> >
> >     mkdir build && cd build
> >     cmake $path_to_srcdir
> >     make
> >     # Build artifacts are now in run/
> >
> > Options can be added with -DVAR=VAL, for example: -DENABLE_QT5=0 (to
> > disable
> > Qt5), -DCMAKE_BUILD_TYPE=Debug (defaults to RelWithDebInfo).
> >
> > Alternatively you can use cmake-gui:
> >
> >     mkdir build && cd build
> >     cmake-gui $path_to_srcdir
> >     # Press Configure, select stuff, press Generate
> >     make
> >
> > --
> > Kind regards,
> > Peter
> > https://lekensteyn.nl