user2252786
user2252786

Reputation: 1635

Including files in VS 2012

I want to include a library - I've downloaded it and found exactly four files inside:
.h
.lib
.dll
.def

I've put the header file inside of my project. That's the only thing I did - and the visual throws an error that it cannot open the .lib file.

So I immediately wanted to beg for help on stackoverflow, but I've decided to do a little research first. I've found out that the .dll file should be placed inside of the windows/SYSWOW64 location (for my 64-bit windows 7), I placed it there but VS still displays the same error.

How should I deal with that? Did I missed some step during the "installation"? If so, which ones?

Upvotes: 1

Views: 58

Answers (1)

V-X
V-X

Reputation: 3029

You have to specify the path to the library (*.lib) in your project settings.

(You can put it also into your directory with sources)

The presence of DLL file during build is not required.

Upvotes: 1

Related Questions