Using Visual Studio Express '08 until I get to try out the Eclipse IDE.
EDIT: Aaah. I need Microsoft Platform SDK. Disregard the stuff below.
EDIT: I give up for now, will try again tomorrow (stubborn much?)
Here's what I get from the Debug config:
1>------ Build started: Project: LegoRPG, Configuration: Debug Win32 ------
1>Linking...
1>LegoRPG.obj : error LNK2020: unresolved token (0A00000F) IID_IMediaEvent
1>LegoRPG.obj : error LNK2028: unresolved token (0A000010) "extern "C" void __stdcall CoUninitialize(void)" (?CoUninitialize@@$$J10YGXXZ) referenced in function "int __clrcall main(cli::array<class System::String ^ >^)" (?main@@$$HYMHP$01AP$AAVString@System@@@Z)
1>LegoRPG.obj : error LNK2020: unresolved token (0A000012) IID_IMediaControl
1>LegoRPG.obj : error LNK2020: unresolved token (0A000013) IID_IBasicAudio
1>LegoRPG.obj : error LNK2020: unresolved token (0A000014) IID_IMediaSeeking
1>LegoRPG.obj : error LNK2020: unresolved token (0A000016) CLSID_FilterGraph
1>LegoRPG.obj : error LNK2020: unresolved token (0A000017) IID_IGraphBuilder
1>LegoRPG.obj : error LNK2028: unresolved token (0A000018) "extern "C" long __stdcall CoCreateInstance(struct _GUID const &,struct IUnknown *,unsigned long,struct _GUID const &,void * *)" (?CoCreateInstance@@$$J220YGJABU_GUID@@PAUIUnknown@@K0PAPAX@Z) referenced in function "int __clrcall main(cli::array<class System::String ^ >^)" (?main@@$$HYMHP$01AP$AAVString@System@@@Z)
1>LegoRPG.obj : error LNK2028: unresolved token (0A000019) "extern "C" long __stdcall CoInitializeEx(void *,unsigned long)" (?CoInitializeEx@@$$J18YGJPAXK@Z) referenced in function "int __clrcall main(cli::array<class System::String ^ >^)" (?main@@$$HYMHP$01AP$AAVString@System@@@Z)
1>LegoRPG.obj : error LNK2001: unresolved external symbol IID_IMediaEvent
1>LegoRPG.obj : error LNK2019: unresolved external symbol "extern "C" void __stdcall CoUninitialize(void)" (?CoUninitialize@@$$J10YGXXZ) referenced in function "int __clrcall main(cli::array<class System::String ^ >^)" (?main@@$$HYMHP$01AP$AAVString@System@@@Z)
1>LegoRPG.obj : error LNK2001: unresolved external symbol IID_IMediaControl
1>LegoRPG.obj : error LNK2001: unresolved external symbol IID_IBasicAudio
1>LegoRPG.obj : error LNK2001: unresolved external symbol IID_IMediaSeeking
1>LegoRPG.obj : error LNK2019: unresolved external symbol "extern "C" long __stdcall CoCreateInstance(struct _GUID const &,struct IUnknown *,unsigned long,struct _GUID const &,void * *)" (?CoCreateInstance@@$$J220YGJABU_GUID@@PAUIUnknown@@K0PAPAX@Z) referenced in function "int __clrcall main(cli::array<class System::String ^ >^)" (?main@@$$HYMHP$01AP$AAVString@System@@@Z)
1>LegoRPG.obj : error LNK2001: unresolved external symbol IID_IGraphBuilder
1>LegoRPG.obj : error LNK2001: unresolved external symbol CLSID_FilterGraph
1>LegoRPG.obj : error LNK2019: unresolved external symbol "extern "C" long __stdcall CoInitializeEx(void *,unsigned long)" (?CoInitializeEx@@$$J18YGJPAXK@Z) referenced in function "int __clrcall main(cli::array<class System::String ^ >^)" (?main@@$$HYMHP$01AP$AAVString@System@@@Z)
1>D:\Documents and Settings\Owner\My Documents\Visual Studio 2008\Projects\LegoRPG\Debug\LegoRPG.exe : fatal error LNK1120: 18 unresolved externals
1>Build Time 0:00
1>Build log was saved at "file://d:\Documents and Settings\Owner\My Documents\Visual Studio 2008\Projects\LegoRPG\LegoRPG\Debug\BuildLog.htm"
1>LegoRPG - 19 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
And the release config:
1>------ Build started: Project: LegoRPG, Configuration: Release Win32 ------
1>Linking...
1>LegoRPG.obj : error LNK2001: unresolved external symbol "extern "C" long __stdcall CoInitializeEx(void *,unsigned long)" (?CoInitializeEx@@$$J18YGJPAXK@Z)
1>LegoRPG.obj : error LNK2001: unresolved external symbol "extern "C" long __stdcall CoCreateInstance(struct _GUID const &,struct IUnknown *,unsigned long,struct _GUID const &,void * *)" (?CoCreateInstance@@$$J220YGJABU_GUID@@PAUIUnknown@@K0PAPAX@Z)
1>LegoRPG.obj : error LNK2001: unresolved external symbol IID_IGraphBuilder
1>LegoRPG.obj : error LNK2001: unresolved external symbol CLSID_FilterGraph
1>LegoRPG.obj : error LNK2001: unresolved external symbol IID_IMediaSeeking
1>LegoRPG.obj : error LNK2001: unresolved external symbol IID_IBasicAudio
1>LegoRPG.obj : error LNK2001: unresolved external symbol IID_IMediaControl
1>LegoRPG.obj : error LNK2001: unresolved external symbol "extern "C" void __stdcall CoUninitialize(void)" (?CoUninitialize@@$$J10YGXXZ)
1>LegoRPG.obj : error LNK2001: unresolved external symbol IID_IMediaEvent
1>D:\Documents and Settings\Owner\My Documents\Visual Studio 2008\Projects\LegoRPG\Release\LegoRPG.exe : fatal error LNK1120: 9 unresolved externals
1>Build Time 0:00
1>Build log was saved at "file://d:\Documents and Settings\Owner\My Documents\Visual Studio 2008\Projects\LegoRPG\LegoRPG\Release\BuildLog.htm"
1>LegoRPG - 10 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
\/ Disregard.
EDIT: Figured out my problem (took about 3 days :p); don't waste your time reading past here (unless you want to?)
Don't much want to make a new thread for a small problem, so I'll ask here. I'm trying to use directshow inside a 'Windows Forms' project. Everything compiles fine, but during linking, I get a bunch of 'unresolved external symbol' errors. I assume that's a missing library, but I'm already linking against default & directX libraries; I can't figure out what I'm missing…
EDIT: Nevermind, i guess I didn't have the libraries properly linked. Ended up adding them all one at a time to VC++'s Linker's 'Additional Dependancies'. Is there a way to add a whole directory?