KVstorageBaseRaft-cpp icon indicating copy to clipboard operation
KVstorageBaseRaft-cpp copied to clipboard

error

Open Gu-Hao1 opened this issue 9 months ago • 2 comments

[ 1%] Building CXX object CMakeFiles/skip_list_on_raft.dir/src/rpc/mprpcchannel.cpp.o In file included from /home/gu/K-V存储数据库-demo/KVstorageBaseRaft-cpp-main/src/rpc/mprpcchannel.cpp:9: /home/gu/K-V存储数据库-demo/KVstorageBaseRaft-cpp-main/src/rpc/include/rpcheader.pb.h:10:10: fatal error: google/protobuf/port_def.inc: 没有那个文件或目录 10 | #include <google/protobuf/port_def.inc> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/skip_list_on_raft.dir/build.make:76:CMakeFiles/skip_list_on_raft.dir/src/rpc/mprpcchannel.cpp.o] 错误 1 make[1]: *** [CMakeFiles/Makefile2:334:CMakeFiles/skip_list_on_raft.dir/all] 错误 2 make: *** [Makefile:91:all] 错误 2 请问如何解决 error

Gu-Hao1 avatar May 08 '24 07:05 Gu-Hao1