View Single Post
Old 11-15-2023, 12:36 PM   #41
philja
Addict
philja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enough
 
Posts: 270
Karma: 516
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
My first attempt at building Sigil 2.0.2 with Qt6 has failed at the configuration stage. I tried to use the system libraries for hunspell, pcre2, minizip. The consol command I used was :

Code:
cmake -G "Unix Makefiles" -DUSE_SYSTEM_LIBS=1 -DCMAKE_BUILD_TYPE=Release ../sigil-src
The libhunspell-dev, libpcre2-dev, libminizip-dev packages are installed on my system.

The consol output shows that ZLIB and MiniZip were found but no mention of hunspell or pcre2. A few lines further down, it indicates cmake was using bundled Hunspell and PCRE2. This, I suppose is not so serious as what follows.

Next failure was: windows.h not found and the CMakeError.log shows that as a fatal error.

A few more lines down, the consol output shows:

Code:
 Looking for C++ include type_traits.h
-- Looking for C++ include type_traits.h - not found
-- Looking for C++ include bits/type_traits.h
-- Looking for C++ include bits/type_traits.h - not found
Again, the CMakeError.log shows these as fatal errors.

Further down, I find:

Code:
Looking for _strtoi64 - not found
this is referred to in CMakeError.log as "undefined reference to `_strtoi64'"

Then the consol output turns red :

Code:
The imported target "Qt6::qwebengine_convert_dict" references the file
     "/usr/lib/qt6/libexec/qwebengine_convert_dict"
  but this file does not exist.
and further:

Code:
 Call Stack (most recent call first):
  /usr/lib/x86_64-linux-gnu/cmake/Qt6WebEngineCoreTools/Qt6WebEngineCoreToolsConfig.cmake:47 (include)
  /usr/lib/x86_64-linux-gnu/cmake/Qt6WebEngineCore/Qt6WebEngineCoreDependencies.cmake:76 (find_package)
  /usr/lib/x86_64-linux-gnu/cmake/Qt6WebEngineCore/Qt6WebEngineCoreConfig.cmake:50 (include)
  /usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake:219 (find_package)
  src/qt6sigil.cmake:27 (find_package)
  src/CMakeLists.txt:685 (include)
and then in orange color:

Code:
CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake:219 (find_package):
  Found package configuration file:
    /usr/lib/x86_64-linux-gnu/cmake/Qt6WebEngineCore/Qt6WebEngineCoreConfig.cmake

  but it set Qt6WebEngineCore_FOUND to FALSE so package "Qt6WebEngineCore" is
  considered to be NOT FOUND.
Call Stack (most recent call first):
  src/qt6sigil.cmake:27 (find_package)
  src/CMakeLists.txt:685 (include)
I guess this last bit about Qt6WebEngineCore says something about the naming conventions. I do have qt6-webengine-dev installed.
philja is offline   Reply With Quote