The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: mex linking libraries on windows
Replies: 7   Last Post: Aug 6, 2013 9:39 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 3
Registered: 8/2/13
mex linking libraries on windows
Posted: Aug 2, 2013 9:37 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I want to create a mex file which uses a third party library for which I have .h, .lib and .dll files. The mex file compiles ok and everything works great if I have the library's .dll file in the same folder as my mex file (from where I call it). However, I would like to be able to distribute the mex file without also having to distribute/install the third party dll.

Is it possible to link in such a way as the compiled mex file has no external dependencies?

Compiler: Microsoft Visual C++ 2010
Matlab: 2013a
OS: Windows 7 enterprise 64bit

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.