overview needed for opencv setup on windows using eclipse
I've really been struggling to get open CV to work with python and eclipse over the last few days. I've tried alsorts, and feel thurley beaten.
Because i've installed so much, i'm wondering if I need to start afresh, with a "dummy's guide" to getting this library working with eclipse and Python.
1) I have:
windows 7 (64 bit)
Eclipse Luna Service Release 1 (4.4.1) with pydev (3.9.1.201501081637)
Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] on win32
Python 3.4.2 (v3.4.2:ab2c023a9432, Oct 6 2014, 22:15:05) [MSC v.1600 32 bit (Intel)] on win32
numpty version 1.6.1 (not sure if its 32 or 64 bit)
Cmake-gui 3.1
I also have an un built (compiled version of numpty 1.91 sitting on my desktop un built (compiled) because i dont know how to do it.)
opencv version, not sure, because I have a folder on my c drive with many folders in it but the top 2 are build and sources. I haven't built (compiled) open cv, just downloaded and extracted it to my C drive.
2) Could someone explain the nuts and bolts of a python file using open CV and numpty, within eclipse? in particular how the file structure works? Should the open cv library be an exe or dll, why are there no windows installation files? should numpty be an exe or dll? What tests could I go through to verify that my installation is working? that kind of thing.
3) I don't think i fully understand the many setup tutorials I have read, I think i'm missing something fundamental. Because i'm not using visual studio, do I have to build open CV and Numpty from the source files?
Please can someone point me in the correct direction, because I feel as though i'm swimming in circles! Ideally, a step by step guide in how to build this library and solve build issues using cmake-gui. I have tried many, but seem to get stuck at the make stage.
I understand about leaving eclipse till later. Is it ok to use GUI of cmake, as opposed to the cmdline? could you point me in the direction of an Idiot's tutorial to building opencv using cmake? I'm following https://www.cvl.isy.liu.se/education/... but i get stuck at the make stage.
yes cmake-gui is ok as well. just set your CMAKE_MAKE_PROGRAM to path/to/mingw32-make.exe
(that's where it fails for most folks)
I know you advised to leave eclipse till later, but I didn't fully understand your answer. I'm a novice library builder! However, I managed to get to the very last step in the above link, by pointing the CMAKE_ECLIPSE_EXECUTABLE to the location of my eclipse.exe; but don't know how to "Add %OPENCV_DIR%\bin to the system PATH". Do I add things to the system path in eclipse or using windows cmd? Could you please spell it out how to do this, thanks.
sorry found out how to do this using windows! http://www.howtogeek.com/118594/how-t...