[Live-devel] Compiling OpenRTSP with Micrsoft Visual C++ 2005
Express Edition Edition Beta 2
Ross MacGillivray
ross_macgillivray at yahoo.ca
Fri May 20 09:33:30 PDT 2005
I am attempting to compile OpenRTSP with Microsoft Visual C++ 2005 Express
Edition Beta 2.
I am using the following instructions (see below).
I am creating a project for each of the components listed in the next
paragraph using the
File --> New --> 'Project From Existing Code' option
The import wizard does not automatically import the .mak file for each of
the
projects, i.e. "UsageEnvironment", "groupsock", "liveMedia", and
"BasicUsageEnvironment".
What is the recipe for compiling OpenRTSP inside Visual C++ 2005 Express
Edition Beta 2?
/Ross
How to configure and build the code on Windows
To configure the code for Windows, first unpack it on a Unix machine.
Then, if your 'tools' directory on your Windows machine is something other
than "c:\Program Files\DevStudio\Vc", change the "TOOLS32 =" line in the
file "win32config".
Then, cd to the "live" directory, then run:
./genWindowsMakefiles
This will generate - in each subdirectory - a "*.mak" makefile suitable for
use by Microsoft Visual C++.
Then, copy these subdirectories (in ASCII mode) to a Windows machine (with a
C++/C development environment, such as Visual Studio).
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".
Note that you will need to build each of the "UsageEnvironment",
"groupsock", "liveMedia", and "BasicUsageEnvironment" projects first, before
building "testProgs".
If you wish, you can build the "WindowsAudioInputDevice" project also.
Doug Kosovic notes: 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Ross MacGillivray.vcf
Type: text/x-vcard
Size: 423 bytes
Desc: not available
Url : http://lists.live.com/pipermail/live-devel/attachments/20050520/8f5a8d7f/RossMacGillivray.vcf
More information about the live-devel
mailing list