µVISION: SPECIFYING USER LIB DIRECTORIES
Information in this article applies to:
I need to specifiy 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 separting the libraries with a semicolon (;), a comma, and a space, but to no avail.
How can I get µVision to recognize multiple library paths?
The 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: Tuesday, June 29, 2004
of your data.