Dynamic and Shared Libraries
Afficher commentaires plus anciens
Hello everyone,
I have a .dll file that i have downloaded from the internet. This file has been reported as a dependancy by the walker software. I am trying to include it in my MEX command. However i get an error while compiling. I have saved the .dll file to the same folder from where i run the make file which contains the mex command.
How do i sort it out?
mex msvcr7.lib
LINK : fatal error LNK1181: cannot open input file 'msvcr7.lib'
6 commentaires
Geoff Hayes
le 10 Avr 2019
VInayak - please clarify if you have a dll or a static library. Your code suggests that you have a lib but you indicate that you have a dll. Which is it?
VINAYAK KARANDIKAR
le 10 Avr 2019
Geoff Hayes
le 10 Avr 2019
From mex filenames input param, For linking dynamic libraries, use the -llibname option. Have you tried to do this?
VINAYAK KARANDIKAR
le 10 Avr 2019
Walter Roberson
le 10 Avr 2019
-lmsvcr7
Ignore the API-MS entries.
VINAYAK KARANDIKAR
le 10 Avr 2019
Réponses (0)
Catégories
En savoir plus sur Troubleshooting in MATLAB Compiler SDK dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!