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

12 views (last 30 days)
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

Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!