However, when I open and compile the example program with SP21 Patch2, I get the strange error message below regarding Visualisation component, and it fails to compile.
" [ERROR] visuelems, 4.8.0.0 (system): VisuFbTabControl:
C0138: No matching 'FB_Init' method found for instantiation of VisuClientObjectMgr
"
Are others experiencing the error "C0138: No matching 'FB_Init' method found for instantiation..." when trying to compile example projects created with older versions of Codesys with a later version of the IDE?
How did you overcome this problem?
Could you share your solutions?
This "FB_Init" error has become very annoying lately. It's usually related to webvisu and is resolved by deleting all objects and related libraries.
Of course, you need to re-add the deleted objects. Lately, we've generally been managing by not upgrading, but this problem persists in every version since SP20 and should be resolved.
I updated a project from SP 19 to SP 21 and found 116 similar errors.
[ERROR] alarmmanager, 4.7.0.0 (intern): ReplaceAlarmPlaceholdersConverted: C0138: No matching 'FB_Init' method found for instantiation of CharBufferString
[ERROR] visuelemsalarm, 4.7.0.0 (system): protDrawRowHeader [VisuFbElemAlarmTable]: C0138: No matching 'FB_Init' method found for instantiation of CharBufferString
[ERROR] alarmmanager, 4.7.0.0 (intern): AnalyzePlaceholders2 [Alarm]: C0138: No matching 'FB_Init' method found for instantiation of CharBufferString
If you have an ERROR related VisuClientObjectMgr you can try to disable "Visualization Manager - Settings - Support client animations and overlay of native elements " selection
"C0138: No matching 'FB_Init' method found for instantiation of VisuClientObjectMgr" etc
π
2
Last edit: cihangur 2025-10-10
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everyone,
I downloaded the "Example: PLC Chat Net Base Services" example from the Codesys help site to review and try it out.
https://content.helpme-codesys.com/en/CODESYS%20Examples/_ex_cds_plc_chat_net_base_services.html
However, when I open and compile the example program with SP21 Patch2, I get the strange error message below regarding Visualisation component, and it fails to compile.
"
[ERROR] visuelems, 4.8.0.0 (system): VisuFbTabControl:
C0138: No matching 'FB_Init' method found for instantiation of VisuClientObjectMgr
"
Are others experiencing the error "C0138: No matching 'FB_Init' method found for instantiation..." when trying to compile example projects created with older versions of Codesys with a later version of the IDE?
How did you overcome this problem?
Could you share your solutions?
Regards,
Imdat
This "FB_Init" error has become very annoying lately. It's usually related to webvisu and is resolved by deleting all objects and related libraries.
Of course, you need to re-add the deleted objects. Lately, we've generally been managing by not upgrading, but this problem persists in every version since SP20 and should be resolved.
I updated a project from SP 19 to SP 21 and found 116 similar errors.
[ERROR] alarmmanager, 4.7.0.0 (intern): ReplaceAlarmPlaceholdersConverted: C0138: No matching 'FB_Init' method found for instantiation of CharBufferString
[ERROR] visuelemsalarm, 4.7.0.0 (system): protDrawRowHeader [VisuFbElemAlarmTable]: C0138: No matching 'FB_Init' method found for instantiation of CharBufferString
[ERROR] alarmmanager, 4.7.0.0 (intern): AnalyzePlaceholders2 [Alarm]: C0138: No matching 'FB_Init' method found for instantiation of CharBufferString
If you have an ERROR related VisuClientObjectMgr you can try to disable "Visualization Manager - Settings - Support client animations and overlay of native elements " selection
"C0138: No matching 'FB_Init' method found for instantiation of VisuClientObjectMgr" etc
Last edit: cihangur 2025-10-10