-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
55 lines (39 loc) · 2.22 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
INSTALLATION INSTRUCTIONS
=========================
PREREQUISITES
You should have a working OMNeT++ installation, version 6.0.2 with INET (v.3.8.3), CoRE4INET, FiCo4OMNeT and SignalsAndGateways installed.
General
-------
1. Make sure your OMNeT++ installation works OK (e.g. try running the samples)
and it is in the path (to test, try the command "which nedtool").
2. Extract the downloaded tarball into a directory of your choice (usually into your
workspace directory, if you are using the IDE).
If you are building from command line:
--------------------------------------
3. Change to the SOA4CoRE directory.
4. Type "make makefiles". This should generate the makefiles for you automatically.
5. Type "make" to build the SOA4CoRE executable (debug version). Use "make MODE=release"
to build release version.
6. you can run specific examples by changing into the example's directory.
If you are using the IDE:
-------------------------
3. Open the OMNeT++ IDE and choose the workspace where you have extracted the SOA4CoRE directory.
The extracted directory must be a subdirectory of the workspace dir.
4. Import the project using: File | Import | General | Existing projects into Workspace.
Then select the workspace dir as the root directory, and be sure NOT to check the
"Copy projects into workspace" box. Click Finish.
5. Wait until the indexer finishes. Now you can build the project by pressing CTRL-B (Project | Build all)
6. To run an example from the IDE open the example's directory in the Project Explorer view,
find the corresponding omnetpp.ini file. Right click on it and select Run As / Simulation.
This should create a Launch Configuration for this example.
Note:
-----
- by default SOA4CoRE is creating a shared library (libSOA4CoRE.so etc.)
in the "src" directory. To use the shared library you can use the "opp_run"
command to load it dynamically.
- If you add/remove files/directories later in the src directory, you MUST
re-create your makefile. Run "make makefiles" again if you are building
from the command line. (The IDE does it for you automatically)
Hit Ctrl+B to build.
Run the example simulations to check everything works fine.
---