|
我是这样在cygwin环境下编译live库的:
1。生成makefile文件,./genMakefiles cygwin,
2。make
显示如下:
$ make
cd liveMedia ; make
make[1]: Entering directory `/usr/local/src/live/liveMedia'
c++ -c -g -Iinclude -I../UsageEnvironment/include -I../groupsock/include -I. -O -DSOCKLEN_T=socklen_t -Wall -DBSD=1 Media.cpp
c++ -c -g -Iinclude -I../UsageEnvironment/include -I../groupsock/include -I. -O -DSOCKLEN_T=socklen_t -Wall -DBSD=1 MediaSource.cpp
c++ -c -g -Iinclude -I../UsageEnvironment/include -I../groupsock/include -I. -O -DSOCKLEN_T=socklen_t -Wall -DBSD=1 FramedSource.cpp
。
。
。
gcc -c -g -Iinclude -I../UsageEnvironment/include -I../groupsock/include -I. -O -DSOCKLEN_T=socklen_t -DUSE_OUR_BZERO=1 -D__CYGWIN__ our_md5hl.c
ld -o libliveMedia.a -L. -r -Bstatic \
Media.o MediaSource.o FramedSource.o FramedFileSource.o FramedFilter.o ByteStreamFileSource.o ByteStreamMultiFileSource.o BasicUDPSource.o DeviceSource.o AudioInputDevice.o WAVAudioFileSource.
o MPEG1or2Demux.o MPEG1or2DemuxedElementaryStream.o MPEGVideoStreamFramer.o MPEG1or2VideoStreamFramer.o MPEG1or2VideoStreamDiscreteFramer.o MPEG4VideoStreamFramer.o MPEG4VideoStreamDiscreteFramer.o MP
EGVideoStreamParser.o MPEG1or2AudioStreamFramer.o MPEG1or2AudioRTPSource.o MPEG4LATMAudioRTPSource.o MPEG4ESVideoRTPSource.o MPEG4GenericRTPSource.o MP3FileSource.o MP3HTTPSource.o MP3Transcoder.o MP3
ADU.o MP3ADUdescriptor.o MP3ADUinterleaving.o MP3ADUTranscoder.o MP3StreamState.o MP3Internals.o MP3InternalsHuffman.o MP3InternalsHuffmanTable.o MP3ADURTPSource.o MPEG1or2VideoRTPSource.o MPEG2Transp
ortStreamFromPESSource.o MPEG2TransportStreamFramer.o ADTSAudioFileSource.o AC3AudioStreamFramer.o AC3AudioRTPSource.o JPEGVideoSource.o AMRAudioSource.o AMRAudioFileSource.o InputFile.o MediaSink.o F
ileSink.o BasicUDPSink.o AMRAudioFileSink.o HTTPSink.o MPEG1or2AudioRTPSink.o MP3ADURTPSink.o MPEG1or2VideoRTPSink.o MPEG1or2VideoHTTPSink.o MPEG4LATMAudioRTPSink.o MPEG4GenericRTPSink.o MPEG4ESVideoR
TPSink.o AC3AudioRTPSink.o GSMAudioRTPSink.o H263plusVideoRTPSink.o JPEGVideoRTPSink.o SimpleRTPSink.o AMRAudioRTPSink.o OutputFile.o uLawAudioFilter.o RTPSource.o MultiFramedRTPSource.o SimpleRTPSour
ce.o PrioritizedRTPStreamSelector.o H261VideoRTPSource.o H263plusVideoRTPSource.o H264VideoRTPSource.o QCELPAudioRTPSource.o AMRAudioRTPSource.o JPEGVideoRTPSource.o RTPSink.o MultiFramedRTPSink.o Aud
ioRTPSink.o VideoRTPSink.o RTPInterface.o RTCP.o rtcp_from_spec.o RTSPServer.o RTSPClient.o SIPClient.o MediaSession.o ServerMediaSession.o PassiveServerMediaSubsession.o OnDemandServerMediaSubsession
.o FileServerMediaSubsession.o MPEG4VideoFileServerMediaSubsession.o WAVAudioFileServerMediaSubsession.o AMRAudioFileServerMediaSubsession.o MP3AudioFileServerMediaSubsession.o MPEG1or2VideoFileServer
MediaSubsession.o MPEG1or2FileServerDemux.o MPEG1or2DemuxedServerMediaSubsession.o MPEG2TransportFileServerMediaSubsession.o ADTSAudioFileServerMediaSubsession.o QuickTimeFileSink.o QuickTimeGenericRT
PSource.o AVIFileSink.o DarwinInjector.o BitVector.o StreamParser.o DigestAuthentication.o our_md5.o our_md5hl.o
Media.o: file not recognized: File format not recognized
make[1]: *** [libliveMedia.a] Error 1
make[1]: Leaving directory `/usr/local/src/live/liveMedia'
make: *** [liveMedia/libliveMedia.a] Error 2
这是什么原因引起的 啊?在liveMedia目录下我已经看见了刚刚生成的Media.o文件,怎么回显示文件格式无法recognized呢? |
|