Open the Visual C++ .Net Application. In the menu bar, select Tools->Options
In the listing, choose Projects->VC++ Directories.
First, select Library files from the "Show Directories for" List Box.
Click the Insert New icon, and locate the folder where you have installed opencv.
- Consider that it is installed in "C:/Program Files/OpenCV".
- In the Library files list, locate and add:
"C:\Program Files\OpenCV\lib"
- In the Include files list, locate and add:
"C:\Program Files\OpenCV\cv\include"
"C:\Program Files\OpenCV\cxcore\include"
"C:\Program Files\OpenCV\otherlibs\highgui"
"C:\Program Files\OpenCV\cvaux\include"
"C:\Program Files\OpenCV\otherlibs\cvcam\include"
- In the Source files list, locate and add:
"C:\Program Files\OpenCV\cv\src"
"C:\Program Files\OpenCV\cxcore\src"
"C:\Program Files\OpenCV\cvaux\src"
"C:\Program Files\OpenCV\otherlibs\highgui"
"C:\Program Files\OpenCV\otherlibs\cvcam\src\windows"
This will permenantly add those files to your project settings so you do not have to manually edit the C++ and Linker properties
No comments:
Post a Comment