# ServerDemo **Repository Path**: naka507/server-demo ## Basic Information - **Project Name**: ServerDemo - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-08-07 - **Last Updated**: 2025-01-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ServerDemo C++分布式多线程服务 1. 编译 Protobuf CMAKE 生成 Protobuf 静态库。复制 libprotobuf、libprotoc 到 libs 目录下,复制 protoc.exe 可执行文件到 tools 目录下。 2. 编译引擎 Engine 3. 编译应用 Apps 执行 build.bat 编译完成 4. 运行服务 进入 bin 目录下启动程序 ## 编译CURL 修改 winbuild 目录下 MakefileBuild.vc 230行 `RTLIBCFG` 改为 `MODE` ```sh nmake/f Makefile.vc mode=static ENABLE_IPV6=no ENABLE_SSPI=no ENABLE_IDN=no ENABLE_WINSSL=no DEBUG=yes MACHINE=x64 ``` Linux ```sh ./configure --disable-shared --enable-static --without-libidn --without-ssl --without-librtmp --without-gnutls --without-nss --without-libssh2 --without-zlib --without-winidn --disable-rtsp --disable-ldap --disable-ldaps --disable-ipv6 make && make install ```