[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Oct Files Help -- mkoctfile
From: |
Michael Goffioul |
Subject: |
Re: Oct Files Help -- mkoctfile |
Date: |
Wed, 9 Jan 2008 21:14:21 +0100 |
On 1/9/08, Tatsuro MATSUOKA <address@hidden> wrote:
> Hello
>
> Oh! I missed this mail.
> ********************
> octave:10> clear MexTest
> octave:11> mkoctfile --mex MexTest.c
> MexTest.c
> LINK : fatal error LNK1104: cannot open file 'MexTest.mex'
> octave:12>
> *********************
> I have not noticed it.
>
> Hello Michael:
> What I missed for the mex filed compiling?
I don't think you're missing anything. It's just that once a DLL is mapped
into memory by any process, the DLL is locked and you can't open it
for writing. As a consequence, the compiler cannot overwrite the mex
file (which is really a DLL). Normally, clearing MexTest should unmap
the mes file from memory, making it again available for writing, but
apparently it does not work. This might be a bug. John has probably a
better understanding of when a mex file is unloaded.
Michael.
- Re: Oct Files Help -- mkoctfile, (continued)
- Re: Oct Files Help -- mkoctfile, gOS, 2008/01/09
- Re: Oct Files Help -- mkoctfile, Tatsuro MATSUOKA, 2008/01/09
- Re: Oct Files Help -- mkoctfile, Tatsuro MATSUOKA, 2008/01/10
- Re: Oct Files Help -- mkoctfile, gOS, 2008/01/10
- Re: Oct Files Help -- mkoctfile, John W. Eaton, 2008/01/10
- Re: Oct Files Help -- mkoctfile, gOS, 2008/01/10
- Re: Oct Files Help -- mkoctfile, John W. Eaton, 2008/01/10
Re: Oct Files Help -- mkoctfile, John W. Eaton, 2008/01/09
Re: Oct Files Help -- mkoctfile, Tatsuro MATSUOKA, 2008/01/09
Re: Oct Files Help -- mkoctfile, Tatsuro MATSUOKA, 2008/01/09
Re: Oct Files Help -- mkoctfile, Tatsuro MATSUOKA, 2008/01/09