Error c2061 when using opencv2: syntax error: identifier dest

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.