Code::Blocks Forums

User forums => Help => Topic started by: twhbender on January 15, 2009, 08:39:28 am

Title: OpenCV and windows Vista
Post by: 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.
Title: Re: OpenCV and windows Vista
Post by: ollydbg on January 15, 2009, 03:17:12 pm
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.
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
Title: Re: OpenCV and windows Vista
Post by: 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 :-)
Title: Re: OpenCV and windows Vista
Post by: ollydbg on October 08, 2009, 02:24:58 am
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 :-)

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