User forums > Help

OpenCV and windows Vista

(1/1)

twhbender:
I am runing vista 32 and I am trying to learn opencv. Code::blocks and C++ was recommended to me. I know i have code::blocks installed correctly because i can build and run hello world. It cannot find the opencv headers. If I "#include cv.h" I get : no such file or directory. I followed some directions on how to link them up but they were designed for XP. Any help would be greatly appreciated.

ollydbg:

--- Quote from: twhbender on January 15, 2009, 08:39:28 am ---I am runing vista 32 and I am trying to learn opencv. Code::blocks and C++ was recommended to me. I know i have code::blocks installed correctly because i can build and run hello world. It cannot find the opencv headers. If I "#include cv.h" I get : no such file or directory. I followed some directions on how to link them up but they were designed for XP. Any help would be greatly appreciated.

--- End quote ---
Just like setting in devcpp, because both of them can use mingw compiler.
see here:
http://opencv.willowgarage.com/wiki/DevCpp

You need to set  include file directory
and  lib file directory.

See the wiki page here if you understand Chinese, even follow the screen shots.
http://www.opencv.org.cn/index.php/Codeblocks_MinGW_openCV

CodyJack:
hello,

i used xp, codeblocks find and compiles all but every file died with an windows erros message, even if i only compile hello word.

I use the pre1.1 of opencv

/edit: k seems to be a problem with the pre version 1.0 runs fine :-)

ollydbg:

--- Quote from: CodyJack on October 07, 2009, 07:53:21 pm ---hello,

i used xp, codeblocks find and compiles all but every file died with an windows erros message, even if i only compile hello word.

I use the pre1.1 of opencv

/edit: k seems to be a problem with the pre version 1.0 runs fine :-)

--- End quote ---

The Official OpenCV is 2.0a now and windows installer contains the libraries built under TDM-MinGW.
So, it's quite easy to use .

 :D

Navigation

[0] Message Index

Go to full version