Just to add some more information to this I don't get what I am doing wrong in Visual Studio. I have set my include directory. I have set the library correctly and even checked using /VERBOSE to make sure it's searching the correct path while linking. I have set the code generation correctly.