Gst RTSP server programming

前端 未结 4 1118
南旧
南旧 2021-01-20 09:21

I\'ve installed gst-rtsp-server and I wanted to try a simple code. But on compilation I\'m getting the following error:

In function `main\':
te         


        
4条回答
  •  北海茫月
    2021-01-20 09:35

    It appears that you have not linked to the lib. "Undefined reference" usually means that you have included the necessary header files but that the linker has not found the definitions.

    Try adding:

    `pkg-config gstreamer-rtsp-0.10 --libs` 
    

    to your linker invocation.

提交回复
热议问题