<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2627" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I am attempting to compile OpenRTSP with Microsoft
Visual C++ 2005 Express Edition Beta 2.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am using the following instructions (see
below). </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am creating a project for each of the components
listed in the next paragraph using the </FONT></DIV>
<DIV><FONT face=Arial size=2> File --> New --> 'Project From
Existing Code' option</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The import wizard does not automatically import the
.mak file for each of the </FONT></DIV>
<DIV><FONT face=Arial size=2>projects, i.e. <FONT
face="Times New Roman">"UsageEnvironment", "groupsock", "liveMedia", and
"BasicUsageEnvironment".</FONT></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>What is the recipe for compiling OpenRTSP inside Visual
C++ 2005 Express Edition Beta 2?</FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>/Ross</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>
<H2>How to configure and build the code on Windows</H2>To configure the code for
Windows, first unpack it on a Unix machine.
<P>Then, if your 'tools' directory on your Windows machine is something
<EM>other than</EM> "c:\Program Files\DevStudio\Vc", change the "TOOLS32 =" line
in the file "win32config".
<P>Then, cd to the "live" directory, then run: <PRE> ./genWindowsMakefiles
</PRE>This will generate - in each subdirectory - a "*.mak" makefile suitable
for use by Microsoft Visual C++.
<P>Then, copy these subdirectories (in ASCII mode) to a Windows machine (with a
C++/C development environment, such as Visual Studio).
<P><SMALL>
<UL>
<LI>To use these Makefiles from within Visual Studio, use the "Open Workspace"
menu command, then (in the file selection dialog) for "Files of type", choose
"Makefiles (.mak)". Visual Studio should then prompt you, asking if you want
to use this Makefile to set up a new project. Say "OK".
<LI>Note that you will need to build each of the "UsageEnvironment",
"groupsock", "liveMedia", and "BasicUsageEnvironment" projects <EM>first</EM>,
before building "testProgs".
<LI>If you wish, you can build the "WindowsAudioInputDevice" project also.
<LI>Doug Kosovic notes: <SMALL>Visual C++ 2003 no longer comes with the old
I/O Streams headers iostreams.h et al, or the corresponding library
msvcirt.lib. So anybody trying to build the Live.com code with VC++ 2003 might
find the following useful: A non-sourcecode modification workaround for VC++
2003 is to copy the missing headers and msvcirt.lib from VC++ 2002. In file
'win32config' add an extra -I switch to COMPILE_OPTS to find the old headers
and a -LIBPATH: switch to LINK_OPTS_0 to find msvcirt.lib.
</SMALL></LI></UL></SMALL></DIV></BODY></HTML>