Error compiling github version Apr 18, 2013 (Bug #2993)


Added by Rel Guzman Apaza almost 12 years ago. Updated over 11 years ago.


Status:Done Start date:2013-04-27
Priority:High Due date:
Assignee:Vadim Pisarevsky % Done:

0%

Category:build/install
Target version:3.0
Affected version:branch 'master' (2.4.9) Operating System:
Difficulty: HW Platform:
Pull request:

Description

After sudo make install

...

-- Up-to-date: /usr/local/lib/libopencv_softcascade.so
-- Up-to-date: /usr/local/include/softcascade.hpp
-- Up-to-date: /usr/local/lib/python2.7/dist-packages/cv2.so
CMake Error at modules/python/cmake_install.cmake:56 (FILE):
  file INSTALL cannot find
  "/media/DATOS/OPENCV-REPOSITORY/opencvTEST/modules/python/src2/cv.py".
Call Stack (most recent call first):
  modules/cmake_install.cmake:77 (INCLUDE)
  cmake_install.cmake:55 (INCLUDE)

make: *** [install] Error 1

Its an error? or why its happening?


Associated revisions

Revision 603030b0
Added by Vadim Pisarevsky over 10 years ago

Merge pull request #2993 from vbystricky:oclopt_warp_affine

History

Updated by Prasan Samtani almost 12 years ago

FYI I ran into the same issue. If you don't care about python support, simply comment out the last line in modules/python/CMakeLists.txt

After sudo make install

...

-- Up-to-date: /usr/local/lib/libopencv_softcascade.so
-- Up-to-date: /usr/local/include/softcascade.hpp
-- Up-to-date: /usr/local/lib/python2.7/dist-packages/cv2.so
CMake Error at modules/python/cmake_install.cmake:56 (FILE):
file INSTALL cannot find
"/media/DATOS/OPENCV-REPOSITORY/opencvTEST/modules/python/src2/cv.py".
Call Stack (most recent call first):
modules/cmake_install.cmake:77 (INCLUDE)
cmake_install.cmake:55 (INCLUDE)

make: *** [install] Error 1

Its an error? or why its happening?

Updated by Stepan Da almost 12 years ago

Rel Guzman Apaza wrote:

After sudo make install

...

-- Up-to-date: /usr/local/lib/libopencv_softcascade.so
-- Up-to-date: /usr/local/include/softcascade.hpp
-- Up-to-date: /usr/local/lib/python2.7/dist-packages/cv2.so
CMake Error at modules/python/cmake_install.cmake:56 (FILE):
file INSTALL cannot find
"/media/DATOS/OPENCV-REPOSITORY/opencvTEST/modules/python/src2/cv.py".
Call Stack (most recent call first):
modules/cmake_install.cmake:77 (INCLUDE)
cmake_install.cmake:55 (INCLUDE)

make: *** [install] Error 1

Its an error? or why its happening?

I have exactly the same problem.
Did u find the solution?

Updated by Anna Kogan almost 12 years ago

Hello Rel,
Thank you for reporting the issue. Now OpenCV is undergoing large infrastructure changes, and your problem is caused by it. I suggest you try the latest version from our gitHub repo, and if it doesn't work either and you could fix the problem on your side, a pull request in our GitHub repo would be highly appreciated!

  • Target version set to 3.0
  • Description changed from After sudo make install ... -- Up-to-date: /usr/local/lib/libopencv_softcas... to After sudo make install <pre> ... -- Up-to-date: /usr/local/lib/libope... More
  • Assignee changed from Andrey Kamaev to Vadim Pisarevsky

Updated by Vladislav Vinogradov over 11 years ago

The issue was fixed in commit

  • Status changed from Open to Done

Also available in: Atom PDF