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

Ambiguous use of name - CO136

tbambrough
2018-05-16
2020-01-17
  • tbambrough

    tbambrough - 2018-05-16

    When I added dynamic memory allocation to my project (CodeSys 3.5.12.10), I receive the following two errors that I cannot find how to resolve.

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

    [ERROR] Dillution Station: C0136: ambiguous use of name 'LinearMemoryManager'
    [ERROR] Dillution Station: C0138: No matching FB_init method found for instantiation of LinearMemoryManager
    Compile complete -- 2 errors, 24 warnings

    Any ideas?

     
  • tbambrough

    tbambrough - 2018-05-18

    The issue is related to the inclusion of the VisuElemBase library.

    The issue can be reproduced by:
    1) Create standard application
    2) Enable Dynamic memory
    3) Add VisuElemBase library

    Compile the application

     
  • asnik

    asnik - 2020-01-17

    The same trouble with 3.5.14.30.
    C0136: ambiguous use of name 'LinearMemoryManager' during compilation with VisuElemBase.
    How to resolve?

     

Log in to post a comment.