wiki:Getting-Started/Windows/2.0-dev

Version 14 (modified by ismangil, 9 years ago) (diff)

--

Requirements:

DirectShow SDK, included in Windows SDK, tested with Windows SDK for Windows 7 and .NET Framework 3.5 SP1. The minimum components needed are Win32 headers and libraries and Samples.

http://www.microsoft.com/downloads/en/confirmation.aspx?FamilyID=6B6C21D2-2006-4AFA-9702-529FA782D63B

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

http://support.microsoft.com/kb/949009/