增加使用 nats.c 的编译连接参数.
Signed-off-by: rick.chan <cy@haoan119.com>
This commit is contained in:
parent
ab020839e6
commit
565a7cb752
|
@ -129,3 +129,17 @@ sudo ldconfig
|
|||
|
||||
下载 ARMv7 的二进制包解压后在 EB-RV1126-DC 201 上直接运行即可。
|
||||
|
||||
## 使用 nats.c
|
||||
|
||||
Include
|
||||
|
||||
```cpp
|
||||
#include <nats.h>
|
||||
```
|
||||
|
||||
连接参数:
|
||||
|
||||
```bash
|
||||
-lnats -lprotobuf-c -lprotobuf
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue