C++ Ports

Hello Community, I would like to create a program link from IEC61113-3 and C++ (Eclipse). Unfortunately I get the errors in the attachment when compiling and therefore I don’t see any ports that I can link. (When I put it into the library). I don’t know if I have initialized the variables correctly or where else the error can be. Can someone help me here. Thanks a lot

More Attachments

Component.cpp.png
Component.hpp.png
Program.cpp.png
Program.hpp (1).png
Program.hpp (2).png

Hello plcnextstarter, as already discussed, the port attributes were not declared correctly. The port attributes must be defined for each individual variable and should not be in a single line. In the screenshot below, the error is outlined in red and the correct declaration outlined in blue. Best Regards Eduard

Port.png

thank you very much