This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Newbie .LIB file and error L218

Hello Forum!

I have a problem when I wan't to include a .LIB file into my project.

In the project workspace I have created a group for my .LIB files. In this group I have added my .LIB file.

Now, when I try to compile, I get this error:

*** FATAL ERROR L218: NOT AN OBJECT FILE
    FILE: C:\DevKit_5_00_Beta1\....\zw_slave_ZW030xs.lib

The helpfile isn't that helpfull - it just tells me that the file is not an .OBJ file. Well, I can see that, but how can I make the compiler accept a .LIB file, and what have I ignored to do right?

Parents
  • Hi Andy!

    Right - the Linker won't accept the .LIB file.

    When I said "compiler" I meant the hole setup - my bad!
    The .LIB file was added under guidance of a step-by-step guide, and I believe that it is done correct - at least according to the guide.
    The .LIB file comes from a development kit for Zwave, and before you ask again - I haven't checked with them yet. But I will.

    Generally speaking I am not sure of anything at the moment - new compiler (!) and new wireless technology.

    Can you give me any idea of what I should check in my setup?

Reply
  • Hi Andy!

    Right - the Linker won't accept the .LIB file.

    When I said "compiler" I meant the hole setup - my bad!
    The .LIB file was added under guidance of a step-by-step guide, and I believe that it is done correct - at least according to the guide.
    The .LIB file comes from a development kit for Zwave, and before you ask again - I haven't checked with them yet. But I will.

    Generally speaking I am not sure of anything at the moment - new compiler (!) and new wireless technology.

    Can you give me any idea of what I should check in my setup?

Children