Wireshark mailing list archives

Re: Building Wireshark on MAC


From: Peter Wu <peter () lekensteyn nl>
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 () lekensteyn nl>:

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

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: