ywy2090

Results 48 comments of ywy2090

用 strace 查看下启动的过程,贴出来看看,应该是还有其他库冲突

> **Describe the bug** 在树莓派4b下编译2.9.0的arm64报错 cmake -DARCH_NATIVE=on .. make > > **To Reproduce** [100%] Linking CXX executable ../../bin/fisco-bcos ../../../deps/src/rocksdb/librocksdb.a(crc32c.cc.o):crc32c.cc:function rocksdb::crc32c::ExtendARMImpl(unsigned int, char const*, unsigned long): error: undefined reference to 'crc32c_arm64(unsigned...

FB 2.9 启动报错: tbb冲突,可以卸载系统自带的tbb: centos系统: ```shell sudo yum -y remove tbb ``` ubuntu系统: ```shell sudo apt -y remove libtbb-dev ``` 然后重启节点即可

你在你的CMakeLists.txt里面打印下你的机器的 CMAKE_SYSTEM_PROCESSOR 值是多少。 我看下是不是这里没匹配到。

> 该问题已经解决: > > add_library(precompiled SRCLIST{HEADERS}) target_link_libraries(precompiled PRIVATE blockverifier ethcore nlohmann_json) target_link_libraries(precompiled PUBLIC storage devcore JsonCpp nlohmann_json) target_link_libraries(precompiled PRIVATE Paillier GroupSig VRF nlohmann_json) > > 1. _**在target_link_libraries命令中增加nlohmann_json目标链接库,其中“...”代表其他目标链接库 > 2. #target_link_libraries(precompiled...

发现具体的版本信息,节点跟console

fisco-bcos 2.0跟3.0是不兼容的哈,都有自己对应版本的工具 关于兼容性可以参考这里: https://fisco-bcos-documentation.readthedocs.io/zh_CN/latest/docs/compatibility.html

WeCross 1.2.1未适配`FISCO-BCOS 2.9.0`环境,可以替换`plugin`目录下的`bcos-stub`插件,升级至1.2.2版本,然后重启WeCross环境: ![JieTu](https://user-images.githubusercontent.com/13342660/172755087-0ac3c045-3c4e-41df-ba49-fa00e79a6556.png) https://github.com/WeBankBlockchain/WeCross-BCOS2-Stub/releases/download/v1.2.2/bcos2-stub-1.2.2.jar https://github.com/WeBankBlockchain/WeCross-BCOS2-Stub/releases/download/v1.2.2/bcos2-stub-gm-1.2.2.jar

https://wecross.readthedocs.io/zh_CN/latest/docs/tutorial/env.html#id4 参考下这里,使用已经覆盖测试的jdk版本

> 加载本地.pem文件时报错,报错信息如下:`java.lang.ClassCastException: org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPrivateKey cannot be cast to org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPrivateKey at org.fisco.bcos.web3j.crypto.ECKeyPair.create(ECKeyPair.java:52) at org.fisco.bcos.web3j.crypto.Keys.createEcKeyPair(Keys.java:59)` > > 使用的是最新版的web3sdk, maven的方式依赖的 你看下你的依赖库的bcprov的版本,看看是不是版本冲突?