The reason for the problem is that a variable is declared in a header file, but it is defined in two or more. CPP files.
Solution: generally, the compiler will tell you which variable has a problem. You need to locate the variable, and then delete one of the redundant variable definitions
There is also a helpless solution. You can open the project configuration properties connector command line and enter the following string to allow multiple settings:
/ force:multiple
Read More:
- fatal error LNK1169: one or more multiply defined symbols found
- Visual Studio Tips: error LNK2005: … already defined in LIBCMTD.lib(new.obj)
- fatal error LNK2019[UNK]fatalerror LNK1120
- LinkIssue: Error ‘LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or cor
- Error in Maven POM file: multiple annotations found at this line solution
- vs2013 wdk8.1 ERROR: Symbol file could not be found. Defaulted to export symbols for ntkrnlmp.exe
- Error in installing torch vision or pilot on Linux or Jetson nano: the headers or library files could not be found for JPEG
- Found item Attr/circleRadius more than one time
- VS2010 error: LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
- Visual Studio 2010 compilation error fatal error lnk1123: failed during conversion to coff: solution to invalid or corrupt file
- Android:More than one file was found with OS independent path ‘res/values/values.xml
- One or more filters failed to start
- Validation failed for one or more entities. See ‘EntityValidationErrors’ property for more details
- Android More than one file was found with OS independent path ‘META-INF/LICENSE‘
- Android studio prompt: failed to instance one or more classes appcompattextview
- The corresponding solutions to the problems of various external symbols that cannot be resolved
- Trivia: How does R language solve Error in ts(x):’ts’ object must have one or more observations
- Vue report failed to mount component: template or render function not defined
- VBA “user defined type not defined” MSXML2.DOMDocument