help-octave
[Top][All Lists]
Advanced

[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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]