编译ntyco的core文件与编译libntyco.a的静态库
$ make
// 编译sample
$ make bin
nty_mysql_oper.c:8:19: fatal error: mysql.h: No such file or directory
解决方案:
# sudo apt-get install libmysqlclient-dev
nty_rediscli.c:11:21: fatal error: hiredis.h: No such file or directory
解决方案:
需要编译安装hiredis: https://github.com/redis/hiredis
$ ./bin/nty_server
./bin/nty_client
$ ./bin/nty_server_mulcore
$ ./bin/nty_websocket_server
$ ./bin/nty_bench
$ ./bin/nty_http_server_mulcore