Replies: 2 comments 3 replies
-
可以尝试在虚拟机里用docker编 |
Beta Was this translation helpful? Give feedback.
3 replies
-
you could use vscode to debug be code |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
按照官方文档安装依赖包,在安装sudo apt install -y openssl-devel的时候失败,返回没有对应的依赖包。百度了一下说openssl-devel是centos的,Ubuntu可以openssl和libssl-dev,换成了openssl和libssl-dev后按照顺利。
之后再编译第三方依赖incubator-brpc-1.0.0-rc02的时候,出现了下面的报错,不知道如何解决
===== begin build incubator-brpc-1.0.0-rc02
CMake Deprecation Warning at CMakeLists.txt:18 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is GNU 10.3.0
-- The CXX compiler identification is GNU 10.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found gflags: /home/tangshiwei/branch/incubator-doris/thirdparty/installed/lib/libgflags.a
-- Found Protobuf: /home/tangshiwei/branch/incubator-doris/thirdparty/installed/lib64/libprotobuf.a;-lpthread (found version "3.14.0")
-- Found Threads: TRUE
-- Found OpenSSL: /home/tangshiwei/branch/incubator-doris/thirdparty/installed/lib64/libcrypto.a (found version "1.0.2k")
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
-- Build files have been written to: /home/tangshiwei/branch/incubator-doris/thirdparty/src/incubator-brpc-1.0.0-rc02/doris_build
[1/335] Generating idl_options.pb.h, idl_options.pb.cc
FAILED: idl_options.pb.h idl_options.pb.cc
cd /home/tangshiwei/branch/incubator-doris/thirdparty/src/incubator-brpc-1.0.0-rc02/doris_build && /home/tangshiwei/branch/incubator-doris/thirdparty/installed/bin/protoc -I/home/tangshiwei/branch/incubator-doris/thirdparty/installed/include -I/home/tangshiwei/branch/incubator-doris/thirdparty/src/incubator-brpc-1.0.0-rc02/src --cpp_out=/home/tangshiwei/branch/incubator-doris/thirdparty/src/incubator-brpc-1.0.0-rc02/doris_build /home/tangshiwei/branch/incubator-doris/thirdparty/src/incubator-brpc-1.0.0-rc02/src/idl_options.proto && /usr/local/bin/cmake -E copy /home/tangshiwei/branch/incubator-doris/thirdparty/src/incubator-brpc-1.0.0-rc02/doris_build/idl_options.pb.h /home/tangshiwei/branch/incubator-doris/thirdparty/src/incubator-brpc-1.0.0-rc02/doris_build/output/include/idl_options.pb.h
terminate called after throwing an instance of 'std::system_error'
what(): Unknown error -1
Aborted (core dumped)
ninja: build stopped: subcommand failed.
Beta Was this translation helpful? Give feedback.
All reactions