Undeclared identifier problem in 3.0.0 alpha (Bug #3999)
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.
Associated revisions
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