Policy-based Resilience Simulator with OMNeT++/Building Distack

Distack compiles successfully on 64-bit systems (or says so) but on trying to access the library, it gives an error (associated with ). That is why I recommended to go for a 32-bit OS at the beginning.

Install Dependencies
You need to install few dependencies before building distack:

Download and Extract
Download Distack Source tar ball from here (ID #7). Extract it to the omnetpp folder.

Patching ReaSE
Now copy distack-1.2.3-dev/etc/patches/rease/distack_rease.patch to omnetpp folder in Home (parent directory of "ReaSE" folder) and navigate to that directory in terminal and to apply the patch, do the following: You should see an output like this: If, by any chance, the files are created in a temporary directory, for e.g., ReaSE_patched, make sure you copy these files into the ReaSE/src directory.

Rebuilding ReaSE
Now go to OMNeT++ IDE, Right Click on ReaSE in Project Explorer, click "Clean Project" and then build it pressing  or.

Building Distack
In terminal, navigate to distack folder and run: In following command, replace  with your username:

Then run The Distack libraries will be in the directory: Now you need to patch INET and ReaSE.