1.BasicUsageEnvironment与liveMedia两个模块中的abort()函数编译时,提示无定义,原因未明,直接注释。
2.liveMedia模块编译时还会提示3个以下错误:
1>./ByteStreamFileSource.cpp(93) : error C2664: ''TaskScheduler::turnOffBackgroundReadHandling'' : cannot convert parameter 1 from ''void *'' to ''int''
1> There is no context in which this conversion is possible
1>./ByteStreamFileSource.cpp(111) : error C2664: ''TaskScheduler::turnOnBackgroundReadHandling'' : cannot convert parameter 1 from ''void *'' to ''int
'' 1> There is no context in which this conversion is possible
1>./ByteStreamFileSource.cpp(119) : error C2664: ''TaskScheduler::turnOffBackgroundReadHandling'' : cannot convert parameter 1 from ''void *'' to ''int'' 直接强制转换即可
3.wince 不支持setlocal函数,需要在工程配置中加入 宏定义LOCALE_NOT_USED。
4.需要链接静态库,Ws2.lib