From 4c5e0c7ad155e93c05ce71d133afcde705e01262 Mon Sep 17 00:00:00 2001 From: Matias De lellis Date: Wed, 22 Feb 2023 22:27:09 -0300 Subject: [PATCH] I can't get the version of dlib without compiling it using cmake. --- pdlib.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pdlib.cc b/pdlib.cc index 933531d..81b54ac 100644 --- a/pdlib.cc +++ b/pdlib.cc @@ -35,7 +35,7 @@ extern "C" { #include "src/face_landmark_detection.h" #include "src/vector.h" -#include +//#include /* If you declare any globals in php_pdlib.h uncomment this: ZEND_DECLARE_MODULE_GLOBALS(pdlib) @@ -221,9 +221,9 @@ PHP_MINFO_FUNCTION(pdlib) php_info_print_table_start(); php_info_print_table_header(2, "pdlib support", "enabled"); - php_info_print_table_row(2, "pdlib extension version", PHP_PDLIB_VERSION); - snprintf(buf, sizeof(buf), "%d.%d.%d", DLIB_MAJOR_VERSION, DLIB_MINOR_VERSION, DLIB_PATCH_VERSION); - php_info_print_table_row(2, "dlib library version", buf); +// php_info_print_table_row(2, "pdlib extension version", PHP_PDLIB_VERSION); +// snprintf(buf, sizeof(buf), "%d.%d.%d", DLIB_MAJOR_VERSION, DLIB_MINOR_VERSION, DLIB_PATCH_VERSION); +// php_info_print_table_row(2, "dlib library version", buf); #ifdef DLIB_USE_CUDA php_info_print_table_header(2, "DLIB_USE_CUDA", "true"); #else