Ask Your Question

galaxyeagle's profile - activity

2015-08-21 04:07:58 -0600 received badge  Student (source)
2015-06-05 03:38:41 -0600 received badge  Scholar (source)
2015-06-03 10:26:13 -0600 asked a question AdjusterAdapter class missing in OpenCV 3.0.0 ?

Hi friends,

I was trying to configure a ROS Package which used the AdjusterAdapter class of OpenCV when the error popped up that

error: ‘AdjusterAdapter’ is not a member of ‘cv’

I have OpenCV 3.0.0 installed. Does it lack this class. If yes, then how should I resolve my issue ?

2015-05-17 05:29:40 -0600 commented answer Window name as unidentified identifier in simple program

ok, when I changedall imported lib and .h files from build\x64 folder, the error 1 above is removed but

Error   2   error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source?   C:\opencv_examples\opencv_sanitytest\ex1\ex1\ex1.cpp    10  1   ex1

is now coming. If I include the stdafx.h, a huge number of other errors come. Please help

2015-05-17 05:17:12 -0600 commented answer Window name as unidentified identifier in simple program

yea, that error is avoided. However two more errors have come :

Error   1   error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'   C:\opencv_examples\opencv_sanitytest\ex1\ex1\opencv_highgui300.lib(window.obj)  ex1
    2   IntelliSense: PCH warning:  c:\opencv_examples\opencv_sanitytest\ex1\ex1\ex1.cpp    1   1   ex1

I have an x86 machine but chose x64 as the solution platform as there was no x86 option

2015-05-17 03:46:51 -0600 asked a question Window name as unidentified identifier in simple program

I am a beginner in OpenCV and VC++. I wrote the below introductory program to display a picture :

#include "stdafx.h"
#include <highgui.h>
int main(int argc, char** argv) {
IplImage* img = cvLoadImage("C:\\flower.jpg",1);
cvNamedWindow(“Example1”, CV_WINDOW_AUTOSIZE);
cvShowImage(“Example1”, img);
cvWaitKey(0);
cvReleaseImage(&img);
cvDestroyWindow(“Example1”);
  }

In this , I'm getting the following error :

Error   1   error C2065: '“Example1”' : undeclared identifier   C:\opencv_examples\opencv_sanitytest\ex1\ex1\ex1.cpp    5   1   ex1
Error   2   error C2065: '“Example1”' : undeclared identifier   C:\opencv_examples\opencv_sanitytest\ex1\ex1\ex1.cpp    6   1   ex1
Error   3   error C2065: '“Example1”' : undeclared identifier   C:\opencv_examples\opencv_sanitytest\ex1\ex1\ex1.cpp    9   1   ex1
4   IntelliSense: identifier "“Example1”" is undefined  c:\opencv_examples\opencv_sanitytest\ex1\ex1\ex1.cpp    5   16  ex1

I think that some header files are missing perhaps. Any help would be appreciated.