Ask Your Question
0

Getting 'ACCESS_MASK': ambigous symbol error. [closed]

asked 2018-04-05 08:44:50 -0600

vps gravatar image

updated 2018-04-05 08:52:37 -0600

berak gravatar image

Hi, I am getting above error. I got the solution here link text but I want to use "Using namespace CV". If anyone have idea about this, let me know. Thanks.

opencv Version: 3.4.1 visual Studio: 2015 program start lines:

#include "opencv2/opencv.hpp"
#include <opencv2/core.hpp>
#include <opencv2/imgproc.hpp>
#include "opencv2/imgcodecs.hpp"
#include <opencv2/highgui.hpp>
#include <opencv2/ml.hpp>


#include "superpixelslic.h"
#include "centeroid.h"
#include "pylon.h"
#include "core.h"
#include "stereo.h"


#include <vector>
#include <iostream>
#include <stdio.h>
#include <string>
#include <algorithm>
#include <fstream>

using namespace cv;
using namespace cv::ml;
using namespace std;
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by berak
close date 2018-04-05 09:13:11.559308

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-04-05 09:09:21 -0600

vps gravatar image

updated 2018-04-05 09:13:42 -0600

Hi, I got the solution. I am using the "using namespace cv" and "using namespace std" inside the centeroid.h header file. I have removed this declaration and able to build the program. @berak..It will be great, if you close this question.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-04-05 08:44:50 -0600

Seen: 616 times

Last updated: Apr 05 '18