You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling on windows does not work when done using the lz4 library source code. This can probably be fixed by producing the proper nmake makefiles for it. A quicker workaround is to compile the liblz4 visual studio project, take the produced library liblz4_static.lib rename it to liblz4.lib and put it in the folder: <php source root>\no\lib\
Also copy the header files lz4.h and lz4hc.h to the folder <php source root>\no\include\
If the desired outcome is an extension dll edit config.w32 in the lz4 extension folder and replace the EXTENSION lines with: EXTENSION("lz4", "lz4.c", true, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
This last step is only necessary if someone like myself does not know how to get the PHP_LZ4_SHARED variable to have true as a value and a dll is preferred to a monolitic php build.
The text was updated successfully, but these errors were encountered:
Compiling on windows does not work when done using the lz4 library source code. This can probably be fixed by producing the proper nmake makefiles for it. A quicker workaround is to compile the liblz4 visual studio project, take the produced library liblz4_static.lib rename it to liblz4.lib and put it in the folder:
<php source root>\no\lib\
Also copy the header files lz4.h and lz4hc.h to the folder
<php source root>\no\include\
If the desired outcome is an extension dll edit config.w32 in the lz4 extension folder and replace the EXTENSION lines with:
EXTENSION("lz4", "lz4.c", true, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
This last step is only necessary if someone like myself does not know how to get the PHP_LZ4_SHARED variable to have true as a value and a dll is preferred to a monolitic php build.
The text was updated successfully, but these errors were encountered: