Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

源码编译问题 #4362

Open
zonezyz opened this issue Apr 11, 2024 · 1 comment
Open

源码编译问题 #4362

zonezyz opened this issue Apr 11, 2024 · 1 comment

Comments

@zonezyz
Copy link

zonezyz commented Apr 11, 2024

环境:centos7.9,cmake3.26.3

遇到的问题:在源码编译过程中,出现了如下报错
Cmake Error at CMakeLists.txt:221(string):
string sub-command STRIP requires two arguments.

解决步骤:
1.出现报错后,cd到cryptopp目录下,打开CMakeLists.txt文件,修改221行代码为如下所示
string(STRIP "${cryptopp_GIT_BRANCH}" cryptopp_GIT_BRANCH)
2.回到build目录,继续输入make -j6编译
3.源码编译成功

个人建议:
直接下载cryptopp依赖库压缩包(最新版)遇到的问题与在安装包仓库中遇到的问题一致。可以更新下https://gitee.com/FISCO-BCOS/LargeFiles/tree/master/libs里的cryptopp压缩包。

@JimmyShi22
Copy link
Member

👍 欢迎提PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants