centos5 - Having problems building OpenCV 2.0 on CentOS 5? -


I was trying to install Opansivi library on your Siotio system, but when I typed and Semicom

  [100%] Building CXX object test / CV / CMakeFiles / cvtest.dir / src / amoments.o [100%] Building CXX object test / CV / CMakeFiles: I get the following error / cvtest .dir / src / affine3d_estimator.o [100%] Building CXX object test / CV / CMakeFiles / cvtest.dir / src / acontours.o [100%] Building CXX object test / CV / CMakeFiles / cvtest.dir / src / ar eprojectImageTo3D.o Linking CXX execution ../../bin/cvtest CMakeFiles / cvtest.dir / src / highguitest.o: function `CV_HighGuiTest :: run (int) ': highguitest.cpp :( text._ZN14CV_HighGuiTest3runEi +. 0x15 ) Warning: '' the use of tmpnam dangerous, using Behtr` mkstemp '[100%] Built target cvtest make: *** [all] error 2  

Another interesting once I found the error:

  [99%] built target Meltist [99%] generated while generating Gyakai Traceback (most recent call last): file "/ Home / proje / OpenCV-2.1.0 / interfaces / python / gen.py ", pt 43, in the? Has_init and all is true, so (has_init [has_init.index (true):]): NameError: the name 'all' is not defined make-up [2]: *** [interface / dragon / generated0.i] error 1 Makeup [1]: *** [Interface / Python / CMakeFiles / cvpy.dir / all] Error 2 Makeup: *** [All] Error 2  

What could possibly be the cause of these errors is ? I have to install opencv instantly on this computer

I had this problem .. It is the Python interface. By default, Python is installed on 2.4

When OpenCV produces, it is confused by the Python version ...

So I call "Python interface" to "Cmake" And it was fine.

cmake -D CMAKE_BUILD_TYPE = Release-D CMAKE_INSTALL_PREFIX = / usr / local -D BUILD_NEW_PYTHON_SUPPORT = NO ..

But, of course you can not use OpenCV now with Python.


Comments