Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] (no subject)

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] (no subject)


chronological Thread 
  • From: Adam Chlipala <adamc AT cs.berkeley.edu>
  • To: dz dz <sophiee_shao AT hotmail.com>
  • Cc: Coq-club AT pauillac.inria.fr
  • Subject: Re: [Coq-Club] (no subject)
  • Date: Thu, 19 Apr 2007 09:13:22 -0700
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

dz dz wrote:
> when I input "Require Import XX" the coqide show that :User error:
> cannot find XX library in loadpath. Here XX means some coq file i
> wrote before, it not belongs to the coq libraries.
> Is it because I use coq under windows system? I tried put the file I
> want to import under different directories,the command didn't work.

"Require" loads compiled (.vo) files. You could compile your XX.v file
with the command line 'coqc XX' to produce XX.vo, and then the"Require"
should work if the .vo file is in the current directory. Otherwise, use
the "Load" command instead.





Archive powered by MhonArc 2.6.16.

Top of Page