Friday, November 11, 2005
Installing OpenCV beta5 (0.9.7) in Cygwin
These are revised instructions from:
http://www.dh.aist.go.jp/~kimura/opencv/opencv-0.9.7.html.en
First of all, install the Windows version of OpenCV 0.9.7 from the binaries on Sourceforge. Then, run this script from within an empty directory in cygwin:
opencv-cygwin-install.sh
That's it! You can try running the OpenCV examples (C:/Program Files/OpenCV/samples/c/*.exe) from a cygwin shell to make sure the DLLs were built properly.
http://www.dh.aist.go.jp/~kimura/opencv/opencv-0.9.7.html.en
First of all, install the Windows version of OpenCV 0.9.7 from the binaries on Sourceforge. Then, run this script from within an empty directory in cygwin:
opencv-cygwin-install.sh
That's it! You can try running the OpenCV examples (C:/Program Files/OpenCV/samples/c/*.exe) from a cygwin shell to make sure the DLLs were built properly.
Comments:
<< Home
Hey -- I found this blog from Google. I took your shell script and updated it for version 1.0.0.
opencv-cygwin-install
opencv-cygwin-install
I ran into a couple problems with the 1.0.0 script, namely it needed to make the /usr/local/include before the opencv directory.
also it needed to copy the .hpp files, as well as the .h files.
otherwise things worked great! Here's my version:
http://people.csail.mit.edu/abachrac/opencv_cygwin/opencv-cygwin-install.sh
-=Abe
also it needed to copy the .hpp files, as well as the .h files.
otherwise things worked great! Here's my version:
http://people.csail.mit.edu/abachrac/opencv_cygwin/opencv-cygwin-install.sh
-=Abe
Here I am, with just another version. This version has PROGFILES set at the top, so if you have installed OpenCV in another location (or you are using a 64-bits edition of Windows), you can use this script and modify $PROGFILES. This script also re-fixes the bug fixed by Abe, but his fix may cause errors, while this one won't.
Post a Comment
<< Home
