eosio.cdt安装时碰到的问题

2019-02-04  本文已影响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 目录,重新执行即可。

上一篇 下一篇

猜你喜欢

热点阅读