I am trying to build a C++ program and keep on getting LNK2019 link errors whenever I try defining a new function and building it. I resolved few of them till now, but spend a lot of time to understand the error in detail. Errors I am getting now are as per below:

Hi Jonsca, Thanks for the reply. But as I said before, I am bad in understanding lib funda. By header files for the library do you mean the header files that I have created for my program or any pre-defined header files for the standard libraries which I am using.
– tech_learnerMar 21 '11 at 2:43

1

The library's headers go in the space in the Properties dialog. You could conceivably keep your own headers in a folder c:\headers or something, and put that directory in the slot also, but it's not necessary, the compiler will find yours in the folder of the project. Basically, you're just telling the compiler that here's a directory in which you can search for my headers, here's a directory in which you can search for the lib file, and here's some possible lib files in which to find these functions. Don't despair, once you've done this a couple of times, it's old hat.
– jonscaMar 21 '11 at 3:58

My issue was the 3rd step. I am unit testing my application and needed to remember to add the .objs to the Linker/Input.
– CaptainBliOct 15 '13 at 16:16