Linking errors (symbol already defined) with a specific Windows user account
Hello.
Recently, some linking errors (no compilation errors) occur while building some C++ projects (with Visual Studio 2017). Errors look like this:
legacy_stdio_definitions.lib(legacy_stdio_definitions.obj) : error LNK2005: __imp_fprintf already defined in libcholmod.lib(libcholmod.dll)
Other projects that do not use additional libs (like legacy_stdio_definitions.lib in the above example) are building without any problem. The strangest thing is that the projects are building well when using another Windows user account. So the problem seems linked with my user account. Where does that come from? I already tried to completely reinstall Visual Studio 2017, erased my user files in %AppData%, or remove some user environment variables, none of the above worked.