   How can you link with a library like OpenEXR in Windows?
  This may sound like a stupid question, but how can you link with libraries such as OpenEXR in Windows? In this case it's specifically for OpenEXR, but I think this question is more general: there exist other such libraries as well.In Linux, this is, as usual with this type of C library, rather easy. The necessary headers are in /usr/include and the necessary libraries are in /usr/lib, and this is easily installed using the package manager. And even if you have to build it yourself, the procedure is standard: just use the makefile.I've tried to find an easy way in Windows, but didn't find any. In the case of OpenEXR, there were some developer files for visual studio for an old version of the OpenEXR library, but not the newest version of the OpenEXR library. And even with the old version, I didn't see how to link to it using Code::Blocks or Dev-C++ (I don't use Visual Studio, and those other IDE's can link to library files for Visual Studio but in fact I simply didn't find the library files in their download).What do I have to do in Windows to use it? Do I need to compile everything of the OpenEXR sources from scratch, make a library out of that, and then link my own project to the result of that? And that means setting up a project for the complete sources of OpenEXR in my IDE first? How can I correctly set up a project in my IDE for a library with gigatons of source files and folders? What if it has other dependencies?If you're a Windows developer, have you already had such situations, and how did you handle them?Thanks.   