Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to find "lopencv_flann246.lib".

Hi, I am new in the use of OpenCV and I have never succeded compiling the following code.

//www.youyube.com/watch?v=cgo0UitHfp8

include <iostream>

include "cv.h"

// #include "cv_bis.hpp"

include "highgui.h"

using namespace cv;

int main() { //Create matrix to store image. Mat image; //initialize capture.

VideoCapture cap;
cap.open(0);

//create window to store image.
namedWindow("window",1);

while(1)
{

    //copy webcam stream to image.

    cap>>image;

    //print image screen.
    imshow("window",image);

    //delay 33ms.
    waitKey(33);

}

return 0;

}

The debugger informs that the library "lopencv_flann246.lib" is not found as shown below


ld.exe||cannot find -lopencv_flann246.lib| ||=== Build finished: 1 errors, 0 warnings ===|


The point is that I checked on my laptop and I have never found it. I tried downloading OpenCV again, but it does not change anything.

Do I actually need this library ? - If yes, where can I download this library ? - If no, how do I make the computer ignoring this research ?

I hope it is handlable,

PS: I had no idea what to put in the tags, so, I put the most relevant (I do not know what it is made for, can anyone explain me ?).

Thank you by advance,

Kind regards,

Cédric.