I'm trying to learn PLC Programing. Today I was making a simple PLC program, as you can see. When I compile the program without the visualization, there are no errors. However, when I add the visualization and then compile it, I get this error. I donβt know how to solve the problem. I have tried the following solutions: rebooting the PC and updating the software.
Error Code: C0138: No matching 'FB_Init' method found for instantiation of VisuClientObjectMgr
Compile complete -- 1 errors, 0 warnings
Build complete -- 1 errors, 0 warnings : No download possible
Maybe check:
- The library manager, are you maybe missing some libraries
- Tools - CODESYS installer: update the CODESYS Visualization and Visualization support
- Project - Project environment: maybe you need to update the visualization profile
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Unfortunately, the "C0138: No matching 'FB_Init" method found" error is a nightmare for CODESYS V3.5 SP21.
I'm not sure if anything has been done about this or if anything will be fixed.
I've encountered the same issue many times, and it was only resolved by completely uninstalling SP21, deleting all related files and folders from my computer, and then installing SP19.
So, I've given up on using SP21 and switched back to SP19patch7.
Hi all!
I'm trying to learn PLC Programing. Today I was making a simple PLC program, as you can see. When I compile the program without the visualization, there are no errors. However, when I add the visualization and then compile it, I get this error. I donβt know how to solve the problem. I have tried the following solutions: rebooting the PC and updating the software.
Error Code: C0138: No matching 'FB_Init' method found for instantiation of VisuClientObjectMgr
Compile complete -- 1 errors, 0 warnings
Build complete -- 1 errors, 0 warnings : No download possible
Version: CODESYS V3.5 SP21 Patch 3
Maybe check:
- The library manager, are you maybe missing some libraries
- Tools - CODESYS installer: update the CODESYS Visualization and Visualization support
- Project - Project environment: maybe you need to update the visualization profile
I have tried these steps, but it still does not work. What should I do? I'm stuck on this error. I cannot design the HMI, I need help.
Unfortunately, the "C0138: No matching 'FB_Init" method found" error is a nightmare for CODESYS V3.5 SP21.
I'm not sure if anything has been done about this or if anything will be fixed.
I've encountered the same issue many times, and it was only resolved by completely uninstalling SP21, deleting all related files and folders from my computer, and then installing SP19.
So, I've given up on using SP21 and switched back to SP19patch7.
Here are some previous posts regarding the "C0138: No matching 'FB_Init" on SP21 of Codesys.
https://forge.codesys.com/forge/talk/Visualization/thread/0763d6ca8e/
https://forge.codesys.com/forge/talk/Motion/thread/9074005bf4/