Use designated versions of software in this class to avoid version incompatibility. Your submission will not be properly graded if you do not follow this instruction.
- Use Coq 8.4pl5.
- Coq is already installed in the lab.
- For Linux:
- Install opam, and make sure you can use OCaml 4.01.0.
- Install
libgtk2bysudo apt-get install libgtk2.0-devorsudo yum install gtk2-devel. - Install lablgtk2 by
opam install lablgtk - Download tarball file.
- Extract the tarball,
./configure -coqide opt,make, and thenmake install. - Test by
coqc -vin the command line. Check yourPATHvariable if you get an error. - Run CoqIDE by
coqide.
- For Windows / OS X, I recommend you to download those with CoqIDE bundle (for Windows or for OS X).
- In OS X, at first run, you may see an error message saying "Failed to load coqtop." Then click "No", and then find
/Applications/CoqIDE_8.4pl5.app/Contents/Resources/bin/coqtopand open for once. Then gotoCoqIDE>Preferences>Externals. And then changecoqtopinto/Applications/CoqIDE_8.4pl5.app/Contents/Resources/bin/coqtop.
- In OS X, at first run, you may see an error message saying "Failed to load coqtop." Then click "No", and then find
- For OS X, an alternative way to install Coq is using
brew. See #1 for more details.
- Use software foundations material in this repository (as explained in the Homeworks section below).