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!