php-opencv
php-opencv copied to clipboard
Could Not Find Open Cv After After compiling and building open cv
I keep getting this error when i attemp using this command ./configure --with-php-config=/opt/lampp/bin/php-config --enable-debug
checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for PHP prefix... /opt/lampp checking for PHP includes... -I/opt/lampp/include/php -I/opt/lampp/include/php/main -I/opt/lampp/include/php/TSRM -I/opt/lampp/include/php/Zend -I/opt/lampp/include/php/ext -I/opt/lampp/include/php/ext/date/lib checking for PHP extension directory... /opt/lampp/lib/php/extensions/no-debug-non-zts-20170718 checking for PHP installed headers prefix... /opt/lampp/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... no checking for nawk... nawk checking if nawk is broken... no checking for opencv support... yes, shared checking for php debug... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for pkg-config... found checking for opencv... not found configure: error: Ooops ! no opencv detected in the system
OpenCV detected using pkg-config
pkg-config opencv4 --modversion
or
pkg-config opencv --modversion
its not found
but if i run thi it shows all the library pkg-config --libs opencv
i installed and compiled it at my home (~) directory