Ambiguous use of name - CO136

tbambrough
2018-05-16
2020-04-20
  • 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?

     
  • Thomas

    Thomas - 2020-04-20

    Hi, set the option "Qualified only" at the library you add.
    == >> You must use the namespace in your code like "nbs.IPSTRING_TO_INT"

    Regards

     
    👍
    1
    • asnik

      asnik - 2020-04-20

      Yes, it did the trick)) Thomas, thank you so much!

       
  • 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?

     
  • asnik

    asnik - 2020-04-20

    Still no progress from anybody?

     

Log in to post a comment.