Problems with QT and gstreanmer

Source: Internet
Author: User

1. if an error occurs, it may be that when uct pcrf is installed, the related components are incomplete, and two errors are skipped.
1) curl/curl. h: no such file or directory
-- Possible cause is libcurl and related not fully installed, I encountered this error because libcurl4-gnutls-dev is missing
2) src/schemdes. h: 28: 37: Error: GST/interfaces/xoverlay. h: no such file or directory

-- Libgstreamer-related components are missing. This error does not occur during compilation after the libgstreamer-plugins-base0.10-dev is installed.

# Apt-Get install libgstreamer-plugins-base0.10-dev

2. When using gstreamer

Undefined reference to 'gst _ x_overlay_set_xwindow_id'

The cause is:
 

The header file where the stst_x_overlay_set_xwindow_id is located is # include <GST/interfaces/xoverlay. h>
This file contains The dynamic library libgstinterfaces-0.10.so is not explicitly loaded

Solution in code: blocks:
 Settings ==> compiler and debugger ==> linkersettings ==> linker Libraries
  => Add =>/usr/lib/libgstinterfaces-0.10.so

Or:

In .. Add libs + = to the Pro File/Usr/lib/libgstinterfaces-0.10.so

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.