Skip to content

Commit 7e09f89

Browse files
Added steps to run project and output screenshots
1 parent 8fdd1f9 commit 7e09f89

File tree

1 file changed

+45
-1
lines changed

1 file changed

+45
-1
lines changed

README.md

Lines changed: 45 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,46 @@
11
# Shared-Object-File-Sample-Rust
2-
A sample project which creates a shared object (.so) file on linux and calls it's function from other program.
2+
A sample project which creates a shared object (.so) file on linux and calls it's function from another program.
3+
4+
-------------------
5+
6+
For System Requirements please refer 'Application_Requirements.txt'
7+
8+
----------------------
9+
10+
How to run the project.
11+
12+
1. Clone the repository.
13+
14+
2. Navigate inside project folder 'addition_library' from terminal.
15+
16+
3. Build this Library project using following command -
17+
cargo build
18+
19+
4. Navigate inside project folder 'addition_client' from terminal.
20+
21+
5. Build and run this binary project using following commands -
22+
23+
cargo build
24+
25+
cargo run
26+
27+
------------------------
28+
29+
Application is tested on Ubuntu 20.04.5 LTS with WSL2 on Windows 10.
30+
31+
-----------------------
32+
33+
Output :-
34+
35+
1. Build Library project :
36+
37+
![Output1](https://user-images.githubusercontent.com/86361080/234288935-f37ecda9-c406-43b4-92e6-0f83f0ce7c1d.png)
38+
39+
40+
2. Build Binary project :
41+
42+
![Output2](https://user-images.githubusercontent.com/86361080/234289054-19efb663-2859-45d9-901c-46ac780ce601.png)
43+
44+
--------------------
45+
46+

0 commit comments

Comments
 (0)