我正在尝试使用 Cygwin 在 Windows 8.1(64 位)上编译 twister-core。我正在按照链接 Compile Twister for Windows中给出的步骤操作 我已经从这里复制代码:Github“Twister-Core” 我已经成功运行“./bootstrap.sh”,没有任何错误。当我运行“make”命令时,它会显示错误并且 make 过程失败:
错误: /usr/include/boost/asio/detail/config.hpp:577:5: error: #error 您必须将 -D__USE_W32_SOCKETS 添加到您的编译器选项中。# error 您必须将 -D__USE_W32_SOCKETS 添加到您的编译器选项中。/usr/include/openssl/x509.h:192:1: 错误:粘贴“stack_st_”和“(”没有给出有效的预处理令牌 DECLARE_STACK_OF(X509_NAME) ^ /usr/include/openssl/pkcs7.h:103: 1:错误:粘贴“stack_st_”和“(”没有给出有效的预处理令牌DECLARE_STACK_OF(PKCS7_SIGNER_INFO)/usr/include/openssl/x509v3.h:753:30:错误:'unsigned'之前的预期主表达式无符号长chtype); ^ /usr/include/openssl/x509v3.h:753:50: 错误:表达式列表在初始化程序中被视为复合表达式 [-fpermissive] unsigned long chtype); ^ Makefile:1407: 目标“libtorrent/src/web_connection_base.o”的配方失败了: