Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


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

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 ]
Alastair

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]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.