|
|||||||||||
Technical Support Support Resources
Product Information |
µVISION: Specifying User Library DirectoriesInformation in this article applies to:
QUESTIONI need to specify multiple directories for my libraries in my project. I have tried to do this in the File Extensions Tab in the Environment Setup for my Project. However, I receive the following error message: *** FATAL ERROR 210: I/O ERROR ON INPUT FILE: EXCEPTION 0021H: PATH OR FILE NOT FOUND FILE: C:\KEIL\C51\LIB\;C\PROJECTS\VTLHRT\TARGET\LIB\C51S.LIB I've tried separating the libraries with a semicolon (;), a comma, and a space, but to no avail. How can I get µVision to recognize multiple library paths? ANSWERThe linker does not search paths for user libraries. Instead, you must specify the complete path to the user library. To do that, on the linker command line, add the library files as you would an object file: For example: bl51 myfile.obj, mylib.lib to output.abs In µVision, add a lib file to your project. The IDE sets all appropriate options to include it in the linkage. Last Reviewed: Friday, December 18, 2020 | ||||||||||
|
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.