安装bitshares

sudo apt-get update

g++必须

sudo apt-get install autoconf cmake git libboost-all-dev libssl-dev g++

git clone https://github.com/bitshares/bitshares-core.git

cd bitshares-core

git checkout

git submodule update --init --recursive

cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .

make

./programs/witness_node/witness_node

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.

Compiler: CMAKE_CXX_COMPILER-NOTFOUND

Build flags:

Id flags:

The output was:

No such file or directory

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.

Compiler: CMAKE_CXX_COMPILER-NOTFOUND

Build flags:

Id flags: -c

The output was:

No such file or directory

Checking whether the CXX compiler is IAR using "" did not match "IAR .+ Compiler":

Performing C++ SOURCE FILE Test standard_math_library_linked_to_automatically failed with the following output:

Source file was:

#include

int main() { std::sin(0.0); std::log(0.0f); }

Performing C++ SOURCE FILE Test standard_math_library_linked_to_as_m failed with the following output:

Source file was:

#include

int main() { std::sin(0.0); std::log(0.0f); }

这种报错是由于缺少g++, apt-get install g++ 即可解决

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容