Keil Logo

µVISION: Space Character Inside Library's Name, LIB File Not Created


Information in this knowledgebase article applies to:

  • C51 Version 9.54
  • C51 Version 9.54a

SYMPTOM

If a space is included in Options For Target => Output Tab => Name of Executable, and Create Library is selected, then the *.LIB file will not be generated during a build. Also, the build output is smaller than normal, after the line "creating library *.LIB...", it immediately states a successful build.

RESOLUTION

First, close the project. In the installation folder of Keil tools (e.g. C:\Keil\, C:\Keil_v5\, etc.), go to the UV4 folder, and rename the file, UV4.exe. Download and unzip the attached file. Rename this file UV4.exe and move it to the UV4 folder. Then reopen µVision. The new executable will create a library.

Only versions 9.54 and 9.54a of the C51 toolchain cause this issue so the attached file should only be downloaded if a library is to be developed with these versions that requires a space in its name. Using a newer or earlier version of the toolchain will successfully create a library.

Note:

  • While many modern operating systems support spaces in filenames, if a later user wants to call or create a custom script, the script's design must include this interpretation of the space character.

SEE ALSO

MORE INFORMATION

  • Refer to Command Line in the µVision User's Guide.
  • If the user includes spaces and calls µVision from the command line, quotation marks should be used around the name of the file or target.

ATTACHED FILES

Request the files attached to this knowledgebase article.

Last Reviewed: Friday, February 24, 2017


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.