Re: mex with fortran 90



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.

.



Relevant Pages

  • Re: AMDIST VAX Fortran and Intel Compiler
    ... Giving a variable a statement label value is an old f66 thing (and a ... a sub folder valed Visual studio. ... Project, AM_alloc, AM_alloc, Debug. ... A few weeks ago I tried compiling this devil and got an error ...
    (comp.lang.fortran)
  • Re: Cannot Debug the DLL??
    ... I am using C#.net I build MyCom.dll in Debug mod, so I get 2 file in Debug ... folder, ... when I add references that dll in project and break point in code when I ... > Are you getting some sort of error message? ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Switch from Power User to User
    ... they got an error message regarding Folder ... The SBS\\Users on SBS is the folder that is attempting to sync. ... All the workstations that have users that have been changed from Power User ... > Synchronize, how many offline folders you can see in the Items to ...
    (microsoft.public.windows.server.sbs)
  • RE: Offline Address Book error on send/receive
    ... address book can not be download error message after you joined the SBS ... navigate to the server entry. ... Please rebuild Offline Address Lists to see if it helps. ... Storage Group -> Public Folder Store, Does the store is mounted properly? ...
    (microsoft.public.windows.server.sbs)
  • Re: Help with VBA for document formatting.
    ... but nothing changed - the result was the same error message. ... Applications Folder. ... Python, b. ... ...will put 1 tab stops in Body Regions;A01 ...
    (microsoft.public.mac.office.word)