Ask Your Question
0

opencv 2.4.3 and microsoft visual studio ultimate 2012

asked 2013-04-14 05:20:33 -0600

baila gravatar image

updated 2013-04-14 05:24:18 -0600

hello all, i am quite new in computer vision and need some help. I have written a sample program to show the frames of a .avi file. The code is compiled successfully. But it shows the following error while i am trying to execute from command prompt with a command line argument (the video file name).

image description

can anyone help me how to fix this error??

thanks in advance.

N.B. - i have added the path "C:\opencv\build\x86\vc10\bin" in Path (System) variable.

edit retag flag offensive close merge delete

Comments

hi.. copying those dlls to the Debug folder runs the program...but i think this is not the exact procedure.

secondly, while running it cant show a single frame. My sample video contains audio also (a music video basically). Is that a problem to work with such kind of files?

baila gravatar imagebaila ( 2013-04-14 05:41:44 -0600 )edit

3 answers

Sort by ยป oldest newest most voted
1

answered 2013-04-15 12:46:22 -0600

Hongbo Miao gravatar image

Hi, please check this:

http://answers.opencv.org/question/6495/visual-studio-2012-and-rtlfreeheap-error/#6603

If you use old OpenCV 2.43, please skip over the part for OpenCV 2.44.

Good luck.

edit flag offensive delete link more

Comments

Very nice guide indeed! Already referred people there a couple of times :)

StevenPuttemans gravatar imageStevenPuttemans ( 2013-04-15 13:17:18 -0600 )edit
1

answered 2013-04-28 12:03:03 -0600

baila gravatar image

hi all,

thanks for your great responses. The issue was resolved by restarting my machine. It seems that the changes in environment variable won't effect until you restart your machine after changing them. Sorry for my late response. Its working great with 2.4.3 version of opencv.

Thanks all. Happy thinking!

edit flag offensive delete link more
0

answered 2013-04-15 10:23:53 -0600

This error is like you already mentioned, caused because of multiple things. Check if all of the following things have been correctly configured

  1. Have you add all correct linker settings and links to the correct dll's in your project settings?
  2. Be sure to add the correct include folder to your PATH variable in your system.

Please check if all of the steps in this guide have been configured correctly on your system:

http://docs.opencv.org/doc/tutorials/introduction/windows_visual_studio_Opencv/windows_visual_studio_Opencv.html#windows-visual-studio-how-to

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-04-14 05:20:33 -0600

Seen: 618 times

Last updated: Apr 28 '13