eosio.cdt安装时碰到的问题

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 目录,重新执行即可。

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容