GUYs, pls help me in installing openCV in win7 64-bit, i downloaded opencv 2.3 its round about 141mb and it has some cmake files. i got it from here
http://sourceforge.net/projects/opencvlibrary/files/opencv-win/2.3.1/
and
i dont know how to proceed further?
sumit3gupta 0 Newbie Poster
Dani AI
Generated
Short answer for : you have two practical routes — use the Windows “prebuilt” package (fast) or build 64‑bit binaries yourself with CMake + Visual Studio (gives a true x64 build). is right that older prebuilt VS2008 packs can work on Win7, but those are often 32‑bit: on a 64‑bit machine you’ll get best results by either using a matching x64 prebuilt or building OpenCV for x64 yourself. (opencv.org.cn)
If you want the easiest path: grab the OpenCV Windows package that matches your compiler, unpack it to a short path (for example C:\OpenCV). Set an OPENCV_DIR environment variable to the build/install folder and add its bin folder to your PATH (so DLLs are found at runtime). A safe, minimal example to set the OpenCV directory from an administrator command prompt:
setx -m OPENCV_DIR "C:\OpenCV\Build\Install" Then add %OPENCV_DIR%\bin to the system Path via System Properties -> Environment Variables (editing Path there avoids common setx truncation problems). (opencv.org.cn)
If you need a true 64‑bit OpenCV (recommended on Win7 x64) build it from source: install CMake and a Visual Studio with the x64 toolchain (VS2010+ recommended), run cmake-gui pointing “source” to the opencv folder and “build” to a new build directory, choose the Visual Studio Win64 generator, Configure -> Generate, open OpenCV.sln in Visual Studio, then build ALLBUILD and INSTALL (Release). In your projects add the include path, the correct x64 lib folder, and link the opencv<module><version>.lib files (debug builds use names ending with d). Make sure your Visual Studio project platform is x64 if you built x64 libs. (opencv.org.cn)
Quick troubleshooting notes: unresolved linker errors usually mean missing .lib entries or architecture mismatch (x86 vs x64). “ImportError” or “cannot import cv2” in Python usually means Python vs OpenCV bitness mismatch — install/built OpenCV that matches your Python (32/64). Missing DLLs at runtime = bin not on PATH or DLLs not copied next to the exe. For details and screenshots, see the official OpenCV Windows installation and Visual Studio tutorials. (docs.opencv.org)
haroonaejaz 0 Newbie Poster
i dont know about the problem you are facing. but for me 2008 version works on windows 7
here id download link.
http://sourceforge.net/projects/opencvlibrary/files/opencv-win/2.1/OpenCV-2.1.0-win32-vs2008.exe/download
GUYs, pls help me in installing openCV in win7 64-bit, i downloaded opencv 2.3 its round about 141mb and it has some cmake files. i got it from here
http://sourceforge.net/projects/opencvlibrary/files/opencv-win/2.3.1/
and
i dont know how to proceed further?
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.