Adding a 2nd party xxx.lib file to my uV3 (V3.30) project causes ERROR L218 NOT AN OBJECT FILE. xxx.lib was created on uV3 (V3.90), any ideas? Even when right-click on the .lib file, uV3 reports "Not a library file".
Thanks all, solved. The library was built using RealView and I was using CARM. I've made the switch to RealView and all is well.
That simply tells the tools to assume that anything with a .lib extension is to be treated as a Library file - it is up to you to ensure that your .lib file is valid for use with your particular version of the Keil tools.
Have you done that?
Not uncommon to get problems when linking a library built with a different version of the tools - especially if using c++.
Does it make a difference if you try to build a little library with your version of the compiler?
Have you asked Keil support?
In the "properties/file type" area for this file it is designated as a Library file. Anything else I should look for, thanks.
Is it in the appropriate Library format required by Keil?
View all questions in Keil forum