Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

Linux-SDK fails to build

51

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
51

Linux-SDK fails to build

Posted at 7/19/2019 03:38:06      View:6235 | Replies:3        Print      Only Author   [Copy Link] 1#
There's this patch file...


package/qt5/qt5multimedia/0008-gsttools-videooverlay-Support-overriding-video-win-i.patch:+    QVideoWindowAbstractInterface *intf =
package/qt5/qt5multimedia/0008-gsttools-videooverlay-Support-overriding-video-win-i.patch:+        dynamic_cast<QVideoWindowAbstractInterface *>(window);
package/qt5/qt5multimedia/0011-gsttools-videowidget-Provide-widget-window-id-for-vi.patch:+class QGstreamerVideoWidget : public QWidget, public QVideoWindowAbstractInterface

which adds 'QVideoWindowAbstractInterface ' to  qgstreamervideooverlay.cpp in  linux-sdk/buildroot/output/rockchip_rk3399/build/qt5multimedia-5.6.3/src/gsttools/   which causes this error

make[4]: *** Waiting for unfinished jobs....
qgstreamervideooverlay.cpp: In function ‘QWindow* getVideoWindow(WId)’:
qgstreamervideooverlay.cpp:211:5: error: ‘QVideoWindowAbstractInterface’ was not declared in this scope
     QVideoWindowAbstractInterface *intf =
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
qgstreamervideooverlay.cpp:211:36: error: ‘intf’ was not declared in this scope
     QVideoWindowAbstractInterface *intf =
                                    ^~~~
qgstreamervideooverlay.cpp:212:22: error: ‘QVideoWindowAbstractInterface’ does not name a type
         dynamic_cast<QVideoWindowAbstractInterface *>(window);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
qgstreamervideooverlay.cpp:212:52: error: expected ‘>’ before ‘*’ token
         dynamic_cast<QVideoWindowAbstractInterface *>(window);
                                                    ^
qgstreamervideooverlay.cpp:212:52: error: expected ‘(’ before ‘*’ token
qgstreamervideooverlay.cpp:212:53: error: expected primary-expression before ‘>’ token
         dynamic_cast<QVideoWindowAbstractInterface *>(window);
                                                     ^
qgstreamervideooverlay.cpp:212:62: error: expected ‘)’ before ‘;’ token
         dynamic_cast<QVideoWindowAbstractInterface *>(window);
                                                              ^
make[4]: *** [Makefile:1070: .obj/qgstreamervideooverlay.o] Error 1
make[3]: *** [Makefile:150: sub-gsttools-make_first] Error 2
make[2]: *** [Makefile:45: sub-src-make_first] Error 2
make[1]: *** [package/pkg-generic.mk:250: /home/d3x0r/work/arm-dev/linux-sdk/buildroot/output/rockchip_rk3399/build/qt5multimedia-5.6.3/.stamp_built] Error 2
make: *** [/home/d3x0r/work/arm-dev/linux-sdk/buildroot/output/rockchip_rk3399/Makefile:16: _all] Error 2


I've grepped for QVideoWindowAbstractInterface in the entire tree, and can only find the moidifed sources and the patch file.

Reply

Use props Report

1396

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
1396
Posted at 7/25/2019 14:25:59        Only Author  2#
Please do a `repo sync` first before building.
The Qt version in the up-to-date Buildroot is 5.9.4 , FYI.
Reply

Use props Report

51

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
51
Posted at 8/3/2019 12:45:37        Only Author  3#
Okay, assuming I didn't, but did subsequently (and periodically) do repo sync after building?  How do I fix it?

Repo diff shows 0 differences...

As I was writing that, I realized, maybe you mean 'do it NOW'  so I did a sync and got some updates but it's still failing in the same area.


  1. qgstreamervideowidget.cpp:45:1: error: expected class-name before ‘{’ token
  2. {
  3. ^
  4. qgstreamervideowidget.cpp:83:9: error: ‘WId QGstreamerVideoWidget::videoWinId() const’ marked ‘override’, but does not override
  5.      WId videoWinId() const Q_DECL_OVERRIDE {
  6.          ^~~~~~~~~~
  7. qgstreamervideooverlay.cpp: In function ‘QWindow* getVideoWindow(WId)’:
  8. qgstreamervideooverlay.cpp:211:5: error: ‘QVideoWindowAbstractInterface’ was not declared in this scope
  9.      QVideoWindowAbstractInterface *intf =
  10.      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  11. qgstreamervideooverlay.cpp:211:36: error: ‘intf’ was not declared in this scope
  12.      QVideoWindowAbstractInterface *intf =
  13.                                     ^~~~
  14. qgstreamervideooverlay.cpp:212:22: error: ‘QVideoWindowAbstractInterface’ does not name a type
Copy the code


make[1]: *** [package/pkg-generic.mk:250: /home/d3x0r/work/arm-dev/linux-sdk/buildroot/output/rockchip_rk3399/build/qt5multimedia-5.6.3/.stamp_built] Error 2


This is biuldroot/packages/qt5/qtmultimedia
I guess last time I tried this was july 17 which is before this all started...

is there a stable tag point/checkpoint I can get back to?
In 'repo branches' there are no branches...



  1. Nov 15  2018 0001-qt5multimedia-qmlvideo-support-assigned-videosink.patch
  2. Nov 15  2018 0002-Avoid-X11-header-collision-when-x11-disabled.patch
  3. Nov 15  2018 0003-change-playbin-to-playbin3.patch
  4. Nov 15  2018 0004-qgstreamerplayersession-set-m_videoIdentity-drop-buf.patch
  5. Nov 15  2018 0005-qgstreamerplayersession-add-seek-direct-to-ensure-se.patch
  6. Jul 17 15:22 0006-gsttools-videowidget-Set-overlay-rectangle-when-resi.patch
  7. Jul 17 15:22 0007-gsttools-videooverlay-Support-waylandsink-in-the-rig.patch
  8. Jul 17 15:22 0008-gsttools-videooverlay-Support-overriding-video-win-i.patch
  9. Jul 17 15:22 0009-gsttools-videooverlay-Make-holes-for-kmssink-on-wayl.patch
  10. Jul 17 15:22 0010-gsttools-videowidget-Use-transparent-background.patch
  11. Jul 17 15:22 0011-gsttools-videowidget-Provide-widget-window-id-for-vi.patch
  12. Jul 17 15:22 0012-gstreamer-mediaplayer-Fix-hangs-when-replacing-pause.patch
  13. Nov 15  2018 Config.in
  14. Nov 15  2018 qt5multimedia.hash
  15. Jul 17 15:22 qt5multimedia.mk
Copy the code
Reply

Use props Report

4

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
4
Posted at 6/15/2021 10:51:28        Only Author  4#
Hello.Have you solved this problem? I have the same problem.
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list