OpenCV
From Chaehyun
(Difference between revisions)
(Created page with '== OpenCV2.0이랑 VS2008 express 사용하기 == 출처 : http://peterkenji.blogspot.com/2009/12/building-opencv-20-with-visual-studio-c.html Hopefully I will spiff this post u…') |
(→OpenCV2.0이랑 VS2008 express 사용하기) |
||
Line 2: | Line 2: | ||
출처 : http://peterkenji.blogspot.com/2009/12/building-opencv-20-with-visual-studio-c.html | 출처 : http://peterkenji.blogspot.com/2009/12/building-opencv-20-with-visual-studio-c.html | ||
+ | |||
Hopefully I will spiff this post up with some screenshots, but fornow, let me just quickly note the steps that were required to get thisto build. | Hopefully I will spiff this post up with some screenshots, but fornow, let me just quickly note the steps that were required to get thisto build. | ||
- | Download and install VS C++ Express Edition | + | |
- | Download and install CMake. When the install asks, don't bother having it put on your System Path. | + | #Download and install VS C++ Express Edition |
- | Download and install OpenCV 2.0. There is a Windows installer. Note: This does not install a working open cv library . . . it is just the source files. Again, don't bother having the installer put OpenCV on your system path. | + | #Download and install CMake. When the install asks, don't bother having it put on your System Path. |
- | Run the CMake GUI in your CMake installation. For the source directory,indicate the OpenCV directory (probably C:\OpenCV2.0). For the builddirectory, specify a build directory that you've created (recommended:C:\OpenCV2.0\release). | + | #Download and install OpenCV 2.0. There is a Windows installer. Note: This does not install a working open cv library . . . it is just the source files. Again, don't bother having the installer put OpenCV on your system path. |
- | Click the Configure button. | + | #Run the CMake GUI in your CMake installation. For the source directory,indicate the OpenCV directory (probably C:\OpenCV2.0). For the builddirectory, specify a build directory that you've created (recommended:C:\OpenCV2.0\release). |
- | In the configuration options, disable OpenMP. You probably won't have this if you are using VS C++ Express Edition. | + | #Click the Configure button. |
- | Click the Configure button again. Then click Generate. | + | #In the configuration options, disable OpenMP. You probably won't have this if you are using VS C++ Express Edition. |
- | Go to your build directory (C:\OpenCV2.0\release). Open the VisualStudio Solution file. Once you're in Visual Studio, build the project(f7). This will take a while. | + | #Click the Configure button again. Then click Generate. |
- | You're done. When you create new projects, use the Lib and Includefiles in your build directory. (You'll need to add these to yourProject properties). I'll try to explain more later and maybe include asample test project. | + | #Go to your build directory (C:\OpenCV2.0\release). Open the VisualStudio Solution file. Once you're in Visual Studio, build the project(f7). This will take a while. |
+ | #You're done. When you create new projects, use the Lib and Includefiles in your build directory. (You'll need to add these to yourProject properties). I'll try to explain more later and maybe include asample test project. |
Latest revision as of 05:59, 2 February 2010
OpenCV2.0이랑 VS2008 express 사용하기
출처 : http://peterkenji.blogspot.com/2009/12/building-opencv-20-with-visual-studio-c.html
Hopefully I will spiff this post up with some screenshots, but fornow, let me just quickly note the steps that were required to get thisto build.
- Download and install VS C++ Express Edition
- Download and install CMake. When the install asks, don't bother having it put on your System Path.
- Download and install OpenCV 2.0. There is a Windows installer. Note: This does not install a working open cv library . . . it is just the source files. Again, don't bother having the installer put OpenCV on your system path.
- Run the CMake GUI in your CMake installation. For the source directory,indicate the OpenCV directory (probably C:\OpenCV2.0). For the builddirectory, specify a build directory that you've created (recommended:C:\OpenCV2.0\release).
- Click the Configure button.
- In the configuration options, disable OpenMP. You probably won't have this if you are using VS C++ Express Edition.
- Click the Configure button again. Then click Generate.
- Go to your build directory (C:\OpenCV2.0\release). Open the VisualStudio Solution file. Once you're in Visual Studio, build the project(f7). This will take a while.
- You're done. When you create new projects, use the Lib and Includefiles in your build directory. (You'll need to add these to yourProject properties). I'll try to explain more later and maybe include asample test project.