###対象のソフト
「Shotcut」
Shotcut(GitHub)
###質問
Raspberry PiでGitHubから、ビデオ編集ソフトのShotcutというソフトのソースコードを落としました。その後、Qt CreatorでQtの不足しているモジュールがないか確認し、
bash
1qmake && make
と入力し、ビルドを開始させました。すると途中で、以下のようなエラーメッセージが表示されます。
ライブラリー等が不足しているわけでもないのに、(文法的な面で?)エラーが発生してしまいます。それらしいpatchなど公開されていなかったので少し困っています。こういうときの対処をご存じの方がいらっしゃいましたら教えていただけませんか?
###エラーメッセージ
gcc
1operator: [-Wdelete-incomplete] 2 delete m_gl32; 3 ^~~~~~ 4glwidget.cpp:872:12: warning: invalid use of incomplete type ‘class QOpenGLFunctions_3_2_Core’ 5In file included from glwidget.cpp:30:0: 6glwidget.h:35:7: note: forward declaration of ‘class QOpenGLFunctions_3_2_Core’ 7 class QOpenGLFunctions_3_2_Core; 8 ^~~~~~~~~~~~~~~~~~~~~~~~~ 9glwidget.cpp:872:12: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined 10 delete m_gl32; 11 ^~~~~~ 12glwidget.cpp: In member function ‘void Mlt::FrameRenderer::showFrame(Mlt::Frame)’: 13glwidget.cpp:926:17: error: ‘QOpenGLFunctions_1_1’ was not declared in this scope 14 QOpenGLFunctions_1_1* f = m_context->versionFunctions<QOpenGLFunctions_1_1>(); 15 ^~~~~~~~~~~~~~~~~~~~ 16glwidget.cpp:926:17: note: suggested alternative: ‘QOpenGLFunctions’ 17 QOpenGLFunctions_1_1* f = m_context->versionFunctions<QOpenGLFunctions_1_1>(); 18 ^~~~~~~~~~~~~~~~~~~~ 19 QOpenGLFunctions 20glwidget.cpp:926:39: error: ‘f’ was not declared in this scope 21 QOpenGLFunctions_1_1* f = m_context->versionFunctions<QOpenGLFunctions_1_1>(); 22 ^ 23glwidget.cpp:926:93: error: no matching function for call to ‘QOpenGLContext::versionFunctions<QOpenGLFunctions_1_1>()’ 24 QOpenGLFunctions_1_1* f = m_context->versionFunctions<QOpenGLFunctions_1_1>(); 25 ^ 26In file included from /usr/include/arm-linux-gnueabihf/qt5/QtGui/QtGui:45:0, 27 from /usr/include/arm-linux-gnueabihf/qt5/QtWidgets/QtWidgetsDepends:4, 28 from /usr/include/arm-linux-gnueabihf/qt5/QtWidgets/QtWidgets:3, 29 from glwidget.cpp:21: 30/usr/include/arm-linux-gnueabihf/qt5/QtGui/qopenglcontext.h:193:11: note: candidate: template<class TYPE> TYPE* QOpenGLContext::versionFunctions() const 31 TYPE *versionFunctions() const 32 ^~~~~~~~~~~~~~~~ 33/usr/include/arm-linux-gnueabihf/qt5/QtGui/qopenglcontext.h:193:11: note: template argument deduction/substitution failed: 34glwidget.cpp:930:52: error: ‘GL_BGRA’ was not declared in this scope 35 f->glGetTexImage(GL_TEXTURE_2D, 0, GL_BGRA, GL_UNSIGNED_BYTE, image); 36 ^~~~~~~ 37glwidget.cpp:930:52: note: suggested alternative: ‘GL_RGBA’ 38 f->glGetTexImage(GL_TEXTURE_2D, 0, GL_BGRA, GL_UNSIGNED_BYTE, image); 39 ^~~~~~~ 40 GL_RGBA 41Makefile:2417: recipe for target 'glwidget.o' failed 42make[1]: *** [glwidget.o] Error 1 43make[1]: ディレクトリ '/home/user/path/to/shotcut/src' から出ます 44Makefile:71: recipe for target 'sub-src-make_first' failed 45make: *** [sub-src-make_first] Error 2 46
###バージョン情報
gcc version 7.4.0
Ubuntu MATE 18.04 for Raspberry Pi
Raspberry Pi3 B+
shotcut 19.04.30(おそらく最新版)

回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/05/14 08:44