php-h3
php-h3 copied to clipboard
PHP binding for Uber's H3 spatial coordinate library. https://uber.github.io/h3
make install ``` /bin/bash /var/www/docker/php-h3/libtool --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/var/www/docker/php-h3 -DPHP_ATOM_INC -I/var/www/docker/php-h3/include -I/var/www/docker/php-h3/main -I/var/www/docker/php-h3 -I/usr/include/php/20180731 -I/usr/include/php/20180731/main -I/usr/include/php/20180731/TSRM -I/usr/include/php/20180731/Zend -I/usr/include/php/20180731/ext -I/usr/include/php/20180731/ext/date/lib -DHAVE_CONFIG_H -g -O2 -lh3 -std=c99 -c /var/www/docker/php-h3/distance.c -o distance.lo libtool:...
Followed latest install instructions: https://h3geo.org/docs/installation I am on Ubuntu Focal. Next, running ./configure as per the php-h3 install instructions, I get a failure with the message: ``` ... Stuff ......
Building causes lots of warnings and notes around expecting different types and casting without conversions. ``` /tmp/build/php-h3/h3.c: In function 'zif_getH3UnidirectionalEdgesFromHexagon': /tmp/build/php-h3/h3.c:817:64: warning: passing argument 1 of 'zend_register_resource' makes pointer from...