library error

kevint
2020-04-24
2020-04-27
  • kevint - 2020-04-24

    Hello,
    Can someone please help with the following error:
    [ERROR] FileUtilities: Library Manager [CoDeSys_Control_Win_V3: PLC Logic: Application]: Could not open library '#SysDir'. (Reason: The placeholder library 'SysDir' could not be resolved.)

    I looked within the library and the SysDir exists.
    I have opened the example "FileUitlities" project and I get 7 similar errors for various utilities.

     
  • i-campbell

    i-campbell - 2020-04-24

    Right click the device in device tree and "Update" and select the latest controller.
    Then from the menu bar Project > Project Environment... > Set all to newest > OK

     
  • kevint - 2020-04-24

    Getting closer....
    Now I have errors during pre-compile.
    [ERROR] FileUtilities: SystemDir : Ambiguous use of name 'AM_WRITE_PLUS'

    The documentation says this is part of the library that is loaded.
    What does it need??

     
  • kevint - 2020-04-27

    F.Y.I.
    Ended up having to add namespace to eliminate ambiguity.
    SysFile.AM_WRITE_PLUS
    Someone should update the example.

     

Log in to post a comment.