I have been given a few libraries for Windows and OSX that have been compiled using the Intel C++ compiler (both statically and dynamically linked versions are available). I am using MSVC 2012 on Windows, and XCode 8 on OSX and I am trying to use those libraries in projects that are not using the Intel compiler. I have only tried this on Windows so far, but even the statically linked libraries are trying to pull in additional dependencies (libmmt.lib).
Is it possible to use Intel compiled libraries this way, or does the whole tool-chain need to use the Intel compiler in order to work?
It may not be surprising if you have unresolved references to the Intel redistributable libraries. If you have a full license for your compiler, you are entitled to distribute those with your project. The redistributable package for your compiler should be available alongside the compiler on registrationcenter.intel.com as well as being present when the compler has been installed.
Hi Varsha, the libraries have been provided by a third party. Sadly, I don't have access to the Intel compiler presently and I don't know which version they used. I have sent a query and will let you know their response.
Tim P. Thanks for your response, I was expecting there to be a dependency on some run-time libraries, but this is a compiler issue where something is missing at link time. I will enquire about getting the redist from the third party, but do you know if that includes the static library for linking with?
in your case static runtime (libmmt.lib) needs to be used in case you want to use the 3rd-party static library. does the 3rd-party dynamic library require the separate intel runtime library? it can be linked statically to the 3rd party dll.
The developers of the third party library have provided me with the required static libraries to link to, namely
Now I don't need to link to anything else or redistribute any DLLs to my customers and everything appears to be working as expected.
Thanks for your help!