Having problems building OpenCV 2.0 on CentOS 5?

Posted by Hayri Ugur KOLTUK on Stack Overflow See other posts from Stack Overflow or by Hayri Ugur KOLTUK
Published on 2010-05-16T21:54:54Z Indexed on 2010/05/16 22:00 UTC
Read the original article Hit count: 627

Filed under:
|

Hi all!

I'd been trying to install OpenCV library to my centos system however when i type make and hit enter after configuring with cmake, i get the following error:

[100%] Building CXX object tests/cv/CMakeFiles/cvtest.dir/src/amoments.o [100%] Building CXX object tests/cv/CMakeFiles/cvtest.dir/src/affine3d_estimator.o [100%] Building CXX object tests/cv/CMakeFiles/cvtest.dir/src/acontours.o [100%] Building CXX object tests/cv/CMakeFiles/cvtest.dir/src/areprojectImageTo3D.o Linking CXX executable ../../bin/cvtest CMakeFiles/cvtest.dir/src/highguitest.o: In function CV_HighGuiTest::run(int)': highguitest.cpp:(.text._ZN14CV_HighGuiTest3runEi+0x15): warning: the use oftmpnam' is dangerous, better use `mkstemp' [100%] Built target cvtest make: * [all] Error 2

and interesting, once i got this error:

[ 99%] Built target mltest [ 99%] Generating generated0.i Traceback (most recent call last): File "/home/proje/OpenCV-2.1.0/interfaces/python/gen.py", line 43, in ? if True in has_init and not all(has_init[has_init.index(True):]): NameError: name 'all' is not defined make[2]: * [interfaces/python/generated0.i] Error 1 make[1]: [interfaces/python/CMakeFiles/cvpy.dir/all] Error 2 make: ** [all] Error 2

What possibly is the cause of these errors? I need to install opencv immediately on this computer.

Best regards,

Hayri Ugur KOLTUK

© Stack Overflow or respective owner

Related posts about opencv

Related posts about centos5