Giter Site home page Giter Site logo

make出现问题 about fisco-bcos HOT 6 CLOSED

fisco-bcos avatar fisco-bcos commented on May 5, 2024
make出现问题

from fisco-bcos.

Comments (6)

cyjseagull avatar cyjseagull commented on May 5, 2024

可能是openssl版本不对,也有可能是没清理编译缓存,执行以下命令试试:

$ cd FISCO-BCOS
$ sudo rm -rf deps/src/boost
$ sudo rm -rf deps/src/*build && sudo rm -rf deps/src/*stamp
$ chmod a+x build.sh && sudo ./build.sh

from fisco-bcos.

Julyuan avatar Julyuan commented on May 5, 2024

执行上述命令出现了同样的报错,这个软件和系统中openssl有关系吗?之前在电脑里还装了gmssl,不知道是不是这个原因

from fisco-bcos.

cyjseagull avatar cyjseagull commented on May 5, 2024

那应该是openssl的问题~现在解决了么

from fisco-bcos.

Julyuan avatar Julyuan commented on May 5, 2024

把一些出错的代码段注释掉之后安装没有问题,不过在节点配置的时候有新的问题出现。正在处理

from fisco-bcos.

pingping1122 avatar pingping1122 commented on May 5, 2024

请问这个问题解决了吗???
Ubuntu18.04 make时出错

Scanning dependencies of target fisco-bcos
[ 99%] Building CXX object fisco-bcos/main/CMakeFiles/fisco-bcos.dir/main.cpp.o
[100%] Linking CXX executable ../../bin/fisco-bcos
/usr/bin/ld.gold: error: cannot find -l...
collect2: error: ld returned 1 exit status
fisco-bcos/main/CMakeFiles/fisco-bcos.dir/build.make:149: recipe for target 'bin/fisco-bcos' failed
make[2]: *** [bin/fisco-bcos] Error 1
CMakeFiles/Makefile2:2224: recipe for target 'fisco-bcos/main/CMakeFiles/fisco-bcos.dir/all' failed
make[1]: *** [fisco-bcos/main/CMakeFiles/fisco-bcos.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

from fisco-bcos.

pingping1122 avatar pingping1122 commented on May 5, 2024

哦哦 我的问题已解决:
是<working_dir>/FISCO-BCOS/libprecompiled/CMakeLists.txt 添加目标库时填写错误

在target_link_libraries命令中增加nlohmann_json目标链接库,其中“...”代表其他目标链接库

target_link_libraries(precompiled PRIVATE ... nlohmann_json)

nlohmann_json放置在其他目标链接库后边 ,而不是另起一行target_link_libraries

from fisco-bcos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.