Components Compiler Error (PLCNEXT0003): The library description file name '...' inside the library must be equal to the library file name '...' on disk.
The referenced library contains an error. The name of the library description file (*.libmeta) contained in the library file (*.pcwlx) and the name of the library file stored on your disk are not identical. Probably, the error was generated when creating the library.
Background: A library is a zip file with a different extension (*.pcwlx) containing a folder structure of the library-specific files. Renaming the .pcwlx file to .zip will enable you to uncompress the library file just like any other zip file.
Remedy
- Re-create the library and then re-import it into to your project as described in the topic "Adding libraries".For PLCnext Technology controllers, use the PLCnext Technology Toolchain for the creation of the library (the Toolchain is available in the download area of your controller at phoenixcontact.net/products). Or
- Uncompress and edit the .pclwx content as follows:
Note
This procedure is intended for experts only.- Locate the .pcwlx file on your disk. (By default, the library files are stored in the directory specified in the 'Extras > Options' dialog under the 'Tool | Directories' category.)
- Rename the .pcwlx file to .zip and uncompress it to a directory on your disk.
- In the folder structure, locate the .libmeta file and rename the file to the same name as the .pcwlx file.
- Once you have made the change, select all files, compress it to a zip archive and rename it to the original .pcwlx.
- Add the library to your project as described in the topic "Adding libraries".