Closed EliasC closed 4 months ago
@lemonidas Some insights into the Emacs problem?
I'll try to see if I can replicate this tomorrow, hopefully it's not an M1 thing.
@lemonidas FWIW, QuickChick started working for me in Proof General after updating Emacs to 23.9. I still can't see any output when using VSCoq, but that is not a show stopper for me personally.
I downloaded the latest version of the QuickCheck chapter of Software Foundations and I'm having trouble getting it to work:
When running in Emacs with ProofGeneral, the proof process hangs when running a
QuickChick
command (I interrupt it after a minute or so). ASample
command fails with the messageI have seen similar errors when compiling OCaml code from inside Emacs, so this might be related.
I am able to use QuickChick successfully in CoqIDE, but either of the two choices above would be preferrable. When compiling the source files in the chapter in a terminal with the Makefile, everything builds and prints correct output from the
QuickCheck
commands, but the fileQuickChickInterface.v
fails with the message:When troubleshooting I cloned this GitHub repo. Running
make
also gives an error message related toQuickChickInterface.v
:As far as I can see that file is in the
doc
directory, which does not seem to be in the include path.Finally, running the
quickChick
command line tool immediately fails withI am guessing this has to do with the same errors from compiling the file.
I am running an M1 Mac with MacOS 14.2.1, Coq 8.19.1 and QuickChick 2.0.3 (both built from opam). I have also tried with Coq versions 8.18.0 and 8.17.0.
Any help is appreciated!