MS Visual Studio /nodefault option
Hi, sorry if this is not an appropriate forum to ask about MS Visual Studio question.
I am given a prebuilt static library (XXX.lib) and the vendor has included a particular version of C runtime in the lib by mistake. By further mistake I have officially accepted the lib, so I'm stuck. :( Do you know how can I ignore the included C runtime and link with the one on my system rather? The vendor told me I could explore the /nodefault option https://docs.microsoft.com/en-us/cpp...s?view=vs-2017 but it says it will ignore external references. I want to ignore the "internal" references however. |
Maybe you could extract the object modules from the *.lib fájl, and build a new, smaller *.lib
https://docs.microsoft.com/hu-hu/cpp...b?view=vs-2017 |
The lib works by all means.
I could have asked the vendor for another one but which implies cost. If I strip it as suggested, the vendor will not support my remade version. So, these are not options in this cruel business world, my cruel reality. This is output before linker option is added. What does this mean? Code:
1>------ Build started: Project: TestXXX, Configuration: Release x64 ------ Code:
1>------ Build started: Project: TestXXX, Configuration: Release x64 ------ |
All times are GMT -5. The time now is 02:33 PM. |