FindPkgConfig: CMake can't display which package is missing-
CMakeOutput.log
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- 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
-- Building with Qt5.7.1
-- Performing Test COMPILER_SUPPORTS_CXX11
-- Performing Test COMPILER_SUPPORTS_CXX11 - Success
-- Performing Test COMPILER_SUPPORTS_CXX0X
-- Performing Test COMPILER_SUPPORTS_CXX0X - Success
CMake Error at /usr/share/cmake-3.7/Modules/FindPkgConfig.cmake:415 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.7/Modules/FindPkgConfig.cmake:588 (_pkg_check_modules_internal)
CMakeLists.txt:42 (pkg_check_modules)
-- Configuring incomplete, errors occurred!
See also "/home/szg/lxqt/lxqt-runner/build/CMakeFiles/CMakeOutput.log".
szg@debian:~/lxqt$
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
cat /home/szg/lxqt/lxqt-runner/build/CMakeFiles/CMakeOutput.log
.
.
.
Performing C++ SOURCE FILE Test COMPILER_SUPPORTS_CXX11 succeeded with the following output:
Change Dir: /home/szg/lxqt/lxqt-runner/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_54637/fast"
/usr/bin/make -f CMakeFiles/cmTC_54637.dir/build.make CMakeFiles/cmTC_54637.dir/build
make[1]: Entering directory '/home/szg/lxqt/lxqt-runner/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_54637.dir/src.cxx.o
/usr/bin/c++ -fno-exceptions -Wall -DCOMPILER_SUPPORTS_CXX11 -fPIE -std=c++11 -o CMakeFiles/cmTC_54637.dir/src.cxx.o -c /home/szg/lxqt/lxqt-runner/build/CMakeFiles/CMakeTmp/src.cxx
Linking CXX executable cmTC_54637
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_54637.dir/link.txt --verbose=1
/usr/bin/c++ -fno-exceptions -Wall -DCOMPILER_SUPPORTS_CXX11 CMakeFiles/cmTC_54637.dir/src.cxx.o -o cmTC_54637 -rdynamic
make[1]: Leaving directory '/home/szg/lxqt/lxqt-runner/build/CMakeFiles/CMakeTmp'
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test COMPILER_SUPPORTS_CXX0X succeeded with the following output:
Change Dir: /home/szg/lxqt/lxqt-runner/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_e6e6e/fast"
/usr/bin/make -f CMakeFiles/cmTC_e6e6e.dir/build.make CMakeFiles/cmTC_e6e6e.dir/build
make[1]: Entering directory '/home/szg/lxqt/lxqt-runner/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_e6e6e.dir/src.cxx.o
/usr/bin/c++ -fno-exceptions -Wall -DCOMPILER_SUPPORTS_CXX0X -fPIE -std=c++0x -o CMakeFiles/cmTC_e6e6e.dir/src.cxx.o -c /home/szg/lxqt/lxqt-runner/build/CMakeFiles/CMakeTmp/src.cxx
Linking CXX executable cmTC_e6e6e
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e6e6e.dir/link.txt --verbose=1
/usr/bin/c++ -fno-exceptions -Wall -DCOMPILER_SUPPORTS_CXX0X CMakeFiles/cmTC_e6e6e.dir/src.cxx.o -o cmTC_e6e6e -rdynamic
make[1]: Leaving directory '/home/szg/lxqt/lxqt-runner/build/CMakeFiles/CMakeTmp'
Source file was:
int main() { return 0; }
szg@debian:~/lxqt$