Why do I receive a LIBC.lib error when doing a MEX compilation in MATLAB 7.9 (R2009b)?
조회 수: 12 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2010년 5월 21일
편집: MathWorks Support Team
2021년 6월 21일
When compiling my C-file with MEX, I receive a LIBC.lib not found during compilation. I am able to compile a simple example like timestwo.c.
ERROR: LINK : fatal error LNK1104: cannot open file 'LIBC.lib'
채택된 답변
MathWorks Support Team
2021년 6월 17일
편집: MathWorks Support Team
2021년 6월 21일
In MATLAB 7.9 (R2009b), the fatal error LNK1104: cannot open file 'LIBC.lib' relates to dependent libraries used in your C application.
This is a common issue when libraries were compiled using different versions of Visual Studio Compiler. This issue is discussed here:
One workaround is to place the LIBC.lib : "Project Property -> Configuration Properties -> Linker -> Input -> Ignore Specific Library"
"Ignore the LIBC.LIB" in Visual Studio so that it does not depend on a specific version of Visual Studio.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!