acl-dev / acl

C/C++ server and network library, including coroutine,redis client,http/https/websocket,mqtt, mysql/postgresql/sqlite client with C/C++ for Linux, Android, iOS, MacOS, Windows, etc..
https://acl-dev.cn
GNU Lesser General Public License v3.0
2.85k stars 937 forks source link

How to resolve compilation errors #321

Closed muchengyang closed 9 months ago

muchengyang commented 9 months ago

hi all! When I compile, it says that zlib.h cannot be found. The environment configuration is as follows. system: ubuntu18.0.4 make lib_acl_cpp erro src/stdlib/zlib_stream.cpp:6:11: fatal error: zlib.h: No such file or directory

include

How to solve it?

muchengyang commented 9 months ago

done: https://stackoverflow.com/questions/36374267/how-to-fix-fatal-error-zlib-h-no-such-file-or-directory