Topic: [NO-REPLY] Building WolfSSL with with_libz option
Hi All,
I have to use the compression from the wolfssl. I have gone through the documents which suggest using the with_libz option.
I am getting this error while compiling wolfssl-
"C:/wolfssl/tirtos/../wolfssl/internal.h", line 151: fatal error: cannot open source file "zlib.h"
1 catastrophic error detected in the compilation of "C:/wolfssl/tirtos/../src/internal.c".
Compilation terminated.
>> Compilation failure
gmake[1]: *** [package/lib/lib/wolfssl/src/internal.oem4f] Error 1
xdctools_3_32_00_06_core\gmake.exe: *** [packages/ti/net/wolfssl,.libraries] Error 2
gmake: *** [all] Error 2
The things I did-
1. I have defined the #define HAVE_LIBZ in settings.h
2. In the configure file (wolfssl\configure), I have given with_libz = C:\ti\TivaWare_C_Series-2.1.4.178\third_party\windows\fltk-1.1.10\zlib\zlib.h where other things are given like enable_fastmath, enable_fasthugemath, enable_examples etc.
I have zlib.h at the location provided above.
Can anyone help me to resolve this issue?
Thank you