ubuntu 18.04 编译wireshark-3.6.0

提示如下错误时,需要安装sudo apt-get install qtmultimedia5-dev

$ cmake ..
-- Generating build using CMake 3.14.6
-- LTO/IPO is not enabled
-- CMake build type: RelWithDebInfo
-- V: 3.6.0, MaV: 3, MiV: 6, PL: 0, EV: .
-- Linker flags: -Wl,--as-needed
CMake Error at CMakeLists.txt:1248 (find_package):
By not providing "FindQt5Multimedia.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"Qt5Multimedia", but CMake did not find one.

Could not find a package configuration file provided by "Qt5Multimedia"
with any of the following names:

Qt5MultimediaConfig.cmake
qt5multimedia-config.cmake

Add the installation prefix of "Qt5Multimedia" to CMAKE_PREFIX_PATH or set
"Qt5Multimedia_DIR" to a directory containing one of the above files. If
"Qt5Multimedia" provides a separate development package or SDK, be sure it
has been installed.


-- Configuring incomplete, errors occurred!

 

posted @ 2022-01-25 11:00  sciapex  阅读(67)  评论(0编辑  收藏  举报