Skip to content

Commit 84c4185

Browse files
committed
Merge branch 'feature_tcp_client_sukai' of git.tigerbrokers.net:server/openapi/openapi-cpp-sdk into feature_tcp_client_sukai
2 parents 24dcc26 + b05f40a commit 84c4185

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,17 @@ vcpkg install openssl
122122
```
123123
PS> vcpkg install cpprestsdk cpprestsdk:x64-windows
124124
```
125+
### 编译protobuf
126+
git clone https://github.com/protocolbuffers/protobuf
127+
```
128+
git checkout v3.1.0
129+
130+
使用cmake-gui生成windows解决方案
131+
```
132+
解决方案中选择“libprotobuf”工程生成pb依赖库,代码生成配置为/MDd和/MD,
133+
解决方案下创建lib目录,按需依次创建其他层级为:lib/x86/Debug、lib/x86/Release、lib/x64/Debug、lib/x64/Release
134+
将pb解决方案编译好的lib库依次拷贝到对应的层级目录,Debug:libprotobufd.lib,Release:libprotobuf.lib
135+
```
125136

126137
### 安装 tigerapi sdk
127138
源码output里的dll或lib为sdk编译后的库,项目配置引入后即可调用sdk

0 commit comments

Comments
 (0)