Click here to Skip to main content
15,887,875 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi everyone,

I have a question about strmbasd.lib

As it specified on question my project give error like cannot open file "strmbasd.lib"

I add strmbasd.lib to Properties->Linker->Input but the error is exist still.

If you need any more detail please please note

Thanks for help
Posted

You should make Visual Studio know where it can found such a file.
Click on the Project Properties menu item then select the configuration Properties -> VC++ Directories node and add the library folder path to the Library Directories line.
 
Share this answer
 
Comments
denegabze 18-Sep-14 3:13am    
ıf i add strmabsd.lib into C:\Windows SDK\... and link path in visual studio, the project give 19 linker errors. İ have learned that strmabasd.lib is cretaed while debugging by strmbas.lib.
Note: I linked strmbase.lib in visual studio
i seem to recall you have to build your own strmbase libraries for release and debug

how to[^]
 
Share this answer
 
Comments
denegabze 18-Sep-14 3:27am    
I use visual studio 2010.
Same as i mentioned above, if i add strmbasd.lib to lib folders it gives more linker errors.
barneyman 18-Sep-14 3:30am    
what errors are you getting? Did you compile the libs yourself?
denegabze 18-Sep-14 3:48am    
Errors:
1- error LNK1120: 10 unresolved externals

2- error LNK2001: unresolved external symbol "void __cdecl DbgLogInfo(unsigned long,unsigned long,wchar_t const *,...)" (?DbgLogInfo@@YAXKKPB_WZZ)

3- error LNK2001: unresolved external symbol __imp___mbsrchr

4- error LNK2001: unresolved external symbol __imp___vsnprintf

5- error LNK2019: unresolved external symbol "public: __thiscall CBasePropertyPage::CBasePropertyPage(wchar_t const *,struct IUnknown *,int,int)" (??0CBasePropertyPage@@QAE@PB_WPAUIUnknown@@HH@Z) referenced in function "private: __thiscall CIuDvbStreamSpyProperties::CIuDvbStreamSpyProperties(struct IUnknown *,long *)" (??0CIuDvbStreamSpyProperties@@AAE@PAUIUnknown@@PAJ@Z)

6- error LNK2019: unresolved external symbol "public: __thiscall CTransInPlaceFilter::CTransInPlaceFilter(wchar_t const *,struct IUnknown *,struct _GUID const &,long *,bool)" (??0CTransInPlaceFilter@@QAE@PB_WPAUIUnknown@@ABU_GUID@@PAJ_N@Z) referenced in function "private: __thiscall CIuDvbStreamSpy::CIuDvbStreamSpy(wchar_t *,struct IUnknown *,long *)" (??0CIuDvbStreamSpy@@AAE@PA_WPAUIUnknown@@PAJ@Z)

and goes on like this.


I did just compiling visual studio and i dont know how to compile libs myself
barneyman 18-Sep-14 4:05am    
if you haven't compiled the directShow samples yourself (and generated strmbasd.lib) and you haven't been given it, then you don't have it - it's not part of the Visual Studio/CRT distribution

Creating it is simple - there's a guide here http://blogs.msdn.com/b/karinm/archive/2008/04/25/how-to-in-search-of-strmbase-lib.aspx as well as above

The baseclass samples are installed as part of the SDK, on my install, they're at

C:\Program Files\Microsoft SDKs\Windows\v7.1\Samples\multimedia\directshow\baseclasses

There's a project and a solution there - open it - build it (strmbasd is the DEBUG build) - then you'll have strmbasd - copy that into your source tree, or reference the directory in the linker directory

strmbase is the release version, which you can also build, and you'll need that when you build your release version
denegabze 18-Sep-14 4:58am    
I run the baseclasses from command prompt and it gave an error.I reisntalled WindowsSDK adn the error in continuing.

Error is:
error MSB3428 :"VCBuild.exe" Visual C++ component could not be loaded.
Note: I translated the error message since it had written in my national language.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900