CoRE Simulation Models for Real-time Networks

source: CoRE4INET/INSTALL

nightly/2018-11-22_11-33-04nightly/2018-11-22_11-36-56
Last change on this file was e173d70, checked in by Philipp Meyer <philipp.meyer@…>, 5 months ago

Correct version requirements in INSTALL

  • Property mode set to 100644
File size: 2.8 KB
Line 
1INSTALLATION INSTRUCTIONS
2=========================
3
4PREREQUISITES
5
6You should have a working OMNeT++ installation, version 5.0 or 5.1.1 with the INET-Framework 3.5
7
8In INET you have to enable at least the following features:
9- Ethernet
10- IEEE 802.1d
11If you require IP and Transport (otherwise disable the feature - IP over realtime Ethernet -  in CoRE4INET):
12- IPv4
13- IPv6
14- TCP
15- UDP
16- SCTP
17
18General
19-------
201. Make sure your OMNeT++ installation works OK (e.g. try running the samples)
21   and it is in the path (to test, try the command "which nedtool").
22
232. Extract the downloaded tarball into a directory of your choice (usually into your
24   workspace directory, if you are using the IDE).
25
26If you are building from command line:
27--------------------------------------
283. Change to the CoRE4INET directory.
29
304. Type "make makefiles". This should generate the makefiles for you automatically.
31
325. Type "make" to build the core4inet executable (debug version). Use "make MODE=release"
33   to build release version.
34
356. you can run specific examples by changing into the example's directory and executing "./run"
36
37If you are using the IDE:
38-------------------------
393. Open the OMNeT++ IDE and choose the workspace where you have extracted the CoRE4INET directory.
40   The extracted directory must be a subdirectory of the workspace dir.
41
424. Import the project using: File | Import | General | Existing projects into Workspace.
43   Then select the workspace dir as the root directory, and be sure NOT to check the
44   "Copy projects into workspace" box. Click Finish.
45
465. Open the project (if already not open) and  make sure it has the "inet" project marked
47   as dependency (Project->Properties->Project References). Wait until the indexer finishes.
48   Now you can build the project by pressing CTRL-B (Project | Build all)
49
506. To run an example from the IDE open the example's directory in the Project Explorer view,
51   find the corresponding omnetpp.ini file. Right click on it and select Run As / Simulation.
52   This should create a Launch Configuration for this example.
53
54If the build was successful, you may try running the demo simulations.
55Change into examples/ and type "./rundemo".
56
57Note:
58-----
59- by default CoRE4INET is creating a shared library (libCoRE4INET.so etc.)
60  in the "src" directory. To use the shared library you can use the "opp_run"
61  command to load it dynamically. Open the "src/run_core4inet" script to see how
62  to do it.
63- If you add/remove files/directories later in the src directory, you MUST
64  re-create your makefile. Run "make makefiles" again if you are building
65  from the command line. (The IDE does it for you automatically)
66
67
68
69Hit Ctrl+B to build.
70
71Run the example simulations to check everything works fine.
72
73Known Problems:
74-------------------------
75
76
77---
78Till
Note: See TracBrowser for help on using the repository browser.