Raspberry pi 3B+ Identifier 'DED' not defined

krisj
2023-07-24
2023-07-25
  • krisj - 2023-07-24

    Hello, I'm encountering a few error messages when I try to set up a project for my raspberry pi.
    I followed the first steps youtube guide from codesys.
    The installation of the runtime package to the pi went fine.
    However, when I try to make a simple program to upload to the device I get the following errors:

                ------ Build started: Application: Device.Application -------
                Typify code...
    

    [ERROR] test: Application [Device: PLC Logic]: C0077: Unknown type: 'DED.CAADiagDeviceDefault'
    [ERROR] test: Application [Device: PLC Logic]: C0077: Unknown type: 'DED.CAADiagDeviceDefault'
    [ERROR] test: Application [Device: PLC Logic]: C0077: Unknown type: 'DED.INode'
    [ERROR] test: GPIOs_A_B [Device]: C0032: Cannot convert type 'Unknown type: 'ADR(DED.g_itfRootINodeInst)'' to type 'POINTER TO BYTE'
    [ERROR] test: Application [Device: PLC Logic]: C0077: Unknown type: 'DED.g_itfRootINodeInst'
    [ERROR] test: GPIOs_A_B [Device]: C0046: Identifier 'DED' not defined
    Compile complete -- 6 errors, 0 warnings
    Build complete -- 6 errors, 0 warnings : No download possible

    Has anyone encountered this issue, or know of a fix?
    I have no idea what DED is referring to, and google has not been very helpful.
    Any help would be much appreciated.

     
  • krisj - 2023-07-25

    Turned out to be an easy fix in the end.
    I went in to the Library Manager and hit download missing libraries.
    Then boom, problem solved!

     

Log in to post a comment.