tags:

views:

86

answers:

1

Hi,

I'm using OpenCV for the first time (Windows, Eclipse), after installing and configuring Eclipse using this manual:

http://tommy.chheng.com/development/windows_development_setup.html

I tried running the example, but nothing happens after build!

when the program reaches this line:

img=cvLoadImage(argv[1]);

it just stops. I tried printing to screen before and after this command, but nothing happens. it does print to screen only when I comment out the entire code (great, ha?...)

I also tried:

img=cvLoadImage(argv[1], -1);

but still, no good..

Thanks so much for any help. Chen.

A: 

Are you sure that <...>\OpenCV\bin has been permanently added to the system PATH? It requires a restart of windows.