gitahead: Cmake errors
Hi, I have been facing the following cmake errors on Linux Debian 9 (stretch) as output for the following command
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release ../..
--
-- The following features have been enabled:
* diffie-hellman-group-exchange-sha1 , "new" diffie-hellman-group-exchange-sha1 method
-- The following OPTIONAL packages have been found:
* Git
* OpenSSL
-- The following REQUIRED packages have been found:
* Qt5Concurrent
* Qt5Core
* Qt5Gui
* Qt5Network
* Qt5PrintSupport
* Qt5Widgets
* Qt5Test
* Qt5
-- The following features have been disabled:
* Shared library , creating libssh2 as a shared library (.so/.dll)
* Compression , using zlib for compression
* "none" cipher
* "none" MAC
* Logging , Logging of execution with debug trace
-- Checking prototype qsort_r for HAVE_QSORT_R_BSD - False
-- Checking prototype qsort_r for HAVE_QSORT_R_GNU - True
-- Resolved libraries: /usr/lib/x86_64-linux-gnu/libcurl.so
-- Found mbedTLS:
-- version 2.13.1
-- TLS: /usr/local/lib/libmbedtls.a
-- X509: /usr/local/lib/libmbedx509.a
-- Crypto: /usr/local/lib/libmbedcrypto.a
-- Could NOT find HTTP_Parser (missing: HTTP_PARSER_INCLUDE_DIR HTTP_PARSER_LIBRARY)
-- http-parser version 2 was not found or disabled; using bundled 3rd-party sources.
-- Performing Test IS_WIMPLICIT-FALLTHROUGH=1_SUPPORTED
-- Performing Test IS_WIMPLICIT-FALLTHROUGH=1_SUPPORTED - Failed
-- Enabled features:
* diffie-hellman-group-exchange-sha1 , "new" diffie-hellman-group-exchange-sha1 method
* threadsafe , threadsafe support
* cURL , cURL for HTTP proxy support
* HTTPS , using OpenSSL
* SHA , using CollisionDetection
* http-parser , http-parser support (bundled)
* zlib , using system zlib
* SSH , SSH transport support
-- Disabled features:
* Shared library , creating libssh2 as a shared library (.so/.dll)
* Compression , using zlib for compression
* "none" cipher
* "none" MAC
* Logging , Logging of execution with debug trace
* debugpool , debug pool allocator
* tracing , tracing support
* SPNEGO , SPNEGO authentication support
* iconv , iconv encoding conversion support
CMake Error at pack/CMakeLists.txt:34 (get_target_property):
get_target_property() called with non-existent target "Qt5::QJpegPlugin".
CMake Error at pack/CMakeLists.txt:35 (get_filename_component):
get_filename_component called with incorrect number of arguments
CMake Error at pack/CMakeLists.txt:36 (get_filename_component):
get_filename_component called with incorrect number of arguments
CMake Error at pack/CMakeLists.txt:37 (get_filename_component):
get_filename_component called with incorrect number of arguments
CMake Error at pack/CMakeLists.txt:34 (get_target_property):
get_target_property() called with non-existent target
"Qt5::QXcbIntegrationPlugin".
CMake Error at pack/CMakeLists.txt:35 (get_filename_component):
get_filename_component called with incorrect number of arguments
CMake Error at pack/CMakeLists.txt:36 (get_filename_component):
get_filename_component called with incorrect number of arguments
CMake Error at pack/CMakeLists.txt:37 (get_filename_component):
get_filename_component called with incorrect number of arguments
-- Configuring incomplete, errors occurred!
See also "/home/otaviogomes/tmp/gitahead/build/release/CMakeFiles/CMakeOutput.log".
See also "/home/otaviogomes/tmp/gitahead/build/release/CMakeFiles/CMakeError.log".
Files
Some idea ?
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 16 (5 by maintainers)
I am having the same problem on Ubuntu 18.10 cosmic. The following is the output of running CMake in CLion (running from the command line fails too).
I installed
qt5-default
formapt
. I am not sure what plug-in I need for the jpeg.That is not acceptable for most Linux distributions. Everything has to be unbundled and built from source.
I get a pretty similar output on Debian unstable (Qt 5.11.3)
Any hints what could be missing?
@Mailaender you will likely have to download Qt from qt.io and build against it instead.