4 Commits

Author SHA1 Message Date
Malvin Lok
92a97cbde9 Merge pull request #49 from brccabral/master
Update pdlib installation
2022-08-20 13:18:34 +08:00
Bruno Cabral
94bbcb9c6d Update pdlib installation
Just doing `./configure --enable-debug` fails with `configure: error: dlib-1 not found`.
Needed to indicate the dlib install location for it to work
`PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure --enable-debug`
I got it from https://discuss.getsol.us/d/5423-compiled-library-not-found
2022-08-01 19:01:25 -07:00
goodspb
cedaecc76b Merge pull request #37 from remicollet/issue-php8rc1
relax test for 8.0.0RC1
2020-10-01 13:28:00 +08:00
Remi Collet
a31d3bc709 relax test for 8.0.0RC1 2020-09-30 09:46:46 +02:00
4 changed files with 5 additions and 3 deletions

View File

@@ -36,6 +36,8 @@ git clone https://github.com/goodspb/pdlib.git
cd pdlib
phpize
./configure --enable-debug
# you may need to indicate the dlib install location
# PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure --enable-debug
make
sudo make install
```

View File

@@ -11,5 +11,5 @@ try {
}
?>
--EXPECTF--
string(68) "CnnFaceDetection::__construct() expects exactly 1 parameter, 0 given"
string(%d) "CnnFaceDetection::__construct() expects exactly 1 %s, 0 given"

View File

@@ -16,5 +16,5 @@ try {
}
?>
--EXPECTF--
string(73) "FaceLandmarkDetection::__construct() expects exactly 1 parameter, 0 given"
string(%d) "FaceLandmarkDetection::__construct() expects exactly 1 %s, 0 given"
string(45) "Unable to open non-existent file for reading."

View File

@@ -11,4 +11,4 @@ try {
}
?>
--EXPECTF--
string(67) "FaceRecognition::__construct() expects exactly 1 parameter, 0 given"
string(%d) "FaceRecognition::__construct() expects exactly 1 %s, 0 given"