You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: kubernetes/README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ This will compile the generated code and create a library in the build folder wh
39
39
mkdir build
40
40
cd build
41
41
// To install library to specific location, use following commands
42
-
cmake -DCMAKE_INSTALL_PREFIX=/pathtolocaiton ..
42
+
cmake -DCMAKE_INSTALL_PREFIX=/pathtolocation ..
43
43
// for normal install use following command
44
44
cmake ..
45
45
make
@@ -49,14 +49,14 @@ sudo make install
49
49
Considering the test/source code which uses the API is written in main.c(respective api include is written and all objects necessary are defined and created)
50
50
51
51
To compile main.c(considering the file is present in build folder) use following command
52
-
-L - locaiton of the library(not required if cmake with normal installation is performed)
52
+
-L - location of the library(not required if cmake with normal installation is performed)
53
53
-l library name
54
54
```bash
55
55
gcc main.c -L. -lkubernetes -o main
56
56
```
57
57
Once compiled, you can run it with ``` ./main ```
58
58
59
-
Note: You don't need to specify includes for models and include folder seperately as they are path linked. You just have to import the api.h file in your code, the include linking will work.
59
+
Note: You don't need to specify includes for models and include folder separately as they are path linked. You just have to import the api.h file in your code, the include linking will work.
0 commit comments