First time here? Check out the FAQ!

Ask Your Question
0

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

asked Apr 5 '18

vps gravatar image

updated Apr 5 '18

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;
Preview: (hide)

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 Apr 5 '18

vps gravatar image

updated Apr 5 '18

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.

Preview: (hide)

Question Tools

1 follower

Stats

Asked: Apr 5 '18

Seen: 630 times

Last updated: Apr 05 '18