Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build issue with the latest veriosn #12182

Open
omid-esrafilian opened this issue Dec 9, 2024 · 4 comments
Open

Build issue with the latest veriosn #12182

omid-esrafilian opened this issue Dec 9, 2024 · 4 comments
Assignees

Comments

@omid-esrafilian
Copy link
Contributor

omid-esrafilian commented Dec 9, 2024

I have just rebased to the latest version, and since then, I am unable to build the code on either Linux or Windows.

In Linux, I get the following error:
error: Imported target "GStreamer::GStreamer"

And in Windows, this error:
error: Could NOT find GLIB2

It seems that the issue is related to GStreamer, which used to be optional.
I'm wondering if there is a way to exclude the GStreamer requirement when compiling the code.

Thanks

@HTRamsey
Copy link
Collaborator

HTRamsey commented Dec 9, 2024

It's still optional through QGC_ENABLE_GST_VIDEOSTREAMING. As long as you have gstreamer installed there shouldn't be an issue, unless you just don't want it

@omid-esrafilian
Copy link
Contributor Author

@HTRamsey
Thanks so much for your reply.
I disabled it, and it works now. Perhaps since GStreamer is optional to install, QGC_ENABLE_GST_VIDEOSTREAMING can be disabled by default to avoid getting such an error.

@HTRamsey
Copy link
Collaborator

HTRamsey commented Dec 9, 2024

Only issue with that is I think most people expect video to be included by default. Maybe we can do that once the QtMultimedia video receiver is working more reliably

@DonLakeFlyer
Copy link
Contributor

So the problem with missing glib2 still exists on windows. Need to figure out what is going on there. Would be good to start with a fresh Windows VM and works through the steps to see what is missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants