Hi,
When I generate code under Linux I get the fowling error:
/opt/unifiedautomation/uamodeler/bin/templates/cpp/v1_3_1/parentAndReference.tt2s could not be opened.
Aborted.
If I do this with the Windows uaModeler, I can't see the error message during code generation.
I can't give an example, because I get this error several times and I have a bigger project. Maybe the error did not occur with the Linux Modeler V1.1 Version.
Maybe a hint:
I added under Objects->Server the method "myTestMethod" with the input argument Message:: String
Then I got the error above during the xy_nodemanagerxy.cpp generation.
And in the code stands this: (red is only generated under Windows)
parentNodeId = UaNodeId(7060, getTypeNamespace());
pParent = getNode(parentNodeId);
if(pParent)
{
dynamic_cast(pParent)->setInputArguments(UaArgument());
}
So, the final question is, what can I do against the error?
/opt/unifiedautomation/uamodeler/bin/templates/cpp/v1_3_1/parentAndReference.tt2s could not be opened.
Aborted.
Best Regards
cpp/v1_3_1/parentAndReference.tt2s could not be opened.
Moderator: uamodeler
-
- Hero Member
- Posts: 21
- Joined: 07 Oct 2012, 11:18
- Support Team
- Hero Member
- Posts: 3071
- Joined: 18 Mar 2011, 15:09
Re:cpp/v1_3_1/parentAndReference.tt2s could not be opened.
Hi ChSch,
Thank you for reporting this bug. We will fix it for the version 1.2.1 of the UaModeler.
As a workaround you can copy the file parentandreference.tt2s and rename the copy to parentAndReference.tt2s.
Best Regards,
Support Team
Thank you for reporting this bug. We will fix it for the version 1.2.1 of the UaModeler.
As a workaround you can copy the file parentandreference.tt2s and rename the copy to parentAndReference.tt2s.
Best Regards,
Support Team
Best regards
Unified Automation Support Team
Unified Automation Support Team