The error c2061: syntax error: identifier "DEST ":
1> D: \ opencv \ build \ include \ opencv2 \ FLANN \ Any. H (70): Error c2061: syntax error: identifier "DEST"
1> D: \ opencv \ build \ include \ opencv2 \ FLANN \ any. H (69): Compile the class template member function "Void cvflann: anyimpl: small_any_policy <t >:: copy_from_value (const void *, void **)"
1>
1> [
1> T = const char *
1>]
1> D: \ opencv \ build \ include \ opencv2 \ FLANN \ any. H (157): see references to instantiate "cvflann: anyimpl: small_any_policy <t>" for the class template being compiled.
1>
1> [
1> T = const char *
1>]
1> D: \ opencv \ build \ include \ opencv2 \ FLANN \ any. H (217): see references to instantiate the "cvflann: anyimpl: base_any_policy * cvflann: anyimpl: get_policy <t> (void)" for the function template being compiled.
1>
1> [
1> T = const char *
1>]
1> D: \ opencv \ build \ include \ opencv2 \ FLANN \ any. H (187): see references to instantiating a function template being compiled with "cvflann: Any & cvflann: Any: Assign <const char *> (const T &)"
1>
1> [
1> T = const char *
1>]
1> generating code...
1> compiling...
1> videoclient. cpp
1> generating code...
1>
1> generation failed.
1>
1> used time 00:00:02. 50
============ Generate: 0 successful, 1 failed, 0 latest, skipped 0 ==========
In fact, it is very simple to put the lines of code that opencv contains files, such as # include "cv. H"
# Ifdef _ debug
# Define new debug_new
# Endif
If the above Code cannot be found in the project, you can directly put the lines of code containing the opencv file into the Class header file or staxf. H of the project.
Error c2061 when using opencv2: syntax error: identifier dest