Program builds in debug mode, but not in release mode

Right, I wrote a simple program which works with DTAPI library (used for reading a video stream from a Dektec device).

To use the library, I copied the DTAPI.h and the DTAPI.dll files into my project folder. When I build my program in Debug mode, it all works fine, but when I try to build it in the Release mode, I get the following error:

LINK : fatal error LNK1104: cannot open file 'DTAPId.lib'

My guess is that I need to link the library to the project in some way? Could anyone please tell me how to do this?
Which IDE are you using?

(You should have diferent folders for release and debug files, try to find the release folder and copy the libraries to that folder as well.)
eidge,

Oh yes, sorry, forgot to mention :) I am using VS10.

I already copied the files into the Release folders (I have 2 of these for some reason, I copied the files into both of them), and also into my project root directory. It didn't make any difference :(
For the release build, you prob need to link to DTAPI.lib

(the d at the end of the lib name used by the debug build is for "debug" -- libs often come in name/named pairs)
andywestken Thank you!!! My file indeed had a (d) on the end, so I found the file version without the d, copied it into my project root directory, and it worked! :)
Topic archived. No new replies allowed.