[MPlayer-dev-eng] Re: UPDATED: A RTSP/ RTP streaming patch for "mplayer"

Ross Finlayson finlayson at live.com
Mon Aug 5 20:14:52 CEST 2002


>This is not a c++ issue. The live.com library has code like:
>
>#ifndef __BORLANDC__
>         extern int errno;
>#endif
>         if (errno == 0) {
>                 errno = WSAGetLastError();
>         }
>
>(from live/groupsock/GroupsockHelper.cpp)

Whoa!  That code is inside a

#if defined(__WIN32__) || defined(_WIN32)
#endif

pair.  So, if you're compiling for Unix, you shouldn't even be seeing that 
code! Do you happen to define "__WIN32__" or "_WIN32"?  If so, why???

Those of you who are trying to use the LIVE.COM code, but are having 
trouble with C++: Please first make sure that you can build the various 
test programs in the LIVE.COM "testProgs" directory.  If you can do this 
without problems, then you'l probably be able to build "mplayer" also.

         Ross.




More information about the MPlayer-dev-eng mailing list