Linking errors building AMCap (sample from DirectShow, SDK )  
Author Message
toratora





PostPosted: Visual C++ General, Linking errors building AMCap (sample from DirectShow, SDK ) Top

Hi!

I'm trying to build this application, which should have no problems, but I'm getting linking errors with Visual 2005 Express. These are the errors I get:

------ Build started: Project: AmCap, Configuration: Debug Win32 ------
Linking...















































































































Debug\AmCap.exe : fatal error LNK1120: 89 unresolved externals



What might be the problem Thanks!


Visual C++14  
 
 
einaros





PostPosted: Visual C++ General, Linking errors building AMCap (sample from DirectShow, SDK ) Top

You need to link a few more libraries, such as ole32.lib and user32.lib. Try setting the "Additional Dependencies" setting found in your project properties' (ALT+F7) -> configuration properties -> linker -> input to

shlwapi.lib kernel32.lib user32.lib advapi32.lib shell32.lib ole32.lib



 
 
toratora





PostPosted: Visual C++ General, Linking errors building AMCap (sample from DirectShow, SDK ) Top

Thanks for the tip, though I still get some linking error (only 16 now):




















Debug\AmCap.exe : fatal error LNK1120: 16 unresolved externals


What's missing now Thanks!