Live555 are source-code libraries for standards-based RTP/RTCP/RTSP/SIP multimedia streaming, suitable for embedded and/or low-cost streaming applications. It can be easily built with Visual Studio 6 (VC6). The following instructions are for a command line build using VC6.
1. Modify the line "TOOLS32 = ..." in win32config to point to the VC6 installed directory in your host machine. For example, "TOOLS32 = C:\Program Files (x86)\Microsoft Visual Studio\VC98".
2. Comment out "del /Q liveMedia.mak", etc., since they do not exist yet.
3. Run genWindowsMakefiles.cmd to generate *.mak.
4. Save the following commands into a bat file in the src directory.
call "C:\Program Files (x86)\Microsoft Visual Studio\VC98\Bin\VCVARS32.bat"
cd liveMedia
nmake /B -f liveMedia.mak
cd ../groupsock
nmake /B -f groupsock.mak
cd ../UsageEnvironment
nmake /B -f UsageEnvironment.mak
cd ../BasicUsageEnvironment
nmake /B -f BasicUsageEnvironment.mak
cd ../testProgs
nmake /B -f testProgs.mak
cd ../mediaServer
nmake /B -f mediaServer.mak
5. Run the saved bat file.
6. Play .exe in \testProgs
If you like to use VS2005 or VS2008, the following links are helpful:
1 comment:
When I run nmake /B -f liveMedia.mak I get the following error
"C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\cl" -c -Iinclude -I
../UsageEnvironment/include -I../groupsock/include -Ox -DNDEBUG -c -DCRTAPI1=_cd
ecl -DCRTAPI2=_cdecl -nologo -GS -D_X86_=1 -DWIN32 -D_WIN32 -W3 -D_WINNT -D_WIN
32_WINNT=0x0500 -DNTDDI_VERSION=0x05000000 -D_WIN32_IE=0x0500 -DWINVER=0x0500 -
D_MT -D_DLL -MD -I. -I"C:\Program Files\Microsoft Visual Studio 9.0\VC\include"
Media.cpp
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\bin
\cl' : return code '0x1'
Stop.
Post a Comment