Skip to content

Commit

Permalink
Merged branch master into master
Browse files Browse the repository at this point in the history
  • Loading branch information
kvart2006 committed Feb 20, 2017
2 parents 410066a + ee2828c commit a632ee3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions zerobuf/README.md
Expand Up @@ -22,10 +22,11 @@ To compile a schema file, called in this case ```aschema.fbs```, type:
```
/path_to/rumprun-packages/zerobuf/ZeroBuf/bin/zerobufCxx.py -o=. aschema.fbs
```
Note that a source file and a header file are generated by the schema compiler, in this case: ```aschema.cpp and aschema.h```.

Example1: (compiling the schema file number 1)
```
/root/git/rumprun-packages/zerobuf/ZeroBuf/bin/zerobufCxx.py -o=. schema1.fbs.fbs
/root/git/rumprun-packages/zerobuf/ZeroBuf/bin/zerobufCxx.py -o=. schema1.fbs
```

In order to run an example application on rumprun, you have to provide the paths to the zerobuf include directory located in rumprun-packages/pkgs/include, and to the ```libServus``` and ```libZeroBuf``` libraries during compilation. Both are located in rumprun-packages/pkgs/lib:
Expand All @@ -40,7 +41,7 @@ Rumprun compile step:
<path-to-zeromq-package>/lib = /root/git/rumprun-packages/pkgs/lib
<path-to-zeromq-package>/include = /root/git/rumprun-packages/pkgs/include
```
leads to:
leads to (with the schema generated source file: ```schema1.cpp```):
```
x86_64-rumprun-netbsd-g++ -std=c++17 schema1_test.cpp schema1.cpp \
/root/git/rumprun-packages/zerobuf/ZeroBuf/Servus/servus/serializable.cpp \
Expand Down

0 comments on commit a632ee3

Please sign in to comment.