美文网首页
eosio.cdt安装时碰到的问题

eosio.cdt安装时碰到的问题

作者: 施天助 | 来源:发表于2019-02-04 08:50 被阅读0次

brew安装不了

https://github.com/EOSIO/eosio.cdt

$ brew tap eosio/eosio.cdt
$ brew install eosio.cdt

用源码编译方式安装:

$ git clone --recursive https://github.com/eosio/eosio.cdt
$ cd eosio.cdt
$ ./build.sh
$ ./install.sh

./install.sh 时报错:

-- Install configuration: ""
CMake Error at cmake_install.cmake:44 (file):
file cannot create directory: /usr/local/eosio.cdt/lib/cmake/eosio.cdt.
Maybe need administrative privileges.
make: *** [install] Error 1
>>>>>>>>>>>>>>>>>>>> MAKE installing EOSIO has exited with the above error

解决: 手动创建 eosio.cdt 目录,重新执行即可。

相关文章

网友评论

      本文标题:eosio.cdt安装时碰到的问题

      本文链接:https://www.haomeiwen.com/subject/xfkpsqtx.html