Build in win: Unable to feed Input

Hey Devs,

I tried pulling the source code from git and to compile and build it on windows, i use MSYS2 MinGW64 to Install all dependencies using pacman.

attempt1:
finally while building the application, encountered few errors, finally the build has completed, and the shotcut.exe file opens the application but Unable to feed input file sample.

attempt 2: Build failed
The below is the build Log, kindly provide me solutions or other documentations to build

-- Building for: Ninja
-- The CXX compiler identification is GNU 13.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/msys64/mingw64/bin/c++.exe - 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
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Found WrapVulkanHeaders: C:/msys64/mingw64/include
-- Found PkgConfig: C:/msys64/mingw64/bin/pkg-config.exe (found version "2.2.0")
-- Checking for module 'mlt++-7>=7.22.0'
--   Found mlt++-7, version 7.22.0
-- Checking for module 'fftw3'
--   Found fftw3, version 3.3.10
CMake Deprecation Warning at CuteLogger/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/msys64/mingw64/bin/cc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- The following OPTIONAL packages have been found:

 * Vulkan
 * Qt6GuiTools (required version >= 6.7.0)
 * Qt6WidgetsTools (required version >= 6.7.0)
 * WrapVulkanHeaders
 * Qt6Charts (required version >= 6.4)
 * Qt6Multimedia (required version >= 6.4)
 * Qt6QmlTools (required version >= 6.7.0)
 * Qt6QuickControls2 (required version >= 6.4)
 * Qt6QuickWidgets (required version >= 6.4)
 * Qt6Sql (required version >= 6.4)
 * Qt6Xml (required version >= 6.4)
 * Qt6CoreTools (required version >= 6.7.0)
 * Qt6LinguistTools

-- The following REQUIRED packages have been found:

 * PkgConfig
 * Qt6Core
 * Qt6

-- The following OPTIONAL packages have not been found:

 * Qt6QmlCompilerPlusPrivate

-- Configuring done (14.8s)
-- Generating done (0.3s)
-- Build files have been written to: C:/forum-shotcut/shotcut/build

[laptop name] MINGW64 /c/forum-shotcut/shotcut/build
$ cmake --build .
[1/216] Generating shotcut_en.qm
Updating 'C:/forum-shotcut/shotcut/build/translations/shotcut_en.qm'...
    Generated 1 translation(s) (1 finished and 0 unfinished)
    Ignored 3270 untranslated source text(s)
[2/216] Generating shotcut_cs.qm
Updating 'C:/forum-shotcut/shotcut/build/translations/shotcut_cs.qm'...
    Generated 2950 translation(s) (2950 finished and 0 unfinished)
    Ignored 321 untranslated source text(s)
[3/216] Generating shotcut_de.qm
Updating 'C:/forum-shotcut/shotcut/build/translations/shotcut_de.qm'...
    Generated 2767 translation(s) (2767 finished and 0 unfinished)
    Ignored 504 untranslated source text(s)
[4/216] Generating shotcut_el.qm
Updating 'C:/forum-shotcut/shotcut/build/translations/shotcut_el.qm'...
    Generated 2558 translation(s) (2557 finished and 1 unfinished)
    Ignored 713 untranslated source text(s)
[5/216] Generating shotcut_es.qm
Updating 'C:/forum-shotcut/shotcut/build/translations/shotcut_es.qm'...
    Generated 3271 translation(s) (3271 finished and 0 unfinished)
[6/216] Generating shotcut_da.qm
Updating 'C:/forum-shotcut/shotcut/build/translations/shotcut_da.qm'...
    Generated 1872 translation(s) (1816 finished and 56 unfinished)
    Ignored 1399 untranslated source text(s)
[7/216] Generating shotcut_et.qm
Updating 'C:/forum-shotcut/shotcut/build/translations/shotcut_et.qm'...
    Generated 2079 translation(s) (2078 finished and 1 unfinished)
    Ignored 1192 untranslated source text(s)
[8/216] Generating shotcut_en_GB.qm
Updating 'C:/forum-shotcut/shotcut/build/translations/shotcut_en_GB.qm'...
    Generated 3271 translation(s) (3271 finished and 0 unfinished)
[9/216] Generating shotcut_ca.qm
Updating 'C:/forum-shotcut/shotcut/build/translations/shotcut_ca.qm'...
    Generated 1857 translation(s) (1850 finished and 7 unfinished)
    Ignored 1414 untranslated source text(s)
[10/216] Generating shotcut_ar.qm
Updating 'C:/forum-shotcut/shotcut/build/translations/shotcut_ar.qm'...
    Generated 2003 translation(s) (1994 finished and 9 unfinished)
    Ignored 1268 untranslated source text(s)
[11/216] Generating shotcut_fr.qm
Updating 'C:/forum-shotcut/shotcut/build/translations/shotcut_fr.qm'...
    Generated 2756 translation(s) (2756 finished and 0 unfinished)
    Ignored 515 untranslated source text(s)
[12/216] Generating shotcut_gd.qm
Updating 'C:/forum-shotcut/shotcut/build/translations/shotcut_gd.qm'...
    Generated 2486 translation(s) (2483 finished and 3 unfinished)
    Ignored 785 untranslated source text(s)
[13/216] Generating shotcut_fi.qm
Updating 'C:/forum-shotcut/shotcut/build/translations/shotcut_fi.qm'...
    Generated 1646 translation(s) (1641 finished and 5 unfinished)
    Ignored 1625 untranslated source text(s)
[14/216] Generating shotcut_gl.qm
Updating 'C:/forum-shotcut/shotcut/build/translations/shotcut_gl.qm'...
    Generated 2502 translation(s) (2502 finished and 0 unfinished)
    Ignored 769 untranslated source text(s)
[15/216] Generating shotcut_he_IL.qm
Updating 'C:/forum-shotcut/shotcut/build/translations/shotcut_he_IL.qm'...
    Generated 3029 translation(s) (3029 finished and 0 unfinished)
    Ignored 242 untranslated source text(s)
[16/216] Generating shotcut_hu.qm
Updating 'C:/forum-shotcut/shotcut/build/translations/shotcut_hu.qm'...
    Generated 2557 translation(s) (2557 finished and 0 unfinished)
    Ignored 714 untranslated source text(s)
[17/216] Generating shotcut_it.qm
Updating 'C:/forum-shotcut/shotcut/build/translations/shotcut_it.qm'...
    Generated 2640 translation(s) (2640 finished and 0 unfinished)
    Ignored 631 untranslated source text(s)
[18/216] Generating shotcut_ja.qm
Updating 'C:/forum-shotcut/shotcut/build/translations/shotcut_ja.qm'...
    Generated 2703 translation(s) (2703 finished and 0 unfinished)
    Ignored 568 untranslated source text(s)
[19/216] Generating shotcut_nb.qm
Updating 'C:/forum-shotcut/shotcut/build/translations/shotcut_nb.qm'...
    Generated 1295 translation(s) (1268 finished and 27 unfinished)
    Ignored 1976 untranslated source text(s)
[20/216] Generating shotcut_ko.qm
Updating 'C:/forum-shotcut/shotcut/build/translations/shotcut_ko.qm'...
    Generated 2878 translation(s) (2878 finished and 0 unfinished)
    Ignored 393 untranslated source text(s)
[21/216] Generating shotcut_ne.qm
Updating 'C:/forum-shotcut/shotcut/build/translations/shotcut_ne.qm'...
    Generated 1774 translation(s) (1757 finished and 17 unfinished)
    Ignored 1497 untranslated source text(s)
[22/216] Generating shotcut_nn.qm
Updating 'C:/forum-shotcut/shotcut/build/translations/shotcut_nn.qm'...
    Generated 2095 translation(s) (2095 finished and 0 unfinished)
    Ignored 1176 untranslated source text(s)
[23/216] Generating shotcut_nl.qm
Updating 'C:/forum-shotcut/shotcut/build/translations/shotcut_nl.qm'...
    Generated 1691 translation(s) (1663 finished and 28 unfinished)
    Ignored 1580 untranslated source text(s)
[24/216] Generating shotcut_pt_BR.qm
Updating 'C:/forum-shotcut/shotcut/build/translations/shotcut_pt_BR.qm'...
    Generated 2540 translation(s) (2540 finished and 0 unfinished)
    Ignored 731 untranslated source text(s)
[25/216] Generating shotcut_oc.qm
Updating 'C:/forum-shotcut/shotcut/build/translations/shotcut_oc.qm'...
    Generated 1483 translation(s) (1453 finished and 30 unfinished)
[31/216] Generating shotcut_sl.qm
Updating 'C:/forum-shotcut/shotcut/build/translations/shotcut_sl.qm'...
    Generated 2352 translation(s) (2352 finished and 0 unfinished)
    Ignored 919 untranslated source text(s)
[32/216] Generating shotcut_sk.qm
Updating 'C:/forum-shotcut/shotcut/build/translations/shotcut_sk.qm'...
    Generated 2641 translation(s) (2641 finished and 0 unfinished)
    Ignored 630 untranslated source text(s)
[33/216] Generating shotcut_sv.qm
Updating 'C:/forum-shotcut/shotcut/build/translations/shotcut_sv.qm'...
    Generated 1232 translation(s) (1221 finished and 11 unfinished)
    Ignored 2039 untranslated source text(s)
[34/216] Generating shotcut_th.qm
Updating 'C:/forum-shotcut/shotcut/build/translations/shotcut_th.qm'...
    Generated 1615 translation(s) (1598 finished and 17 unfinished)
    Ignored 1656 untranslated source text(s)
[35/216] Generating shotcut_zh_CN.qm
Updating 'C:/forum-shotcut/shotcut/build/translations/shotcut_zh_CN.qm'...
    Generated 2932 translation(s) (2932 finished and 0 unfinished)
    Ignored 339 untranslated source text(s)
[36/216] Generating shotcut_tr.qm
Updating 'C:/forum-shotcut/shotcut/build/translations/shotcut_tr.qm'...
    Generated 3271 translation(s) (3271 finished and 0 unfinished)
[37/216] Generating shotcut_uk.qm
Updating 'C:/forum-shotcut/shotcut/build/translations/shotcut_uk.qm'...
    Generated 3197 translation(s) (3197 finished and 0 unfinished)
    Ignored 74 untranslated source text(s)
[38/216] Generating shotcut_zh_TW.qm
Updating 'C:/forum-shotcut/shotcut/build/translations/shotcut_zh_TW.qm'...
    Generated 2722 translation(s) (2722 finished and 0 unfinished)
    Ignored 549 untranslated source text(s)
[61/216] Building CXX object src/CMakeFiles/shotcut.dir/commands/undohelper.cpp.obj
C:/forum-shotcut/shotcut/src/commands/undohelper.cpp: In member function 'void UndoHelper::restoreAffectedTracks()':
C:/forum-shotcut/shotcut/src/commands/undohelper.cpp:338:43: warning: 'constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QSet<int>; typename std::add_const<_Tp>::type = const QSet<int>]' is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  338 |     for (const auto &trackIndex : qAsConst(m_affectedTracks)) {
      |                                   ~~~~~~~~^~~~~~~~~~~~~~~~~~
In file included from C:/msys64/mingw64/include/qt6/QtCore/qforeach.h:11,
                 from C:/msys64/mingw64/include/qt6/QtCore/qglobal.h:57,
                 from C:/msys64/mingw64/include/qt6/QtCore/qalgorithms.h:11,
                 from C:/msys64/mingw64/include/qt6/QtCore/qhash.h:8,
                 from C:/msys64/mingw64/include/qt6/QtCore/qabstractitemmodel.h:8,
                 from C:/msys64/mingw64/include/qt6/QtCore/QAbstractItemModel:1,
                 from C:/forum-shotcut/shotcut/src/models/multitrackmodel.h:21,
                 from C:/forum-shotcut/shotcut/src/commands/undohelper.h:21,
                 from C:/forum-shotcut/shotcut/src/commands/undohelper.cpp:18:
C:/msys64/mingw64/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
C:/forum-shotcut/shotcut/src/commands/undohelper.cpp:352:36: warning: 'constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<QUuid>; typename std::add_const<_Tp>::type = const QList<QUuid>]' is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  352 |     for (const auto &uid : qAsConst(m_insertedOrder)) {
      |                            ~~~~~~~~^~~~~~~~~~~~~~~~~
C:/msys64/mingw64/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
C:/forum-shotcut/shotcut/src/commands/undohelper.cpp:394:43: warning: 'constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QSet<int>; typename std::add_const<_Tp>::type = const QSet<int>]' is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  394 |     for (const auto &trackIndex : qAsConst(m_affectedTracks)) {
      |                                   ~~~~~~~~^~~~~~~~~~~~~~~~~~
C:/msys64/mingw64/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
[102/216] Building CXX object src/CMakeFiles/shotcut.dir/models/actionsmodel.cpp.obj
C:/forum-shotcut/shotcut/src/models/actionsmodel.cpp: In member function 'virtual bool ActionsModel::setData(const QModelIndex&, const QVariant&, int)':
C:/forum-shotcut/shotcut/src/models/actionsmodel.cpp:182:37: warning: 'constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<QAction*>; typename std::add_const<_Tp>::type = const QList<QAction*>]' is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  182 |         for (const auto a : qAsConst(m_actions)) {
      |                             ~~~~~~~~^~~~~~~~~~~
In file included from C:/msys64/mingw64/include/qt6/QtCore/qforeach.h:11,
                 from C:/msys64/mingw64/include/qt6/QtCore/qglobal.h:57,
                 from C:/msys64/mingw64/include/qt6/QtCore/qalgorithms.h:11,
                 from C:/msys64/mingw64/include/qt6/QtCore/qhash.h:8,
                 from C:/msys64/mingw64/include/qt6/QtCore/qabstractitemmodel.h:8,
                 from C:/msys64/mingw64/include/qt6/QtCore/QAbstractItemModel:1,
                 from C:/forum-shotcut/shotcut/src/models/actionsmodel.h:21,
                 from C:/forum-shotcut/shotcut/src/models/actionsmodel.cpp:18:
C:/msys64/mingw64/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
[108/216] Building CXX object src/CMakeFiles/shotcut.dir/models/markersmodel.cpp.obj
C:/forum-shotcut/shotcut/src/models/markersmodel.cpp: In member function 'void MarkersModel::doShift(int, int)':
C:/forum-shotcut/shotcut/src/models/markersmodel.cpp:331:37: warning: 'constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<int>; typename std::add_const<_Tp>::type = const QList<int>]' is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  331 |         for (const auto i : qAsConst(m_keys)) {
      |                             ~~~~~~~~^~~~~~~~
In file included from C:/msys64/mingw64/include/qt6/QtCore/qforeach.h:11,
                 from C:/msys64/mingw64/include/qt6/QtCore/qglobal.h:57,
                 from C:/msys64/mingw64/include/qt6/QtCore/qalgorithms.h:11,
                 from C:/msys64/mingw64/include/qt6/QtCore/qhash.h:8,
                 from C:/msys64/mingw64/include/qt6/QtCore/qabstractitemmodel.h:8,
                 from C:/msys64/mingw64/include/qt6/QtCore/QAbstractItemModel:1,
                 from C:/forum-shotcut/shotcut/src/models/markersmodel.h:23,
                 from C:/forum-shotcut/shotcut/src/models/markersmodel.cpp:18:
C:/msys64/mingw64/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
C:/forum-shotcut/shotcut/src/models/markersmodel.cpp: In member function 'int MarkersModel::markerIndexForPosition(int)':
C:/forum-shotcut/shotcut/src/models/markersmodel.cpp:458:37: warning: 'constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<int>; typename std::add_const<_Tp>::type = const QList<int>]' is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  458 |         for (const auto i : qAsConst(m_keys)) {
      |                             ~~~~~~~~^~~~~~~~
C:/msys64/mingw64/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
C:/forum-shotcut/shotcut/src/models/markersmodel.cpp: In member function 'int MarkersModel::markerIndexForRange(int, int)':
C:/forum-shotcut/shotcut/src/models/markersmodel.cpp:474:37: warning: 'constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<int>; typename std::add_const<_Tp>::type = const QList<int>]' is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  474 |         for (const auto i : qAsConst(m_keys)) {
      |                             ~~~~~~~~^~~~~~~~
C:/msys64/mingw64/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
C:/forum-shotcut/shotcut/src/models/markersmodel.cpp: In member function 'int MarkersModel::rangeMarkerIndexForPosition(int)':
C:/forum-shotcut/shotcut/src/models/markersmodel.cpp:490:37: warning: 'constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<int>; typename std::add_const<_Tp>::type = const QList<int>]' is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  490 |         for (const auto i : qAsConst(m_keys)) {
      |                             ~~~~~~~~^~~~~~~~
C:/msys64/mingw64/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
C:/forum-shotcut/shotcut/src/models/markersmodel.cpp: In member function 'int MarkersModel::nextMarkerPosition(int)':
C:/forum-shotcut/shotcut/src/models/markersmodel.cpp:512:37: warning: 'constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<int>; typename std::add_const<_Tp>::type = const QList<int>]' is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  512 |         for (const auto i : qAsConst(m_keys)) {
      |                             ~~~~~~~~^~~~~~~~
C:/msys64/mingw64/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
C:/forum-shotcut/shotcut/src/models/markersmodel.cpp: In member function 'int MarkersModel::prevMarkerPosition(int)':
C:/forum-shotcut/shotcut/src/models/markersmodel.cpp:538:37: warning: 'constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<int>; typename std::add_const<_Tp>::type = const QList<int>]' is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  538 |         for (const auto i : qAsConst(m_keys)) {
      |                             ~~~~~~~~^~~~~~~~
C:/msys64/mingw64/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
C:/forum-shotcut/shotcut/src/models/markersmodel.cpp: In member function 'QMap<int, QString> MarkersModel::ranges()':
C:/forum-shotcut/shotcut/src/models/markersmodel.cpp:565:37: warning: 'constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<int>; typename std::add_const<_Tp>::type = const QList<int>]' is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  565 |         for (const auto i : qAsConst(m_keys)) {
      |                             ~~~~~~~~^~~~~~~~
C:/msys64/mingw64/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
C:/forum-shotcut/shotcut/src/models/markersmodel.cpp: In member function 'QList<Markers::Marker> MarkersModel::getMarkers() const':
C:/forum-shotcut/shotcut/src/models/markersmodel.cpp:591:37: warning: 'constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const QList<int>; typename std::add_const<_Tp>::type = const QList<int>]' is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  591 |         for (const auto i : qAsConst(m_keys)) {
      |                             ~~~~~~~~^~~~~~~~
C:/msys64/mingw64/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
[117/216] Building CXX object src/CMakeFiles/shotcut.dir/main.cpp.obj
FAILED: src/CMakeFiles/shotcut.dir/main.cpp.obj
C:\msys64\mingw64\bin\c++.exe -DMINGW_HAS_SECURE_API=1 -DQT_CHARTS_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIA_LIB -DQT_NEEDS_QMAIN -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_OPENGLWIDGETS_LIB -DQT_OPENGL_LIB -DQT_QMLBUILTINS_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICKCONTROLS2_LIB -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DSHOTCUT_VERSION=\"24.05.02\" -DUNICODE -DWIN32 -DWIN64 -DWINVER=0x0A00 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN32_WINNT=0x0A00 -D_WIN64 -IC:/forum-shotcut/shotcut/build/src -IC:/forum-shotcut/shotcut/src -IC:/forum-shotcut/shotcut/build/src/shotcut_autogen/include -IC:/forum-shotcut/shotcut/CuteLogger/include -IC:/forum-shotcut/shotcut/drmingw/include -isystem C:/msys64/mingw64/include/qt6/QtCore -isystem C:/msys64/mingw64/include/qt6 -isystem C:/msys64/mingw64/share/qt6/mkspecs/win32-g++ -isystem C:/msys64/mingw64/include/mlt-7/mlt++ -isystem C:/msys64/mingw64/include/mlt-7 -isystem C:/msys64/mingw64/include/qt6/QtCharts -isystem C:/msys64/mingw64/include/qt6/QtGui -isystem C:/msys64/mingw64/include/qt6/QtWidgets -isystem C:/msys64/mingw64/include/qt6/QtOpenGL -isystem C:/msys64/mingw64/include/qt6/QtOpenGLWidgets -isystem C:/msys64/mingw64/include/qt6/QtMultimedia -isystem C:/msys64/mingw64/include/qt6/QtNetwork -isystem C:/msys64/mingw64/include/qt6/QtQuickControls2 -isystem C:/msys64/mingw64/include/qt6/QtQuick -isystem C:/msys64/mingw64/include/qt6/QtQml -isystem C:/msys64/mingw64/include/qt6/QtQmlIntegration -isystem C:/msys64/mingw64/include/qt6/QtQmlBuiltins -isystem C:/msys64/mingw64/include/qt6/QtQmlModels -isystem C:/msys64/mingw64/include/qt6/QtQuickWidgets -isystem C:/msys64/mingw64/include/qt6/QtSql -isystem C:/msys64/mingw64/include/qt6/QtXml -std=c++17 -MD -MT src/CMakeFiles/shotcut.dir/main.cpp.obj -MF src\CMakeFiles\shotcut.dir\main.cpp.obj.d -o src/CMakeFiles/shotcut.dir/main.cpp.obj -c C:/forum-shotcut/shotcut/src/main.cpp
C:/forum-shotcut/shotcut/src/main.cpp:44:27: error: 'DWORD' does not name a type; did you mean 'LOWORD'?
   44 |     __declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
      |                           ^~~~~
      |                           LOWORD
C:/forum-shotcut/shotcut/src/main.cpp:45:27: error: 'DWORD' does not name a type; did you mean 'LOWORD'?
   45 |     __declspec(dllexport) DWORD AmdPowerXpressRequestHighPerformance = 0x00000001;
      |                           ^~~~~
      |                           LOWORD
In file included from C:/msys64/mingw64/include/winbase.h:13,
                 from C:/forum-shotcut/shotcut/src/main.cpp:118:
C:/msys64/mingw64/include/minwinbase.h: In constructor 'Application::Application(int&, char**)':
C:/msys64/mingw64/include/minwinbase.h:5:8: error: expected unqualified-id before string constant
    5 | extern "C" {
      |        ^~~
In file included from C:/msys64/mingw64/include/bemapiset.h:8,
                 from C:/msys64/mingw64/include/winbase.h:14:
C:/msys64/mingw64/include/apiset.h:12:8: error: expected unqualified-id before string constant
   12 | extern "C" {
      |        ^~~
In file included from C:/msys64/mingw64/include/minwindef.h:6,
                 from C:/msys64/mingw64/include/bemapiset.h:10:
C:/msys64/mingw64/include/specstrings.h:18:8: error: expected unqualified-id before string constant
   18 | extern "C" {
      |        ^~~
C:/msys64/mingw64/include/minwindef.h:19:8: error: expected unqualified-id before string constant
   19 | extern "C" {
      |        ^~~
C:/msys64/mingw64/include/bemapiset.h:14:8: error: expected unqualified-id before string constant
   14 | extern "C" {
      |        ^~~
In file included from C:/msys64/mingw64/include/winbase.h:15:
C:/msys64/mingw64/include/debugapi.h:14:8: error: expected unqualified-id before string constant
   14 | extern "C" {
      |        ^~~
In file included from C:/msys64/mingw64/include/winbase.h:16:
C:/msys64/mingw64/include/errhandlingapi.h:13:8: error: expected unqualified-id before string constant
   13 | extern "C" {
      |        ^~~
In file included from C:/msys64/mingw64/include/winbase.h:17:
C:/msys64/mingw64/include/fibersapi.h:13:8: error: expected unqualified-id before string constant
   13 | extern "C" {
      |        ^~~
In file included from C:/msys64/mingw64/include/winbase.h:18:
C:/msys64/mingw64/include/fileapi.h:14:8: error: expected unqualified-id before string constant
   14 | extern "C" {
      |        ^~~
In file included from C:/msys64/mingw64/include/winbase.h:19:
C:/msys64/mingw64/include/handleapi.h:13:8: error: expected unqualified-id before string constant
   13 | extern "C" {
      |        ^~~
In file included from C:/msys64/mingw64/include/winbase.h:20:
C:/msys64/mingw64/include/heapapi.h:14:8: error: expected unqualified-id before string constant
   14 | extern "C" {
      |        ^~~
In file included from C:/msys64/mingw64/include/winbase.h:21:
C:/msys64/mingw64/include/ioapiset.h:14:8: error: expected unqualified-id before string constant
   14 | extern "C" {
      |        ^~~
In file included from C:/msys64/mingw64/include/winbase.h:22:
C:/msys64/mingw64/include/interlockedapi.h:13:8: error: expected unqualified-id before string constant
   13 | extern "C" {
      |        ^~~
In file included from C:/msys64/mingw64/include/winbase.h:23:
C:/msys64/mingw64/include/jobapi.h:14:8: error: expected unqualified-id before string constant
   14 | extern "C" {
      |        ^~~
In file included from C:/msys64/mingw64/include/winbase.h:24:
C:/msys64/mingw64/include/libloaderapi.h:14:8: error: expected unqualified-id before string constant
   14 | extern "C" {
      |        ^~~
In file included from C:/msys64/mingw64/include/winbase.h:25:
C:/msys64/mingw64/include/memoryapi.h:14:8: error: expected unqualified-id before string constant
   14 | extern "C" {
      |        ^~~
In file included from C:/msys64/mingw64/include/winbase.h:26:
C:/msys64/mingw64/include/namedpipeapi.h:14:8: error: expected unqualified-id before string constant
   14 | extern "C" {
      |        ^~~
In file included from C:/msys64/mingw64/include/winbase.h:27:
C:/msys64/mingw64/include/namespaceapi.h:14:8: error: expected unqualified-id before string constant
   14 | extern "C" {
      |        ^~~
In file included from C:/msys64/mingw64/include/winbase.h:28:
C:/msys64/mingw64/include/processenv.h:14:8: error: expected unqualified-id before string constant
   14 | extern "C" {
      |        ^~~
In file included from C:/msys64/mingw64/include/winbase.h:29:
C:/msys64/mingw64/include/processthreadsapi.h:14:8: error: expected unqualified-id before string constant
   14 | extern "C" {
      |        ^~~
In file included from C:/msys64/mingw64/include/winbase.h:30:
C:/msys64/mingw64/include/processtopologyapi.h:14:8: error: expected unqualified-id before string constant
   14 | extern "C" {
      |        ^~~
In file included from C:/msys64/mingw64/include/winbase.h:31:
C:/msys64/mingw64/include/profileapi.h:13:8: error: expected unqualified-id before string constant
   13 | extern "C" {
      |        ^~~
In file included from C:/msys64/mingw64/include/winbase.h:32:
C:/msys64/mingw64/include/realtimeapiset.h:13:8: error: expected unqualified-id before string constant
   13 | extern "C" {
      |        ^~~
In file included from C:/msys64/mingw64/include/winbase.h:33:
C:/msys64/mingw64/include/securityappcontainer.h:15:8: error: expected unqualified-id before string constant
   15 | extern "C" {
      |        ^~~
In file included from C:/msys64/mingw64/include/winbase.h:34:
C:/msys64/mingw64/include/securitybaseapi.h:14:8: error: expected unqualified-id before string constant
   14 | extern "C" {
      |        ^~~
In file included from C:/msys64/mingw64/include/winbase.h:35:
C:/msys64/mingw64/include/synchapi.h:14:8: error: expected unqualified-id before string constant
   14 | extern "C" {
      |        ^~~
In file included from C:/msys64/mingw64/include/winbase.h:36:
C:/msys64/mingw64/include/sysinfoapi.h:14:8: error: expected unqualified-id before string constant
   14 | extern "C" {
      |        ^~~
In file included from C:/msys64/mingw64/include/winbase.h:37:
C:/msys64/mingw64/include/systemtopologyapi.h:14:8: error: expected unqualified-id before string constant
   14 | extern "C" {
      |        ^~~
In file included from C:/msys64/mingw64/include/winbase.h:38:
C:/msys64/mingw64/include/threadpoolapiset.h:14:8: error: expected unqualified-id before string constant
   14 | extern "C" {
      |        ^~~
In file included from C:/msys64/mingw64/include/winbase.h:39:
C:/msys64/mingw64/include/threadpoollegacyapiset.h:14:8: error: expected unqualified-id before string constant
   14 | extern "C" {
      |        ^~~
In file included from C:/msys64/mingw64/include/winbase.h:40:
C:/msys64/mingw64/include/utilapiset.h:13:8: error: expected unqualified-id before string constant
   13 | extern "C" {
      |        ^~~
In file included from C:/msys64/mingw64/include/winbase.h:41:
C:/msys64/mingw64/include/wow64apiset.h:14:8: error: expected unqualified-id before string constant
   14 | extern "C" {
      |        ^~~
In file included from C:/msys64/mingw64/include/winbase.h:49:
C:/msys64/mingw64/include/psdk_inc/intrin-impl.h:579:8: error: expected unqualified-id before string constant
  579 | extern "C" {
      |        ^~~
C:/msys64/mingw64/include/winbase.h:53:8: error: expected unqualified-id before string constant
   53 | extern "C" {
      |        ^~~
C:/msys64/mingw64/include/winbase.h:3483:8: error: expected unqualified-id before string constant
 3483 | extern "C++" {
      |        ^~~~~
C:/forum-shotcut/shotcut/src/main.cpp:119:9: error: 'SetDllDirectoryA' was not declared in this scope; did you mean 'SetDllDirectory'?
  119 |         SetDllDirectoryA(appPath.toLocal8Bit());
      |         ^~~~~~~~~~~~~~~~
      |         SetDllDirectory
C:/forum-shotcut/shotcut/src/main.cpp:120:9: error: 'CreateMutexA' was not declared in this scope; did you mean 'CreateMutex'?
  120 |         CreateMutexA(NULL, FALSE, "Meltytech Shotcut Running Mutex");
      |         ^~~~~~~~~~~~
      |         CreateMutex
[130/216] Building CXX object src/CMakeFiles/shotcut.dir/mainwindow.cpp.obj
ninja: build stopped: subcommand failed.

I can reproduce this issue too

1 Like

@mags I submitted a patch to the MSYS2 package recipes shotcut: Update to 24.04.28 by hmartinez82 · Pull Request #21114 · msys2/MINGW-packages · GitHub

It’s just missing that inclusion of <Windows.h>

1 Like

Thanks @hmartinez , I have to resolved the Issue in May 2024 Itself, These

extern "C" {

Issue was solved after Adding the Windows header. Thanks for your reply

This topic was automatically closed after 90 days. New replies are no longer allowed.