php-opencv icon indicating copy to clipboard operation
php-opencv copied to clipboard

Installation on CentOS

Open Dmitriyverkhov opened this issue 7 years ago • 2 comments

Hi! I have no doubt how to install it on CentOS6.

Dmitriyverkhov avatar Sep 15 '18 17:09 Dmitriyverkhov

https://github.com/hihozhou/php-opencv/issues/38

morozovsk avatar Sep 18 '18 14:09 morozovsk

@Dmitriyverkhov I don't know if you're still looking into this, but I got it building on CentOS 6 and 7 using CentOS Software Collections. https://www.softwarecollections.org/en/

yum -y install centos-release-scl && yum makecache
yum -y install devtoolset-7-gcc devtoolset-7-gcc-c++
scl enable devtoolset-7 bash
make && make install

The issue is that the system-provided gcc/g++ are much too old and don't understand some of newer syntax.

estelsmith avatar Nov 02 '18 00:11 estelsmith