diff --git a/README.md b/README.md index e69de29..3e415e8 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,9 @@ +# 项目说明 +protobuf 数据结构定义,作为git子模块使用 + +## protoc环境安装说明 +Linux下执行 +``` +sudo chmod +x install_protoc_linux.sh +sudo ./install_protoc_linux.sh +``` diff --git a/install_protoc_linux.sh b/install_protoc_linux.sh new file mode 100755 index 0000000..45a06a0 --- /dev/null +++ b/install_protoc_linux.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +# Copy the protoc-27.4-linux-x86_64 file to the home directory +cp -f ./protoc/protoc-27.4-linux-x86_64/bin/protoc /usr/local/bin/ +cp -r -f ./protoc/protoc-27.4-linux-x86_64/include/* /usr/local/include/ +chmod +x /usr/local/bin/protoc + +# 验证安装 +protoc --version \ No newline at end of file diff --git a/src/basic_signal_data.proto b/src/basic_signal_data.proto index 04c8fba..0d06d6f 100644 --- a/src/basic_signal_data.proto +++ b/src/basic_signal_data.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -package rtss.basic_signal_data; +package basic_signal_data; message Storage { Canvas canvas = 1;