Ask Your Question
0

installation opencv 2.4.2 using Codeblocks in windows 7

asked 2012-08-05 03:39:31 -0600

Hi there I really need your help.. I've tried to install opencv 2.4.2 using Codeblocks in windows 7, I could compile the sample code but when I ran it, It was only black window appear. It should load some picture instead.

I've put the picture in my project folder. What should i do ? I'm sorry my english is so bad :(

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2012-08-27 14:54:03 -0600

louarnold gravatar image

This happened to me also. Check if this program wants command line parameters. It may be missing the filename of an image in the command line.

Check the code for references to "argv" etc. Those lines try to access command line parameters. Comment out this lines and hard code the name of the image file. Then run it again.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-08-05 03:39:31 -0600

Seen: 1,263 times

Last updated: Aug 27 '12