I have used Zlib many times including the source code within the project. This time however I want to link using an external DLL. In Project settings I have the header fil directory added and the directory for the lib as well as including the lib for the dependency. In the source I am including zlib.h which has all of the exports defined under extern "C" I checked the DLL's def file and sure enough the functions are in the LIB. I am using the LIB from the ZLib's site but I also compiled the DLL myself when I came across the linking failure and I received the same result which is.
error LNK2001: unresolved external symbol gzread
error LNK2001: unresolved external symbol gzclose
error LNK2001: unresolved external symbol gzopen
I may have to go back to just building the project with the source code if I cant get this resolved but I would rather find a solution since it would best meet this projects needs. I am building on ZLib 1.2.8 and x64 Visual C++ 2008 V9 Professional
Any help would be greatly appreciated. This is really holding up my project.