Date: Aug 2, 2013 9:37 AM
Subject: mex linking libraries on windows
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
OS: Windows 7 enterprise 64bit