Ask Your Question

INstalling OpenCV

asked 2017-01-05 14:52:44 -0500

Hi guys just downloadOpenCV , and have a question on how to install it as a static ? witch files do i need ? will i be okay just copying include folder to my project folder ? or do i need something more , also i need it only for c++ so don't want to include java and others as well because i have no use i them

edit retag flag offensive close merge delete


i need static not dynamic way

egizz983 gravatar imageegizz983 ( 2017-01-05 15:06:58 -0500 )edit

you have to build yourself using cmake :

git clone

and run cmake

LBerger gravatar imageLBerger ( 2017-01-05 15:11:57 -0500 )edit

cmake will just build me solution i am asking how to install OpenCV saticly on my project ? would be enought to copy libs and includes ?

egizz983 gravatar imageegizz983 ( 2017-01-05 15:36:25 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2017-01-06 02:37:54 -0500

berak gravatar image

if you are using vs2015, you can download binaries , which already contain static libs .

(never try to copy anything to your project dir, rather set up include / linker paths in your ide.)

for any other version you have to run cmake with:


to produce static libs.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-01-05 14:52:44 -0500

Seen: 127 times

Last updated: Jan 06 '17