How do I fix LINK : fatal error LNK1104: cannot open file 'libc.lib' (2012b)

Desire: I am attempting to create a .dll to use in conjunction with CANoe to simulate a feature within a CAN network.
Error:
### Linking ...
LINK : fatal error LNK1104: cannot open file 'libc.lib'
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\link.EXE"' : return code '0x450'
Stop.
The make command returned an error of 2
'An_error_occurred_during_the_call_to_make' is not recognized as an internal or external command, operable program or batch file.
### Creating HTML report file test_codegen_rpt.html
I have read that I need to ignore 'libc.lib' but I have been unable to find a way to ignore this library within matlab/simulink. Please advise how to resolve this issue.
OS: Windows 7
Matlab: 2012b
compiler: Lcc-win32 C 2.4.1 in C:\PROGRA~2\MATLAB\R2012b\sys\lcc

1 Comment

This Error does not appear when using the Microsoft Visual C++ 2010 Professional compiler.

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Products

Asked:

on 19 Nov 2014

Commented:

on 3 Dec 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!