Skip to content

Latest commit

 

History

History
56 lines (33 loc) · 1.77 KB

TROUBLESHOOTING.md

File metadata and controls

56 lines (33 loc) · 1.77 KB

Troubleshooting

This document covers some common issues with CoCoSim, and how to solve them.

Contact

Please contact us at [email protected] with any issue. Or use Github issues reporting system.

Installation issues

Installing external Matlab libraries:

CoCoSim uses some libraries from cocosim2 and AutoLayout.

Function cocosim2/scripts/install_cocosim_lib.m is responsible of copying all required external libraries to the right destination in our repository. It needs git to clones external repositories from github and copy some of their code on the right place on CoCoSim. Read function cocosim2/scripts/install_cocosim_lib.m to know what are the external libraries are copied to cocosim2 to do it manually in case the function failed for internet connection or git issues.

To call the function in Matlab Command Window:

install_cocosim_lib(true)

Install script issues

Missing libraries:

Error: gmb.h Cannot be found

you need to install libgmp3-dev

apt-get install  libgmp3-dev

Installing external tools (Kind2, Lustrec, etc ...):

If running the script cocosim2/scripts/install_cocosim failed. You can install the tools manually and set their path in cocosim2/tools/tools_config.m.

The default paths set by tools_config are:

Kind2 : cocosim2/tools/verfiers/osx/bin/kind2

Lustrec: cocosim2/tools/verfiers/osx/bin/lustrec

change osx by linux if your machine is a linux machine.

See INSTALL.md