I'm using Visual studio 2015
I'm trying to add some libraries(.lib) to my project. I add them by going to Project->Properties
and go to the tab Linker
. I go to General
and fill in the Additional Library Directories
. After that I go to Input
and fill in the files I want to include at Additional Dependencies
. (These files are located in the Additional Library Directories
).
But when I run my program it says: The program can't start because filename.dll is missing from your computer. Try reinstalling the program to fix this problem.
I know these .lib files work with the dll file. But when I add the .dll file also to the additional dependencies it says: invalid or corrupt file: cannot read 0x2C8.
Thats because my dll file shouldn't be there, so how can I include this dll file or let it work with my .lib files to run my program?