# OSX: qgroundcontrol compiling errors

**URL:** <https://discuss.px4.io/t/osx-qgroundcontrol-compiling-errors/40776>\
**Category:** QGroundControl\
**Created:** [September 18, 2024, 9:58am UTC](https://discuss.px4.io/t/osx-qgroundcontrol-compiling-errors/40776 "2024-09-18T09:58:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevindsp](https://discuss.px4.io/user_avatar/discuss.px4.io/kevindsp/32/5192_2.png) [@kevindsp](https://discuss.px4.io/u/kevindsp)\
**Post date:** [September 18, 2024, 9:58am UTC](https://discuss.px4.io/t/osx-qgroundcontrol-compiling-errors/40776/1 "2024-09-18T09:58:21Z")

</div>

I have tried to compile the latest qgroundcontrol with the new installed QT creator on my OSX many times. But it fails as below everytimes. How can I fix it? Thank you.  
…

gstreamer\_good\_plugins-src/ext/qt6/gstplugin.cc.o.d -o src/VideoManager/VideoReceiver/GStreamer/qmlglsink/CMakeFiles/qmlglsink.dir/ **/** / **/** /**/\_deps/gstreamer\_good\_plugins-src/ext/qt6/gstplugin.cc.o -c /Users/kevin/qgroundcontrol/build/Qt\_6\_6\_3\_for\_macOS-Release/\_deps/gstreamer\_good\_plugins-src/ext/qt6/gstplugin.cc  
In file included from /Users/kevin/qgroundcontrol/build/Qt\_6\_6\_3\_for\_macOS-Release/\_deps/gstreamer\_good\_plugins-src/ext/qt6/gstplugin.cc:25:  
/Users/kevin/qgroundcontrol/build/Qt\_6\_6\_3\_for\_macOS-Release/\_deps/gstreamer\_good\_plugins-src/ext/qt6/gstqt6elements.h:29:1: error: unknown type name ‘GST\_ELEMENT\_REGISTER\_DECLARE’  
GST\_ELEMENT\_REGISTER\_DECLARE (qml6glsink);  
^  
1 error generated.  
………**  
In file included from /Users/kevin/qgroundcontrol/build/Qt\_6\_6\_3\_for\_macOS-Release/\_deps/gstreamer\_good\_plugins-src/ext/qt6/gstqml6glsink.cc:75:  
/Users/kevin/qgroundcontrol/build/Qt\_6\_6\_3\_for\_macOS-Release/\_deps/gstreamer\_good\_plugins-src/ext/qt6/gstqt6elements.h:29:1: error: unknown type name ‘GST\_ELEMENT\_REGISTER\_DECLARE’  
GST\_ELEMENT\_REGISTER\_DECLARE (qml6glsink);  
^  
/Users/kevin/qgroundcontrol/build/Qt\_6\_6\_3\_for\_macOS-Release/\_deps/gstreamer\_good\_plugins-src/ext/qt6/gstqml6glsink.cc:141:1: error: C++ requires a type specifier for all declarations  
GST\_ELEMENT\_REGISTER\_DEFINE\_WITH\_CODE (qml6glsink, “qml6glsink”,  
^  
/Users/kevin/qgroundcontrol/build/Qt\_6\_6\_3\_for\_macOS-Release/\_deps/gstreamer\_good\_plugins-src/ext/qt6/gstqml6glsink.cc:142:61: error: use of undeclared identifier ‘plugin’  
GST\_RANK\_NONE, GST\_TYPE\_QML6\_GL\_SINK, qt6\_element\_init (plugin));  
^  
/Users/kevin/qgroundcontrol/build/Qt\_6\_6\_3\_for\_macOS-Release/\_deps/gstreamer\_good\_plugins-src/ext/qt6/gstqml6glsink.cc:581:10: error: no member named ‘send\_event\_simple’ in ‘\_GstNavigationInterface’  
iface-\>send\_event\_simple = gst\_qml6\_gl\_sink\_navigation\_send\_event;

4 errors generated.

…….

In file included from /Users/kevin/qgroundcontrol/build/Qt\_6\_6\_3\_for\_macOS-Release/\_deps/gstreamer\_good\_plugins-src/ext/qt6/gstqt6element.cc:25:

/Users/kevin/qgroundcontrol/build/Qt\_6\_6\_3\_for\_macOS-Release/\_deps/gstreamer\_good\_plugins-src/ext/qt6/gstqt6elements.h:29:1: error: unknown type name ‘GST\_ELEMENT\_REGISTER\_DECLARE’

GST\_ELEMENT\_REGISTER\_DECLARE (qml6glsink);

^

1 error generated.
