Problem compiling Sony 1394 camera SDK with VS2005+Platform SDK+DirectX SDK?
I am a beginner of VC++ and I am running VS2005 SP1 on WinXP SP2. Since I have a Sony 1394 camera.I want to try the SDK from Sony which can be found in the following link:
http://www.sonybiz.net/biz/view/ShowContent.action?site=biz_en_GB&contentId=1171641885465
I have downloaded and installed Microsoft Platform SDK for Windows Server 2003 R2 and DirectX SDK (Apr 2007).
I have already included the directory: C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Samples\Multimedia\DirectShow\BaseClasses into the VC++ project, since streams.h is needed.
I also included: C:\Program Files\Microsoft DirectX SDK (April 2007)\Include, since ddraw.h is needed as well.
When I try to compile the sonyOHCIDlg example, it says:
1> Build started: Project: SonyOHCI, Configuration: Debug Win32
1>Linking...
1>SonyOHCIDlg.obj : error LNK2001: unresolved external symbol _IID_IKsPropertySet
1>SonyOHCIDlg.obj : error LNK2001: unresolved external symbol _IID_IAMStreamConfig
1>SonyOHCIDlg.obj : error LNK2001: unresolved external symbol _CLSID_CaptureGraphBuilder2
1>SonyOHCIDlg.obj : error LNK2001: unresolved external symbol _CLSID_FilterGraph
1>SonyOHCIDlg.obj : error LNK2001: unresolved external symbol _IID_IBaseFilter
1>SonyOHCIDlg.obj : error LNK2019: unresolved external symbol "int __stdcall lstrlenWInternal(wchar_t const *)" (?lstrlenWInternal@@YGHPB_W@Z) referenced in function "private: long __thiscall CSonyOHCIDlg::FindCaptureDevice(struct IBaseFilter * *)" (?FindCaptureDevice@CSonyOHCIDlg@@AAEJPAPAUIBaseFilter@@@Z)
1>SonyOHCIDlg.obj : error LNK2001: unresolved external symbol _CLSID_VideoInputDeviceCategory
1>SonyOHCIDlg.obj : error LNK2001: unresolved external symbol _CLSID_SystemDeviceEnum
1>SonyOHCIDlg.obj : error LNK2001: unresolved external symbol _CLSID_LegacyAmFilterCategory
1>SonyOHCIDlg.obj : error LNK2001: unresolved external symbol _IID_IMediaControl
1>SonyOHCIDlg.obj : error LNK2001: unresolved external symbol _IID_IVideoWindow
1>SonyOHCIDlg.obj : error LNK2001: unresolved external symbol _IID_IAMVideoControl
1>.\Debug/SonyOHCI.exe : fatal error LNK1120: 12 unresolved externals
From Sony SDK's document, it seems the strmbasd.lib and strmbase.lib are needed and I learnt these two files have to be compiled by myself. I already tried the command prompt of VC2005 using vcvars32.bat and then nmake, it seems something was compiled and added to the C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Samples\Multimedia\DirectShow\BaseClasses directory and these two .lib file is nowhere to be found?
I wonder what is the correct step-by-step of compiling these two lib files and can I do it in VS2005 GUI instead of command prompt? i think it will be easier for newbies like myself.
Besides, can any one help with the Sony SDK? I know it may work flawless in VC6, but can it work in VC2005?
May be I shall make my question clear, how can I get thestrmbasd.lib and strmbase.lib using VS2005 with my current config?Thank you very much!

