Saturday, May 26, 2012

Compiling Live555 with Microsoft Visual Studio

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:

No comments:

Followers

About Me

My Photo
HD Multimedia Technology player