VS prompts "fatal error LNK1169: found one or more multiple defined symbols" ultimate solution

Problem: VS2017 prompts "fatal error LNK1169: find one or more multiply defined symbols" or "fatal error LNK1169: one or more multiply defined symbols found"

Solution:

Right-click the project, Properties -> Linker -> Command Line.

Add other options there:

/FORCE:MULTIPLE

As shown below

Guess you like

Origin blog.csdn.net/u013015629/article/details/128818306