nikolaseu / neuvision

Structured Light based 3D scanner
GNU General Public License v3.0
287 stars 81 forks source link

Errors occur after "cmake .." #48

Open zengletian1491 opened 4 years ago

zengletian1491 commented 4 years ago

This project is executed on ubuntu 16.04LTS and errors occur after "cmake .." -- Found Git: /usr/bin/git (found version "2.24.1") -- [MunkeiVersionFromGit] Version: 0.2.0 Git tag: [0.2.0] Git hash: [ged21873] Decorated: [0.2.0-1-ged21873] Identifiers: [] Metadata: [ged21873.20200120184158] SemVer: [0.2.0+ged21873.20200120184158] -- The CXX compiler identification is GNU 5.4.0 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done This is a release build (CMAKE_BUILD_TYPE=Release) -- The C compiler identification is GNU 5.4.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Found OpenCV: /usr/local (found version "3.4.1") CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:26 (find_package): 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. Call Stack (most recent call first): lib/zcameraacquisition/plugins/zqtcamera/CMakeLists.txt:6 (find_package)

-- Configuring incomplete, errors occurred! See also "/media/zeng/work/neuvision/build/CMakeFiles/CMakeOutput.log".

The command "git init" doesn't work! Could you please give me some suggestions?

nikolaseu commented 4 years ago

Hi, I think the error is quite clear. What version of qt do you have? The one in the repos for ubuntu 16 is probably too old, even the one in ubuntu 18.04 is old. Can you try getting a newer version with Qt's online installer? It should work in ubuntu 18.04, but I cannot say anything about ubuntu 16.04 because I never tested.