qxmpp-project / qxmpp

Cross-platform C++ XMPP client and server library
400 stars 198 forks source link

Building with GStreamer undefined symbol errors #640

Open timakas opened 3 days ago

timakas commented 3 days ago

errors.txt CMakeLists.txt

When building QXmpp with GStreamer I am using gstreamer prebuilt arm64 libs. Cmake finds the gstreamer, glib, and gobject libraries properly, however after all objects get built and cmake tries this (100% Linking CXX shared library libQXmppQt6.so), I get a bunch of ld.lld: undefined symbol errors, specifically relating to gstreamer and glib. I was wondering, what qxmpp's list of gstreamer dependencies are? I'm quite new to gstreamer, so any help would be greatly appreciated.

The errors and my build CmakeLists.txt are attached.

Thanks :)

jbruechert commented 3 days ago

Looks like you are missing dependencies of glib. From what I can see in the log, libintl and pcre2. Depending on your environment, it might be easier to use some kind of package manager.

timakas commented 1 day ago

Thanks, I managed to get all the dependencies linked now.