OpenCV 3.1 with Contrib modules for Python - MinGW and Codelite on Windows
I have spent a week trying to compile Open CV with contrib modules for research and it has been a nightmare...
I am using cmake 3.5.0 to compile from opencv/sources. In the opencv folder I added the contrib modules and after cmake configures, I set the extra module path as opencv/contrib/modules.
Then after the files have been compiled for Codelite - MinGW, I have tried to build the OpenCV.project and the OpenCV.workspace.
Both of these end with mingw32-make.exe: * [all] Error 2
I have tried two PCs compiling, I have tried codeblocks, eclipse, codelite, VS2015 and all of them have failed - however I get the furthest in building with codelite so I will stick with this.
Here is the cmake log before adding the contrib files - http://pastebin.com/qTPdSjvW
Here is the cmake log for after - http://pastebin.com/wk4Wi7Eb
Here is the build log for building the opencv.project - http://pastebin.com/u7M0GTuz
At this point I would like to give up but I do not know of any other packages with opencv functionality...
I have on separate cmakes, built both the entire workspace and built the individual opencv.project, when I build the full workspace, for each individual file it does pretty much the same thing. Always the same error.
Here are my environment variables C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\TortoiseGit\bin;C:\Anaconda;C:\Anaconda\Scripts;C:\Anaconda\Library\bin;C:\MinGW\bin;C:\Program Files (x86)\CMake\bin;c:/MinGW/bin
Just incase someone points out that one is missing...
Thanks,
Jack
p.s I have virutally no other experience with cmake, so if I need to change some variables I will need some instructions on how to do it on windows - thanks!
Just as a side note, would it be better to use the python 3.5 build with contrib folders from http://www.lfd.uci.edu/~gohlke/python... ? I have no experience with 3.5 but if this contains the fullest set of modules I will try this
^^ forget that idea. those libs are unfortunately linked against dynamically build opencv libs, and those libs are not redistributed (so, worthless, imho)I managed to get them working via this method, if the code is being run on just one machine for data collection, is it really that bad? I am not making anything to be distributed
Thanks
ok, sorry. things have obviously changed, and i wasn't aware of it.