Undeclared identifier problem in 3.0.0 alpha (Bug #3999)


Added by Yida Wang over 10 years ago. Updated over 10 years ago.


Status:Cancelled Start date:2014-11-07
Priority:Normal Due date:
Assignee:Yida Wang % Done:

100%

Category:core
Target version:3.0
Affected version:branch 'master' (3.0-dev) Operating System:Windows
Difficulty:Easy HW Platform:x64
Pull request:

Description

In my program, I use CV_Assert_(clsIdx[clsIdx.size() - 1] >= 0, ("Invalidate class name\n")) and the visual studio warned me that: "error C2065: 'CV_StsAssert' : undeclared identifier".

The problem lies in the "core.hpp", there should be included some file and the "core.hpp" should add a line of code:

#include "opencv2/core/types_c.h"

And the problem just been solved

the file which is modified by me has been attached with this issue.


core.hpp (2.3 kB) Yida Wang, 2014-11-07 09:18 am


Associated revisions

Revision 09c26d68
Added by Vadim Pisarevsky almost 10 years ago

Merge pull request #3999 from berak:features2d_tutorial_fix

History

Updated by Ilya Lavrenov over 10 years ago

Hi Yida,
Could you submit a pull request?

Updated by Ilya Lavrenov over 10 years ago

  • Assignee changed from Gary Bradski to Yida Wang

Updated by Philip L over 10 years ago

canceling this due to solved main problem with new constants.
see http://code.opencv.org/issues/4000 where these kind of problems were solved.

  • Status changed from New to Cancelled

Also available in: Atom PDF