help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cannot find library or dependents


From: Michael Goffioul
Subject: Re: Cannot find library or dependents
Date: Mon, 25 Feb 2013 09:25:08 -0500

On Mon, Feb 25, 2013 at 9:14 AM, svla299 <address@hidden> wrote:
How can I link a 3rd party .dll during compilation. It's something that is
not clear to me. In order to aoi it I'm trying to generate a lib file out of
the .dll as I hae already mentioned in an earlier message.

You don't link directly to the DLL at compilation time. You use the associated .lib file and the resulting executable is linked to the DLL. But this does not change the fact that the mex file needs to find the dependent libraries. The Windows OS can find dependent libraries in:
1) the same directory as the executable
2) in a directory that is included in your PATH environment variable

Michael.


reply via email to

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