Installation steps for windows XP CodeBlocks.

asked 2016-01-12 23:39:56 -0500

ADVANCESSSS gravatar image

Firstly, let me ask if these were the only things I had to do:

  1. Download OpenCV.

  2. Extract it.

  3. Open CodeBlocks and add the library.

edit retag flag offensive close merge delete


Oh and if I download Build/Version 3 of CV then does that mean I can't skip the step "make the libraries" being since all come unmade? (I may be super incorrect here lol)

ADVANCESSSS gravatar imageADVANCESSSS ( 2016-01-12 23:44:08 -0500 )edit

the prebuild binaries are all useless for mingw, you have to build from src using cmake

berak gravatar imageberak ( 2016-01-13 00:17:17 -0500 )edit

But there is a way to skip them right? Only if I get Visual Studio?

ADVANCESSSS gravatar imageADVANCESSSS ( 2016-01-13 00:32:08 -0500 )edit


berak gravatar imageberak ( 2016-01-13 00:34:21 -0500 )edit

I seen this tutorial on how to add the directories&headers&linkers in CodeBlocks like any library and he had it working just like that no Cmake-ing, you sure I can't skip the Cmake-ing and just use CodeBlocks?

ADVANCESSSS gravatar imageADVANCESSSS ( 2016-01-13 00:44:49 -0500 )edit

your tutorial is outdated, then. opencv stopped shipping prebuild mingw libs since ~2.4.6

give up, get cmake .

berak gravatar imageberak ( 2016-01-13 00:48:16 -0500 )edit

The video is 4 years old. Doesn't the easy way out not give me Numpy? Don't I need that to get the image's binary I think I heard?

ADVANCESSSS gravatar imageADVANCESSSS ( 2016-01-13 00:56:54 -0500 )edit

you only need numpy, if you intend to build the python wrappers

berak gravatar imageberak ( 2016-01-13 00:59:51 -0500 )edit

So no?...Also are you sure I can get a image's binary to send to a function if I take the easy way out?

ADVANCESSSS gravatar imageADVANCESSSS ( 2016-01-13 01:08:04 -0500 )edit

sorry, but i did not understand your last question.

berak gravatar imageberak ( 2016-01-13 01:13:53 -0500 )edit