[Live-devel] Regarding Compilation

ajay kashyap ajaykashyap87 at gmail.com
Tue Mar 8 23:10:28 PST 2011


Hi, This is my second post, am very thankful for the valuable
suggestion provided to my first post.
I have built the latest version of the live555, i was able to check
the test programs which played on vlc.
now am not able to edit these programs , Tough all the headers are
present in include folders am not able to compile the edited programs.
i have pasted the errors here, Pls check and help me.


[root at caserver testProgs]# g++ testMP3Streamer.cpp
testMP3Streamer.cpp:20:24: liveMedia.hh: No such file or directory
testMP3Streamer.cpp:21:30: GroupsockHelper.hh: No such file or directory
testMP3Streamer.cpp:23:36: BasicUsageEnvironment.hh: No such file or directory
testMP3Streamer.cpp:37: error: expected constructor, destructor, or
type conversion before "const"
testMP3Streamer.cpp:48: error: expected constructor, destructor, or
type conversion before '*' token
testMP3Streamer.cpp:53: error: ISO C++ forbids declaration of
`FramedSource' with no type
testMP3Streamer.cpp:53: error: expected `;' before '*' token
testMP3Streamer.cpp:54: error: ISO C++ forbids declaration of
`RTPSink' with no type
testMP3Streamer.cpp:54: error: expected `;' before '*' token
testMP3Streamer.cpp:55: error: ISO C++ forbids declaration of
`RTCPInstance' with no type
testMP3Streamer.cpp:55: error: expected `;' before '*' token
testMP3Streamer.cpp:56: error: ISO C++ forbids declaration of
`Groupsock' with no type
testMP3Streamer.cpp:56: error: expected `;' before '*' token
testMP3Streamer.cpp:57: error: ISO C++ forbids declaration of
`Groupsock' with no type
testMP3Streamer.cpp:57: error: expected `;' before '*' token
testMP3Streamer.cpp: In function `int main(int, char**)':
testMP3Streamer.cpp:66: error: `TaskScheduler' was not declared in this scope
testMP3Streamer.cpp:66: error: `scheduler' was not declared in this scope
testMP3Streamer.cpp:66: error: `BasicTaskScheduler' has not been declared
testMP3Streamer.cpp:66: error: `createNew' was not declared in this scope
testMP3Streamer.cpp:67: error: `env' was not declared in this scope
testMP3Streamer.cpp:67: error: `BasicUsageEnvironment' has not been declared
testMP3Streamer.cpp:84: error: aggregate `in_addr destinationAddress'
has incomplete type and cannot be defined
testMP3Streamer.cpp:85: error: `our_inet_addr' was not declared in this scope
testMP3Streamer.cpp:86: error: `Port' does not name a type
testMP3Streamer.cpp:87: error: `Port' does not name a type
testMP3Streamer.cpp:89: error: 'struct sessionState_t' has no member
named 'rtpGroupsock'
testMP3Streamer.cpp:90: error: `Groupsock' has not been declared
testMP3Streamer.cpp:90: error: `rtpPort' was not declared in this scope
testMP3Streamer.cpp:91: error: 'struct sessionState_t' has no member
named 'rtcpGroupsock'
testMP3Streamer.cpp:92: error: `Groupsock' has not been declared
testMP3Streamer.cpp:92: error: `rtcpPort' was not declared in this scope
testMP3Streamer.cpp:105: error: 'struct sessionState_t' has no member
named 'sink'
testMP3Streamer.cpp:106: error: `MPEG1or2AudioRTPSink' has not been declared
testMP3Streamer.cpp:106: error: 'struct sessionState_t' has no member
named 'rtpGroupsock'
testMP3Streamer.cpp:113: error: `gethostname' was not declared in this scope
testMP3Streamer.cpp:115: error: 'struct sessionState_t' has no member
named 'rtcpInstance'
testMP3Streamer.cpp:116: error: `RTCPInstance' has not been declared
testMP3Streamer.cpp:116: error: 'struct sessionState_t' has no member
named 'rtcpGroupsock'
testMP3Streamer.cpp:118: error: 'struct sessionState_t' has no member
named 'sink'
testMP3Streamer.cpp:118: error: `NULL' was not declared in this scope
testMP3Streamer.cpp:119: error: `isSSM' was not declared in this scope
testMP3Streamer.cpp: In function `void play()':
testMP3Streamer.cpp:152: error: 'struct sessionState_t' has no member
named 'source'
testMP3Streamer.cpp:152: error: `MP3FileSource' has not been declared
testMP3Streamer.cpp:152: error: `env' was not declared in this scope
testMP3Streamer.cpp:152: error: `createNew' was not declared in this scope
testMP3Streamer.cpp:153: error: 'struct sessionState_t' has no member
named 'source'
testMP3Streamer.cpp:153: error: `NULL' was not declared in this scope
testMP3Streamer.cpp:156: error: `exit' was not declared in this scope
testMP3Streamer.cpp:185: error: 'struct sessionState_t' has no member
named 'sink'
testMP3Streamer.cpp:185: error: 'struct sessionState_t' has no member
named 'source'
testMP3Streamer.cpp:185: error: `NULL' was not declared in this scope
testMP3Streamer.cpp: In function `void afterPlaying(void*)':
testMP3Streamer.cpp:190: error: `env' was not declared in this scope
testMP3Streamer.cpp:193: error: `Medium' has not been declared
testMP3Streamer.cpp:193: error: 'struct sessionState_t' has no member
named 'source'
testMP3Streamer.cpp:193: error: `close' was not declared in this scope
[root at caserver testProgs]


More information about the live-devel mailing list