home

Prepare baseclasses library

When using GNU tools

I don't want to include all needed Platform SDK files here (I think it wouln't be legal too), so you have to install latest copy of Microsoft Platform SDK (or DirectX SDK) and copy all listed files to ffdshow/src/baseclasses directory:

amextra.cpp
amfilter.cpp
amvideo.cpp
combase.cpp
cprop.cpp
ctlutil.cpp
ddmm.cpp
dllentry.cpp
dllsetup.cpp
mtype.cpp
outputq.cpp
pstream.cpp
pullpin.cpp
refclock.cpp
renbase.cpp
schedule.cpp
seekpt.cpp
source.cpp
strmctl.cpp
sysclock.cpp
transfrm.cpp
transip.cpp
videoctl.cpp
vtrans.cpp
winctrl.cpp
winutil.cpp
wxdebug.cpp
wxlist.cpp
wxutil.cpp
amextra.h
amfilter.h
Amvideo.h
audevcod.h
cache.h
combase.h
comlite.h
control.h
cprop.h
ctlutil.h
ddmm.h
ddraw.h
dinput.h
dllsetup.h
dsschedule.h
dvdmedia.h
edevdefs.h
errors.h
evcode.h
fourcc.h
ks.h
ksmedia.h
ksuuids.h
measure.h
MMReg.h
mpconfig.h
msgthrd.h
mtype.h
outputq.h
pstream.h
pullpin.h
refclock.h
reftime.h
renbase.h
seekpt.h
source.h
streams.h
strmctl.h
strmif.h
sysclock.h
transfrm.h
transip.h
uuids.h
vfwmsgs.h
videoctl.h
vtrans.h
winctrl.h
winutil.h
wxdebug.h
wxlist.h
wxutil.h

Most of these files are located in samples/multimedia/directshow/baseclasses directory of Platform SDK and some are in include directory. Then apply baseclasses.diff patch (patch.exe is distributed with cygwin or MSYS). Hopefully this should be all and you just have to run make and wait. For compiling this you will need GCC 3.1 or higher, because GCC 2.95.3 reported an internal error. If you'd have problems or don't want to download Platform SDK, send me a message and I will send you complete content of this directory.

When using Visual Studio

Download and install Microsoft Platform SDK (or DirectX SDK). Go to samples\multimedia\DirectShow\BaseClasses subdirectory of the SDK and create the library by opening baseclasses.sln (or baseclasses.dsw) projects and building them.

Add these paths at the top of the Tools|Options|Directories list:

headers:
C:\DXVCSDK\include
C:\DXVCSDK\samples\Multimedia\DirectShow\BaseClasses

libraries:
C:\DXVCSDK\samples\Multimedia\DirectShow\BaseClasses\Debug
C:\DXVCSDK\samples\Multimedia\DirectShow\BaseClasses\Release

Replace C:\DXVCSDK with actual directory where SDK has been installed.