User forums > Help

Problem with opencv library (fatal error : No such file or directory)

(1/5) > >>

Zekk:
Hello everyone,

I want to use opencv library (v.2.4.5) with C::B (v.12.11) I have followed the instruction bellow (http://opencv.willowgarage.com/wiki/CodeBlocks), and I also set the PATH variable environnement on this adress : C:\opencv\bluid\x86\mingw\bin (my opencv library was extract in C:\).

But when I try to test a sample program like  "demhist" in the folder "C:\OpenCV\samples\cpp\demhist.cpp", I have the following message : fatal error : imgproc.hpp : No such file or directory

I'm looking for a solution since yesterday but I can't find anything.

Do you have any suggestions ?

BlueHazzard:
have you done step 3 to 6?

Zekk:
yes, I even try to uninstall/reinstall Code Blocks and restart the steps

BlueHazzard:
search for the  improc.hpp  and add the the path to the search directories....

Zekk:
They are two files  imgproc.hpp.

The first is in C:\opencv\build\include (I already add this one)
The second is in C:\opencv\module

Even if I add the  adress in Search directories (Compiler), it's still not work

Navigation

[0] Message Index

[#] Next page

Go to full version