Code::Blocks Forums
User forums => Help => Topic started 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.
-
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
-
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 :-)
-
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