Undefined function issue appears when it comes to debug. I know it means that I did not put the right library in the folder. But I did so, and the same message still appear.Please be more specific. (show build logs, debugging logs)
#include "cv.h"
#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;
}
Ah, sorry, I just have paid attention to the rules of this forum and I have noticed that I might be against them.
What am I allowed to put on this forum ? And is my topic inlaw ?
Oh, I see. So, I can ask "how do I configure it", but not which element (library) to put.
It is more like "how to use code blocks ?" and less like "how do you recommand me to code this program ?"
But how do I show you how I configured it. Do I simply tell it to you ? Or I can add a file to this post.
The tell you it is missing option X; you then can come here and ask where do I enter in X.
So, the "build log" will be in both the site that support the library and in the compiler I am using. Am I right ?QuoteThe tell you it is missing option X; you then can come here and ask where do I enter in X.
I do not know what you mean by missing option.
And Does "X" correspond to "anything" ?
Choose your forum carefully
Be sensitive in choosing where you ask your question. You are likely to be ignored, or written off as a loser, if you:
post your question to a forum where it's off topic
post a very elementary question to a forum where advanced technical questions are expected, or vice-versa
cross-post to too many different newsgroups
post a personal e-mail to somebody who is neither an acquaintance of yours nor personally responsible for solving your problem
Hackers blow off questions that are inappropriately targeted in order to try to protect their communications channels from being drowned in irrelevance. You don't want this to happen to you.
If you PM me once more, I will ask that you be banned from this site!!!Its done already for a week. He PM'ed a lot people - that's not acceptable.