Home > Back-end >  C engineering compilation for help
C engineering compilation for help

Time:09-30

Everyone passing by the great god, I'm open an existing one. SLNS files detected and configured after opencv, regenerated solution, the results appeared a lot of error, don't know how to do, ask for help,
 1 & gt; -- -- -- -- -- - has started to regenerate: all projects: MWIS, configuration, Release the Win32 -- -- -- -- -- -- 
1> The main. C
1> C: \ Program Files \ Microsoft Visual Studio 11.0 (x86) VC \ \ include \ xkeycheck h (65) : warning C4005: "inline" : macro redefine
1> E: \ video tracking \ multiple object tracking \ mwis \ mwis2 \ mwis \ utils h (32) : see the previous definition of "inline"
1> C: \ Program Files \ Microsoft Visual Studio 11.0 (x86) VC \ \ include \ xkeycheck h (87) : fatal error C1189: # error: The C Standard Library forbids macroizing keywords. Enable warning C4005 to find The forbidden macro.
1> Mainutils. C
1> C: \ Program Files \ Microsoft Visual Studio 11.0 (x86) VC \ \ include \ cstdlib (19) : error C2054: after "using" should input "("
1> C: \ Program Files \ Microsoft Visual Studio 11.0 (x86) VC \ \ include \ cstdlib (19) : error C2061: syntax errors: identifier "using"
1> C: \ Program Files \ Microsoft Visual Studio 11.0 (x86) VC \ \ include \ cstdlib (21) : error C2061: syntax errors: identifier "using"
1> C: \ Program Files \ Microsoft Visual Studio 11.0 (x86) VC \ \ include \ cstdlib (21) : error C2061: syntax errors: identifier "abs"
1> C: \ Program Files \ Microsoft Visual Studio 11.0 (x86) VC \ \ include \ cstdlib (21) : error C2059: grammar errors: ";"
1> C: \ Program Files \ Microsoft Visual Studio 11.0 (x86) VC \ \ include \ cstdlib (21) : error C2061: syntax errors: identifier "atexit
"1> C: \ Program Files \ Microsoft Visual Studio 11.0 (x86) VC \ \ include \ cstdlib (22) : error C2061: syntax errors: identifier "atof
"1> C: \ Program Files \ Microsoft Visual Studio 11.0 (x86) VC \ \ include \ cstdlib (22) : error C2059: grammar errors: ";"
1> C: \ Program Files \ Microsoft Visual Studio 11.0 (x86) VC \ \ include \ cstdlib (22) : error C2061: syntax errors: identifier "atoi
"1> C: \ Program Files \ Microsoft Visual Studio 11.0 (x86) VC \ \ include \ cstdlib (22) : error C2061: syntax errors: identifier "atol
"1> C: \ Program Files \ Microsoft Visual Studio 11.0 (x86) VC \ \ include \ cstdlib (23) : error C2061: syntax errors: identifier "bsearch
"1> C: \ Program Files \ Microsoft Visual Studio 11.0 (x86) VC \ \ include \ cstdlib (23) : error C2059: grammar errors: ";"
1> C: \ Program Files \ Microsoft Visual Studio 11.0 (x86) VC \ \ include \ cstdlib (23) : error C2061: syntax errors: identifier "calloc
"1> C: \ Program Files \ Microsoft Visual Studio 11.0 (x86) VC \ \ include \ cstdlib (23) : error C2061: syntax errors: identifier "div"
1> C: \ Program Files \ Microsoft Visual Studio 11.0 (x86) VC \ \ include \ cstdlib (24) : error C2061: syntax errors: identifier "exit"
1> C: \ Program Files \ Microsoft Visual Studio 11.0 (x86) VC \ \ include \ cstdlib (24) : error C2059: grammar errors: ";"
1> C: \ Program Files \ Microsoft Visual Studio 11.0 (x86) VC \ \ include \ cstdlib (24) : error C2061: syntax errors: identifier "free"
1> C: \ Program Files \ Microsoft Visual Studio 11.0 (x86) VC \ \ include \ cstdlib (25) : error C2061: syntax errors: identifier "LABS"
1> C: \ Program Files \ Microsoft Visual Studio 11.0 (x86) VC \ \ include \ cstdlib (25) : error C2059: grammar errors: ";"
1> C: \ Program Files \ Microsoft Visual Studio 11.0 (x86) VC \ \ include \ cstdlib (25) : error C2061: syntax errors: identifier "ldiv
"1> C: \ Program Files \ Microsoft Visual Studio 11.0 (x86) VC \ \ include \ cstdlib (25) : error C2061: syntax errors: identifier "malloc"
1> C: \ Program Files \ Microsoft Visual Studio 11.0 (x86) VC \ \ include \ cstdlib (26) : error C2061: syntax errors: identifier "mblen
"1> C: \ Program Files \ Microsoft Visual Studio 11.0 (x86) VC \ \ include \ cstdlib (26) : error C2059: grammar errors: ";"
Compile
1> MWIS. C
1> MWIS. C (92) : warning C4133: "initialization" : from "char *" to "double *" type incompatible
1> MWISio. C
1> Utils. C
==========all regenerated: zero success, failure, skip 0==========

CodePudding user response:

You create an empty project, and see if I can run

CodePudding user response:

My vs2012 is no problem, can run other program, is wrong in this program, my program does not involve the c + + knowledge, I think it's vs2012 according to the style of c + + compiler, lead to the wrong, but I don't know how to modify,

CodePudding user response:

Add "_XKEYCHECK_H" in Preprocessor Definitions
  • Related