Re: mex with fortran 90
- From: "Sergei " <sstepanchuk@xxxxxxxxx>
- Date: Wed, 30 Apr 2008 20:02:04 +0000 (UTC)
The thing is that I don't get any .lib file after compiling
Param.f90 in VS. I copied all the files in the "Debug"
folder that VS created when compiling Param.f90 (including
param.mod) into the folder where I have vvmult.f90 (the file
that USES Param), and I get the same error message.
NZTideMan <mulgor@xxxxxxxxx> wrote in message
<b2ec2bc8-f6f3-4383-8aad-03dcdfdbd1ba@xxxxxxxxxxxxxxxxxxxxxxxxxxx>...
I got the following error message:
C:\PROGRA~1\MATLAB\R2007A\BIN\MEX.PL: Error: mex cannot link
to 'param.dll' directly.
Instead, you must link to the file 'param.lib' which
corresponds to 'param.dll'.
The above message is pretty clear.
You must link param.lib, not param.dll
This is common practice for linking, well, for CVF anyway.
.
- References:
- mex with fortran 90
- From: Sergei
- Re: mex with fortran 90
- From: James Tursa
- Re: mex with fortran 90
- From: NZTideMan
- mex with fortran 90
- Prev by Date: Re: convert c++ to matlab
- Next by Date: Re: MATLAB Central Spring Contest
- Previous by thread: Re: mex with fortran 90
- Next by thread: naming elements of a matrix
- Index(es):
Relevant Pages
|