Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

tons of compile error after try the user management

cedric89
2021-01-18
2021-01-19
  • cedric89 - 2021-01-18

    hi i have tons of error after trying user management feature

    here is error log:

    how to get rid of that without restarting from blank project

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

    [ERROR] test_GP10.projectV1.1: C0077: Unknown type: 'VisuUserManagement.VUM_UserGroup'
    [ERROR] test_GP10.projectV1.1: VisualizationManager Device: PLC Logic: Application: C0077: Unknown type: 'VisuUserManagement.VisuUserMgmtCyclicCall'
    [ERROR] test_GP10.projectV1.1: VisualizationManager Device: PLC Logic: Application: C0077: Unknown type: 'VisuUserManagement.VisuUserMgmt'
    [ERROR] test_GP10.projectV1.1: C0018: 'UserGroups[0].dwID' is no valid assignment target
    [ERROR] test_GP10.projectV1.1: C0077: Unknown type: 'VisuUserManagement.VUM_UserGroup'
    [ERROR] test_GP10.projectV1.1: C0018: 'UserGroups[0].wstGroupName' is no valid assignment target
    [ERROR] test_GP10.projectV1.1: C0077: Unknown type: 'VisuUserManagement.VUM_UserGroup'
    [ERROR] test_GP10.projectV1.1: C0018: 'UserGroups[0].xAutoLogout' is no valid assignment target
    [ERROR] test_GP10.projectV1.1: C0077: Unknown type: 'VisuUserManagement.VUM_UserGroup'
    [ERROR] test_GP10.projectV1.1: C0018: 'UserGroups[0].tAutoLogout' is no valid assignment target
    [ERROR] test_GP10.projectV1.1: C0077: Unknown type: 'VisuUserManagement.VUM_UserGroup'
    [ERROR] test_GP10.projectV1.1: C0018: 'UserGroups[0].dwFlags' is no valid assignment target
    [ERROR] test_GP10.projectV1.1: C0077: Unknown type: 'VisuUserManagement.VUM_UserGroup'
    [ERROR] test_GP10.projectV1.1: C0018: 'UserGroups[1].dwID' is no valid assignment target
    [ERROR] test_GP10.projectV1.1: C0077: Unknown type: 'VisuUserManagement.VUM_UserGroup'
    [ERROR] test_GP10.projectV1.1: C0018: 'UserGroups[1].wstGroupName' is no valid assignment target
    [ERROR] test_GP10.projectV1.1: C0077: Unknown type: 'VisuUserManagement.VUM_UserGroup'
    [ERROR] test_GP10.projectV1.1: C0018: 'UserGroups[1].xAutoLogout' is no valid assignment target
    [ERROR] test_GP10.projectV1.1: C0077: Unknown type: 'VisuUserManagement.VUM_UserGroup'
    [ERROR] test_GP10.projectV1.1: C0018: 'UserGroups[1].tAutoLogout' is no valid assignment target
    [ERROR] test_GP10.projectV1.1: C0077: Unknown type: 'VisuUserManagement.VUM_UserGroup'
    [ERROR] test_GP10.projectV1.1: C0018: 'UserGroups[1].dwFlags' is no valid assignment target
    [ERROR] test_GP10.projectV1.1: C0077: Unknown type: 'VisuUserManagement.VUM_UserGroup'
    [ERROR] test_GP10.projectV1.1: C0032: Cannot convert type 'VisuUserManagement.VisuUserMgmtCyclicCall' to type 'IVisuUserMgmtCyclicCall(visuelembase, 3.5.15.0 (system))'
    [ERROR] test_GP10.projectV1.1: C0018: 'VisuUserManagement.VUM_GVL.g_VisuUserMgmt' is no valid assignment target
    [ERROR] test_GP10.projectV1.1: C0062: 'VisuUserManagement.VUM_GVL' is no structured variable
    [ERROR] test_GP10.projectV1.1: C0046: Identifier 'VisuUserManagement' not defined
    [ERROR] test_GP10.projectV1.1: C0035: Program name, function or function block instance expected instead of 'g_VisuUserMgmt_Inst.Initialize'
    [ERROR] test_GP10.projectV1.1: C0077: Unknown type: 'VisuUserManagement.VisuUserMgmt'
    Compile complete -- 29 errors, 10 warnings

     

    Related

    Talk.ru: 1

  • Morberis

    Morberis - 2021-01-18

    Are the relevant libraries present or have been added to your library manager? Possibly make sure both library managers have the relevant libraries. The amount of errors makes me think that the problem is a missing library. Possibly just the 'VisuUserMgmtDialogs' library but maybe more.

    The libraries are
    VisuUserMgmt
    VisuUserMgmtDialogs
    VisuUserManagement

     

    Last edit: Morberis 2021-01-18
  • cedric89 - 2021-01-19

    Hi,
    so it seems that sysSem is missing but i don't know how to add it
    when i try:
    try to reload library i have that error mesage:

     
  • cedric89 - 2021-01-19

    sysSem missing:

     
  • dkugler - 2021-01-19

    which version of codesys you are using? You have SysSem 3.5.12.0 and 3.5.16.0 at the same time in you project. Cleaning up your project settings and update all devices etc. to the same runtime version may help

     
    • cedric89 - 2021-01-19

      how to cleanup my project
      i am using 3.5.15

       
      • Morberis

        Morberis - 2021-01-19

        On the top menu bar under 'Project' is a button for 'Project Environment'. Clicking it will open a new window called 'Project Environment'. On the bottom left is a button called 'Set All to Newest'. Click that then click the OK button.

        Afterwards if you still have the same library with multiple version right click and delete the older versions. Hopefully none of them tell you that they have been implicitly added. If it has, leave it and delete the newer version.

        Edit:
        If you are still getting errors relating to not having the newer library, right click on the implicitly added library, click properties, and point the default library to the newer library.

         

        Last edit: Morberis 2021-01-19
        • cedric89 - 2021-01-19

          do i need to remove the lib then re-install it ?

           
          • Morberis

            Morberis - 2021-01-19

            Is that after you set your project environment to newest? And are you doing that with SysSem or with one of those other 3 libraries?

             
            • cedric89 - 2021-01-19

              i delete my PLC which was in version 3.5.16, i close and re-open progect re download mising element and my error seems to be gone

               
  • dkugler - 2021-01-19

    πŸ‘πŸ‘

     
    πŸ‘
    1

Log in to post a comment.