我正在使用PHP-CPP創建PHP擴展來調用C++函數。 我通過PHP-CPP將我的cpp集成到cpp的示例代碼後解決了許多錯誤。但我被困在下面的錯誤, CapPicture.cpp: In function ‘void* get_module()’:
CapPicture.cpp:72:45: error: no matching function for call to ‘Php::Exte
我使用php-cpp爲我的php代碼創建擴展,當我嘗試編譯main.cpp的簡單結構時文件,我得到一些奇怪的錯誤。 這是編譯錯誤: g++ -std=gnu++11 main.cpp
In file included from lib/phpcpp/phpcpp.h:39:0,
from main.cpp:122:
lib/phpcpp/type.h:32:1: warning: