Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

compiler error

Status
Not open for further replies.

drewdaman

Programmer
Aug 5, 2003
302
CA
This is my second post here.. because i have two different (NEWBIE!!, getting started) questions.

i found this thing online.. it adds a wizard to vc++ and its supposed to make things a lot easier for newbies like me. its available at so, it generates some code, i guess much like the MFC appwizard does. now my problem (fortunately) is not directly related to this appwizard. i installed it, generated a new app and tried to build it. the error i get is:

LINK : fatal error LNK1104: cannot open file "C:\DXSDK\\samples\Multimedia\DirectShow\BaseClasses\Debug\strmbasd.lib"Error executing link.exe.

I looked for strmbasd.lib. The above path is slightly incorrect. Instead of Debug, it is in a folder called Debug_Unicode. I changed that in the project settings and got the exact same error, except this time it said 'Debug_Unicode' instead of 'Debug'.

I have not done any work with .lib files in the past. the file shows up with a windows logo. the filename shows no extension, but when i move the mouse over the file, it says it is of type .lib. the file is 1.88 mb.

I am also copying and pasting some steps that i took to get this stuff to work, just so you guys know where i am! These steps are available in a (large!) pdf at i also indicate where in the pdf the steps are described.

"Build C:\DX90SDK\samples\C++\DirectShow\
BaseClasses. (Load .dsw and build for
Debug and Release libraries)" (slide 6 of the pdf)


"Under Tools->Options->Directories->Include Files,
add C:\DXSDK\Samples\C++\
DirectShow\Baseclasses so it can find streams.h" (slide 6 of the pdf)


"Make sure C:\DX90SDK\include is first in the list." (slide 6 of the pdf)

(In fact, i even tried to put "C:\DXSDK\Samples\C++\
DirectShow\Baseclasses" second in the list, just below
"C:\DX90SDK\include"- that did not help either!)

"In "Additional include directories" change "Multimedia"
to "C++". (The location of streams.h changed in DX9.)" (slide 12 of the pdf)



Do you guys think there might be a problem with my installation or do you think i'm just doing something totally wrong?

I really appreciate you guys helping me out!
Thanks a lot!
Drew.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top