我跟随说明来建立稳固。但是当它完成时,我得到了开发版本:
Version: 0.4.16-develop.2017.8.31+commit.d7661dd9.mod.Linux.g++
我试着用CMAKE_BUILD_TYPE=Release参数运行make --同样的结果。代码是从标记版本v0.4.16中签出的。如果没有发布版本,我就无法用0.4.16版本编译sol文件,因为错误:
Error: Source file requires different compiler version (current compiler is 0.4.16-develop.2017.8.31+commit.d7661dd9.mod.Linux.g++ - note that nightly builds are considered to be strictly less than the released version
发布于 2017-08-31 06:04:41
我自己已经找到了-为了使版本构建只需要在源目录中创建空文件prerelease.txt。
https://ethereum.stackexchange.com/questions/25584
复制