build opencv project from source
I forked the OpenCV project from git://github.com/Itseez/opencv.git yesterday and wanted to make some changes to the source. Before making any changes, I wanted to test it by building the project.
I tried to build it from the source using:
$mkdir build
$cd build
$cmake ..
$make
All the above commands run fine. But when I run
$sudo make install
I get an error saying cv.py file is missing and the build fails. I was wondering if anyone else have this issue.
Did you try to build sources from 2.4 branch?
I have not. The main purpose for my fork was to make changes, request a pull from my changes to source code. I'm not very good at git. I don't know if it is appropriate to make a fork of older version, make changes and request them to pull my changes (made on older one). Let me if I'm missing something.
When I run a
$sudo make install
I get the following error CMake Error at modules/python/cmake_install.cmake:56 (FILE): file INSTALL cannot find "path_to_project/opencv/modules/python/src2/cv.py". Call Stack (most recent call first): modules/cmake_install.cmake:77 (INCLUDE) cmake_install.cmake:57 (INCLUDE)make: * [install] Error 1
Try: "git checkout -b 2.4 origin/2.4" and build it. OpenCV's branches mission you can find at contributions page: http://code.opencv.org/projects/opencv/wiki/How_to_contribute.