6

Probably a coq newbie question, but I could not find a ready solution so I'll ask here for reference. The cocq version is 8.5pl2

I tried to build coqfj. The first make attempt has failed with some error in line 37 in src/FJ/ClassTable.v. This question is not about that error.

Taking a closer look, I opened ClassTable.v in emacs proofgeneral and pressed C-c C-n, or alternatively run coqc src/FJ/ClassTable.v. The result is an error in line 1:

File "./src/FJ/ClassTable.v", line 1, characters 15-23:
Error: Cannot find a physical path bound to logical path matching suffix FJ.

It seems the import require import FJ.Lists cannot be resolved (although FJ is used as a prefix, not suffix). I've noticed that make has already created a compiled file src/Lists.vo, that should be picked up by coqc.

How to tell coqc that it should resolve this "suffix" by looking at either the *.vo or *.v files in the src folder?

Lars Bohl
  • 1,001
  • 16
  • 20

0 Answers0