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
[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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
[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?
more posts ...
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
The same trouble with 3.5.14.30.
C0136: ambiguous use of name 'LinearMemoryManager' during compilation with VisuElemBase.
How to resolve?
Still no progress from anybody?
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
Yes, it did the trick)) Thomas, thank you so much!