Closed jacotec closed 1 year ago
Would be curious to see the proper answer, but I've faced the same issue today and just bumped c++ version as suggested in the warning:"deduced return type only available with ‘-std=c++14’"
So I just modified configure: cat configure | sed 's/std=c++11/std=c++14/g' > configure_new and run it: PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig ./configure_new
@Snakesms Awesome, thanks! That did it. I'll leave that open, because it should be fixed in the project.
@Snakesms Thank you, that did the trick 🥳
Thanks for the idea, my tweak is replace c++11 to c++14 before configure, sed -i 's/c++11/c++14/g' /usr/src/php/ext/pdlib/config.m4
@matiasdelellis Google does not take people to this page when searching for the c++14 error message above when compiling. Could you add a mention of this hack/workaround to https://github.com/matiasdelellis/facerecognition/wiki/PDlib-Installation to save people a few hours trying their won workarounds? Thanks.
thanks for this page to exist ! it worked :D but i was also wondering why there is no "apt install pdlib" yet ?
I always get the response: -bash: ./configure_new: Permission denied any idea how to fix?
I always get the response: -bash: ./configure_new: Permission denied any idea how to fix?
chmod +x ./configure_new
After PHP-Upgrade from 7.4 to 8.1 I need to rebuild the pblib for the Nextcloud Face Recognition.
Unfortunately, following exactly the install document, I'm getting a ton of errors trying to compile pdlib:
Any idea how to solve this?