curl-library
Problem with compiling the rtsp.c
Date: Wed, 28 Dec 2011 10:10:50 +0800
Hi
I used the simple example supplied by CURL
http://curl.haxx.se/libcurl/c/rtsp.html
when compiling it ,I've got the following errors
rtsp.c: In function 'rtsp_options':
rtsp.c:75: error: 'CURLOPT_RTSP_STREAM_URI' undeclared (first use in this
function)
rtsp.c:75: error: (Each undeclared identifier is reported only once
rtsp.c:75: error: for each function it appears in.)
rtsp.c:76: error: 'CURLOPT_RTSP_REQUEST' undeclared (first use in this
function)
rtsp.c:76: error: 'CURL_RTSPREQ_OPTIONS' undeclared (first use in this
function)
rtsp.c: In function 'rtsp_describe':
rtsp.c:96: error: 'CURLOPT_RTSP_REQUEST' undeclared (first use in this
function)
rtsp.c:96: error: 'CURL_RTSPREQ_DESCRIBE' undeclared (first use in this
function)
rtsp.c: In function 'rtsp_setup':
rtsp.c:110: error: 'CURLOPT_RTSP_STREAM_URI' undeclared (first use in this
function)
rtsp.c:111: error: 'CURLOPT_RTSP_TRANSPORT' undeclared (first use in this
function)
rtsp.c:112: error: 'CURLOPT_RTSP_REQUEST' undeclared (first use in this
function)
rtsp.c:112: error: 'CURL_RTSPREQ_SETUP' undeclared (first use in this
function)
rtsp.c: In function 'rtsp_play':
rtsp.c:122: error: 'CURLOPT_RTSP_STREAM_URI' undeclared (first use in this
function)
rtsp.c:124: error: 'CURLOPT_RTSP_REQUEST' undeclared (first use in this
function)
rtsp.c:124: error: 'CURL_RTSPREQ_PLAY' undeclared (first use in this
function)
rtsp.c: In function 'rtsp_teardown':
rtsp.c:134: error: 'CURLOPT_RTSP_REQUEST' undeclared (first use in this
function)
rtsp.c:134: error: 'CURL_RTSPREQ_TEARDOWN' undeclared (first use in this
function)
Any suggestion
Kind regards
Gabriel
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-12-28