trying to compile a newer version of Domoticz (now running self compiled 2024.4 #15960) but I encounter an error:
Code: Select all
>make
[ 0%] Building C object extern/minizip/CMakeFiles/minizip.dir/zip.c.o
/home/user/DomoticzSRC/domoticz/extern/minizip/zip.c: In function ‘zipOpenNewFileInZip4_64’:
/home/user/DomoticzSRC/domoticz/extern/minizip/zip.c:1248:28: Error: assignment to ‘const long unsigned int *’ from incompatible pointer type ‘const uint32_t *’ {aka ‘const unsigned int *’} [-Wincompatible-pointer-types]
1248 | zi->ci.pcrc_32_tab = get_crc_table();
| ^
make[2]: *** [extern/minizip/CMakeFiles/minizip.dir/build.make:104: extern/minizip/CMakeFiles/minizip.dir/zip.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:855: extern/minizip/CMakeFiles/minizip.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
Code: Select all
cmake -DOPENSSL_INCLUDE_DIR=/usr/include/openssl -DOPENSSL_SSL_LIBRARY=/lib64/libssl.so -DOPENSSL_CRYPTO_LIBRARY=/lib64/libcrypto.so -DCMAKE_INSTALL_PREFIX:PATH=/opt/domoticz ../.
Any advice?
BR,
R