Why does the compilation of opencv download lots of things?

asked 2018-05-14 01:16:22 -0500

Yves gravatar image

updated 2018-05-14 02:00:24 -0500

I just downloaded the opencv 3.3.1 from the official website and compiled it successfully.

I've found that it downloaded many data files and put them into a hidden directory: .cache, whose size is 113 MB.

I think this directory is used to do some tests while compiling.

If I'm right, is it possible to pass over this download and these tests so that I can compile the whole opencv without Internet?

BTW, I have to choose 3.3.1 because my project depends on this version and I have no right to use another.

edit retag flag offensive close merge delete

Comments

3.3.1 is outdated, why did you choose that ?

berak gravatar imageberak ( 2018-05-14 01:18:51 -0500 )edit

@break Because my project depends on this version.

Yves gravatar imageYves ( 2018-05-14 01:39:26 -0500 )edit