ARM Technical Support Knowledge Articles

Library is not created

Applies to: C51 C Compiler

Answer


Information in this knowledgebase article applies to:


SYMPTOM

When building a library in a ┬ÁVision project, no errors are reported but the library file is not created. The 'Build Output' window shows 'creating library...' but the invocation of the library manager is not visible.

Build target 'MyTarget'
compiling MyFile1.C...
compiling MyFile2.C...
compiling MyFile3.C...
creating library MyLibrary.LIB...
"MyLibrary.LIB" - 0 Error(s), 0 Warning(s).

This is how it is supposed to be.

Build target 'Simulator'
compiling MyFile1.C...
compiling MyFile2.C...
compiling MyFile3.C...
creating library MyLibrary.LIB...
TRANSFER
"MyFile1.obj",
"MyFile2.obj"
"MyFile3.obj"
TO "MyLibrary.LIB"
LIB51 LIBRARY MANAGER V4.29
COPYRIGHT KEIL ELEKTRONIK GmbH 1987 - 2011
"MyLibrary.LIB" - 0 Error(s), 0 Warning(s).

CAUSE

The LIB51.exe/LIBX51.exe library manager tries to find the file 'msvcr100.dll' in the folder C:\Keil\C51\BIN and in some Windows system folders. When it cannot be found there, LIB51.exe/LIBX51.exe closes without any error message.

RESOLUTION

Please copy the file 'msvcr100.dll' from the folder C:\Keil\UV4 to the folder C:\Keil\C51\BIN. If you have installed PK51/CA51 in a different path, please adapt the paths accordingly.

STATUS

This problem will be fixed in the next version of PK51/CA51.

ATTACHED FILES

Request the files attached to this knowledgebase article.

Article last edited on: 2012-06-22 13:15:16

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential