I've created a static library and added some of my generic game systems for reuse on future projects. However, when I link SFML I get a few warnings.
warning LNK4006: __NULL_IMPORT_DESCRIPTOR already defined...
warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
Searching around I got plenty of hits.
Never link static libraries to your library! It can be painful, but you have to require that your applications link to your dependencies.
You don't need to add any dependencies when creating a static library. If your library uses d3d9.lib, then let the build of the EXE/DLL link it in.
It's clear I shouldn't be linking a static library to my static library. However, I don't understand the solution. Are they suggesting my game, that uses my static library, should link SFML? If so this is already the case, and I don't see how this would give my static library access to SFML functionality.