parent
ef0c9b089c
commit
9dee9892e8
|
@ -0,0 +1,9 @@
|
|||
# 项目说明
|
||||
protobuf 数据结构定义,作为git子模块使用
|
||||
|
||||
## protoc环境安装说明
|
||||
Linux下执行
|
||||
```
|
||||
sudo chmod +x install_protoc_linux.sh
|
||||
sudo ./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
|
|
@ -1,6 +1,6 @@
|
|||
syntax = "proto3";
|
||||
|
||||
package rtss.basic_signal_data;
|
||||
package basic_signal_data;
|
||||
|
||||
message Storage {
|
||||
Canvas canvas = 1;
|
||||
|
|
Loading…
Reference in New Issue