Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Errors with OpenCV in Eclipse

Hello,

I'm running a project on Ubuntu 14.04. I have followed most guides on installing OpenCV and I'm at the end of my ropes. Errors that are of the form "‘CV_CALIB_ZERO_DISPARITY’ was not declared in this scope" and "Function 'cvCreateMat' could not be resolved" appear for almost all instances that make reference to OpenCV. What could be the cause of this problem? Changes I have made are linking the libraries by http://docs.opencv.org/2.4/doc/tutorials/introduction/linux_eclipse/linux_eclipse.html and putting ${FLAGS} at the end of the command line patterm in Expert settings in the C++ Linker. Any advice on what I should do would be very helpful as I'm nearing the deadline for this project.

Errors with OpenCV in Eclipse

Hello,

I'm running a project on Ubuntu 14.04. I have followed most guides on installing OpenCV and I'm at the end of my ropes. Errors that are of the form "‘CV_CALIB_ZERO_DISPARITY’ was not declared in this scope" and "Function 'cvCreateMat' could not be resolved" appear for almost all instances that make reference to OpenCV. What could be the cause of this problem? Changes I have made are linking the libraries by http://docs.opencv.org/2.4/doc/tutorials/introduction/linux_eclipse/linux_eclipse.html and putting ${FLAGS} at the end of the command line patterm in Expert settings in the C++ Linker. Any advice on what I should do would be very helpful as I'm nearing the deadline for this project.helpful.

Errors with OpenCV in Eclipse

Hello,

I'm running a project on Ubuntu 14.04. 14.04 with OpenCV 3.0.0 and Eclipse MARS installed. I have followed most guides on installing OpenCV and I'm at the end of my ropes. Errors that are of the form "‘CV_CALIB_ZERO_DISPARITY’ was not declared in this scope" and "Function 'cvCreateMat' could not be resolved" appear for almost all instances that make reference to OpenCV. What could be the cause of this problem? Changes I have made are linking the libraries by http://docs.opencv.org/2.4/doc/tutorials/introduction/linux_eclipse/linux_eclipse.html and putting ${FLAGS} at the end of the command line patterm in Expert settings in the C++ Linker. Any advice on what I should do would be very helpful.

Errors with Downloaded two versions of OpenCV in Eclipseand Eclipse cannot compile

Hello,

I'm running a project on Ubuntu 14.04 with OpenCV 3.0.0 and Eclipse MARS installed. I have followed most guides on installing OpenCV and I'm at the end of my ropes. Errors that are of the form "‘CV_CALIB_ZERO_DISPARITY’ was not declared in this scope" and "Function 'cvCreateMat' could not be resolved" appear for almost all instances that make reference to OpenCV. What could be the cause of this problem? Changes I have made are linking the libraries by http://docs.opencv.org/2.4/doc/tutorials/introduction/linux_eclipse/linux_eclipse.html and putting ${FLAGS} at the end of the command line patterm in Expert settings in the C++ Linker. Any advice on what I should do would be very helpful.

Update* I believe the reason for this is because I accidentily installed 3.1.0 and 2.4.0 which is why the computer cannot recognize OpenCV modules. Does anyone know how I can fix this and if my assumption is correct?