https://bugs.kde.org/show_bug.cgi?id=471281

--- Comment #4 from mashkal2...@gmail.com <mashkal2...@gmail.com> ---
(In reply to mashkal2...@gmail.com from comment #3)
> Is there a specific commit of mlt that is known to work? I'm getting an
> error building mlt as a dependency for kdenlive
> ```
> + git clone https://github.com/mltframework/mlt.git
> Cloning into 'mlt'...
> + cd mlt
> + mkdir build
> + cd build
> + cmake .. -GNinja -DMOD_QT=OFF -DMOD_QT6=ON -DMOD_GLAXNIMATE=OFF
> -DMOD_GLAXNIMATE_QT6=ON
> -- The C compiler identification is GNU 14.2.0
> -- The CXX compiler identification is GNU 14.2.0
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working C compiler: /usr/bin/cc - skipped
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Check for working CXX compiler: /usr/bin/c++ - skipped
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
> -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
> -- Found Threads: TRUE
> -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1")
> -- Checking for module 'sdl2'
> --   Found sdl2, version 2.30.6
> -- Checking for module 'fftw3'
> --   Found fftw3, version 3.3.10
> -- Checking for module 'libexif'
> --   Package 'libexif', required by 'virtual:world', not found
> -- Checking for module 'fontconfig'
> --   Found fontconfig, version 2.15.0
> -- Checking for module 'libxml-2.0'
> --   Found libxml-2.0, version 2.12.7
> -- Checking for module 'libavformat'
> --   Found libavformat, version 61.1.100
> -- Checking for module 'libswscale'
> --   Found libswscale, version 8.1.100
> -- Checking for module 'libavutil'
> --   Found libavutil, version 59.8.100
> -- Checking for module 'libavcodec'
> --   Found libavcodec, version 61.3.100
> -- Checking for module 'libavfilter'
> --   Found libavfilter, version 10.1.100
> -- Checking for module 'libavdevice'
> --   Found libavdevice, version 61.1.100
> -- Checking for module 'libswresample'
> --   Found libswresample, version 5.1.100
> -- Checking for module 'frei0r'
> --   Package 'frei0r', required by 'virtual:world', not found
> -- Checking for module 'gdk-pixbuf-2.0'
> --   Package 'gdk-pixbuf-2.0', required by 'virtual:world', not found
> -- Found JACK: /usr/lib/x86_64-linux-gnu/libjack.so (found version "0.126.0")
> -- Checking for module 'glib-2.0'
> --   Found glib-2.0, version 2.82.1
> -- Looking for ladspa.h
> -- Looking for ladspa.h - not found
> -- Checking for module 'movit'
> --   Package 'movit', required by 'virtual:world', not found
> -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so
> -- Checking for module 'libebur128'
> --   Found libebur128, version 1.2.6
> -- Performing Test HAVE_STDATOMIC
> -- Performing Test HAVE_STDATOMIC - Success
> -- Found WrapAtomic: TRUE
> -- Found WrapOpenGL: TRUE
> -- Found XKB: /usr/lib/x86_64-linux-gnu/libxkbcommon.so (found suitable
> version "1.6.0", minimum required is "0.5.0")
> -- Found WrapVulkanHeaders: /usr/include
> -- Could NOT find Qt6Core5Compat (missing: Qt6Core5Compat_DIR)
> CMake Warning at CMakeLists.txt:317 (find_package):
>   Found package configuration file:
> 
>     /usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake
> 
>   but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
>   FOUND.  Reason given by package:
> 
>   Failed to find required Qt component "Core5Compat".
> 
>   Expected Config file at
>   "/usr/lib/x86_64-linux-gnu/cmake/Qt6Core5Compat/Qt6Core5CompatConfig.cmake"
>   does NOT exist
> 
> 
> 
>   Configuring with --debug-find-pkg=Qt6Core5Compat might reveal details why
>   the package was not found.
> 
>   Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
>   of the path variables that find_package uses to try and find the package.
> 
> 
> 
> -- Checking for module 'samplerate'
> --   Found samplerate, version 0.2.2
> -- Checking for module 'rtaudio'
> --   Found rtaudio, version 6.0.1
> -- Checking for module 'rubberband'
> --   Found rubberband, version 3.3.0
> -- Checking for module 'sdl'
> --   Found sdl, version 1.2.68
> -- Checking for module 'sox'
> --   Found sox, version 14.4.2
> -- Checking for module 'spatialaudio'
> --   Package 'spatialaudio', required by 'virtual:world', not found
> -- Checking for module 'vidstab'
> --   Package 'vidstab', required by 'virtual:world', not found
> -- Checking for module 'vorbis'
> --   Package 'vorbis', required by 'virtual:world', not found
> -- Checking for module 'vorbisfile'
> --   Package 'vorbisfile', required by 'virtual:world', not found
> -- Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR) 
> -- Could NOT find ClangFormat (missing: CLANGFORMAT_EXECUTABLE
> CLANGFORMAT_VERSION) (Required is exact version "14")
> CMake Error: File
> /mlt/src/modules/glaxnimate/glaxnimate/src/core/application_info_generated.
> in.hpp does not exist.
> CMake Error at src/modules/glaxnimate/CMakeLists.txt:160 (configure_file):
>   configure_file Problem configuring file
> Call Stack (most recent call first):
>   src/modules/glaxnimate/CMakeLists.txt:215 (mlt_add_glaxnimate_module)
> 
> 
> -- The following features have been enabled:
> 
>  * GPLv2
>  * GPLv3
>  * Module: avformat
>  * Module: DeckLink
>  * Module: Glaxnimate (Qt6)
>  * Module: JACKRack
>  * Module: Kdenlive
>  * Module: Normalize
>  * Module: Oldfilm
>  * Module: Plus
>  * Module: PlusGPL
>  * Module: Resample
>  * Module: RtAudio
>  * Module: Rubberband
>  * Module: SDL1
>  * Module: SDL2
>  * Module: SoX
>  * Module: XINE
>  * Module: XML
> 
> -- The following OPTIONAL packages have been found:
> 
>  * JACK
>  * Qt6CoreTools (required version >= 6.6.2)
>  * Qt6Core
>  * OpenGL
>  * XKB (required version >= 0.5.0), XKB API common to servers and clients.,
> <http://xkbcommon.org>
>  * Vulkan
>  * WrapVulkanHeaders
>  * Qt6GuiTools (required version >= 6.6.2)
>  * Qt6DBusTools (required version >= 6.6.2)
>  * Qt6Gui
>  * Qt6Xml
>  * Qt6WidgetsTools (required version >= 6.6.2)
>  * Qt6SvgWidgets
>  * Qt6Network
>  * Qt6
> 
> -- The following REQUIRED packages have been found:
> 
>  * Threads
>  * PkgConfig
> 
> -- The following features have been disabled:
> 
>  * Tests
>  * Doxygen
>  * Clang Format
>  * Module: Frei0r
>  * Module: GDK
>  * Module: Glaxnimate (Qt5)
>  * Module: NDI
>  * Module: OpenCV
>  * Module: Movit
>  * Module: Qt (Qt5)
>  * Module: Qt6
>  * Module: SpatialAudio
>  * Module: vid.stab
>  * Module: Vorbis
>  * SWIG: C#
>  * SWIG: Java
>  * SWIG: Lua
>  * SWIG: Node.js
>  * SWIG: Perl
>  * SWIG: PHP
>  * SWIG: Python
>  * SWIG: Ruby
>  * SWIG: Tcl
>  * lv2: LV2 Plugins support
>  * vst2: VST2 Plugins support
> 
> -- The following OPTIONAL packages have not been found:
> 
>  * Qt6Core5Compat
>  * SWIG
>  * ClangFormat (required version == 14)
> 
> -- Configuring incomplete, errors occurred!
> + [ 1 -ne 0 ]
> + printf Error: An error occurred\n
> Error: An error occurred
> ```
> Not sure why, since I installed all the qt6 packages listed on the kdenlive
> build info page
> ```
> # Qt6 modules
> additional_packages="qt6-base-dev qt6-svg-dev qt6-multimedia-dev
> qt6-networkauth-dev"
> additional_packages="qml6-module-qtqml-workerscript
> qml6-module-qtquick-window qml6-module-org-kde-desktop"
> ```
> Built with: `init_hooks="cmake .. -GNinja -DMOD_QT=OFF -DMOD_QT6=ON
> -DMOD_GLAXNIMATE=OFF -DMOD_GLAXNIMATE_QT6=ON"`

I should mention this is after installing libv4l-dev. Thanks for pointing out
that issue!

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to