Dynamic and Shared Libraries
古いコメントを表示
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 件のコメント
Geoff Hayes
2019 年 4 月 10 日
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
2019 年 4 月 10 日
Geoff Hayes
2019 年 4 月 10 日
From mex filenames input param, For linking dynamic libraries, use the -llibname option. Have you tried to do this?
VINAYAK KARANDIKAR
2019 年 4 月 10 日
Walter Roberson
2019 年 4 月 10 日
-lmsvcr7
Ignore the API-MS entries.
VINAYAK KARANDIKAR
2019 年 4 月 10 日
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Troubleshooting in MATLAB Compiler SDK についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!