<分区>
我想运行下面的代码
https://github.com/CodeShark/RippleGen
如何编译它以便我可以运行它?
我在 Windows 7 上,如果需要我可以在 VM 上安装 Ubuntu
标签 c++
<分区>
我想运行下面的代码
https://github.com/CodeShark/RippleGen
如何编译它以便我可以运行它?
我在 Windows 7 上,如果需要我可以在 VM 上安装 Ubuntu
最佳答案
通过在 repo 的根目录中运行 make
来编译它。
您必须在您的盒子上安装 GNU Make。我看到 makefile 指定了 -lssl -lcrypto -lboost_thread -lboost_system
库,所以你必须有 openssl、libcrypto(如果你安装 libssl-dev 就可以得到)和 boost可用的库。
我个人更愿意在 Ubuntu 上进行此设置 - 您可以在那里轻松获得必要的软件包,但如果您安装 cygwin,也应该可以在 Windows 上安装。
关于c++ - 你如何编译 CodeShark/RippleGen?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20811226/