Linking LIB Files

Hi,

I have a programme that uses code contained in a LIB file. At the moment I can only get the programme to compile if I physically copy the LIB file into my project using the solution explorer of the IDE. I have tried removing the LIB file from my project and setting an additional library directory containing the LIB file in the Linker options. I imagine that I must also provide the name of the LIB file in the Linker's options but cannot see where to do this. Is this what I should be doing and if so, how should I do this? I am using VC++ Express.

Thanks...
try putting it inside your system where visual studio is installed. (the place were you have programs x86, if u have 64bit)





I had this problem when I had to install some Open GL files.



if you are dealing with Open GL, follow this video tutorial
if you have windows 7 paste the system32 file in the system folder()
Hi Blessman,

Thanks for your reply. I would rather paste the LIB file into the project than copy files into the VC installation and system directories. There must be a way to use the Linker to accomplish this.

Thanks again...
closed account (3hM2Nwbp)
It might be easier to look where it is rather than have someone try to explain it.

Just uploaded for you.

http://img8.imageshack.us/img8/4082/demoi.png
Brilliant Luc; many thanks...
Topic archived. No new replies allowed.