wiki:Getting-Started/Windows/2.0-dev

Requirements:

  1. DirectShow SDK, included in Windows SDK. The minimum component required within the SDK is Windows Development Headers and Libraris and Samples. As there are several versions of SDK we found they have different issues:
  1. If you don't need Windows 7 features, the recommended SDK is Windows SDK Update for Windows Vista. This is because it doesn't have IP Helper API header bug.
  2. If you need Windows 7 features then use Windows SDK for Windows 7 and .NET Framework 4 and follow the instructions on fixing IP Helper API header bug. Also if you are using Visual Studio 2005 then you will need to patch it using MS Knowledge Base 949009

http://www.microsoft.com/downloads/details.aspx?familyid=0baf2b35-c656-4969-ace8-e4c0c0716adb&displaylang=en

  1. Add the include and lib directories path to Visual Studio configuration.
  2. Look for the Baseclasses project, and add the include path to Visual Studio configuration. Important: the include path for the baseclasses must be higher than Windows SDK include path.
  3. In the property of the Baseclasses project, change the code generation to Multi-threaded Debug, instead of the default Multi-threaded DLL.
  4. Compile the baseclasses project in the samples, and add the resulting library to the path of Visual Studio configuration

SDL 1.2 Win32 Development Li braries. Unzip and add the include and lib directories path to Visual Studio configuration. Add the lib path to the PATH environment variable.

ffmpeg dev lib from http://www.pjsip.org/tmp/ffmpeg-dev-gcc4.zip Unzip and add the include and lib directories path to Visual Studio configuration. Add the bin path to the PATH environment variable.

config_site.h:

#define PJMEDIA_HAS_FFMPEG 1
#define PJMEDIA_VIDEO_DEV_HAS_SDL 1
#define PJMEDIA_VIDEO_DEV_HAS_DSHOW 1
Last modified 8 years ago Last modified on Apr 15, 2011 3:41:06 PM