UaModeler .cpp implementation file missing after compile

Questions regarding the use of UaModeler

Moderator: uamodeler

Post Reply
Bergsteiger
Sr. Member
Sr. Member
Posts: 18
Joined: 07 Jul 2014, 16:11

UaModeler .cpp implementation file missing after compile

Post by Bergsteiger »

Rather difficult to reproduce!
Creating a new event type works for the very first time and produces the correct assembly of output files when compiling with UaModeler. Unfortunately after changing any contents of the eventtype for example the access level the compile forgets to produce the corresponding implementation file even so that the log in ##_generatedfiles.txt lists the file name.

To reproduce:
Create an event type and compile the result. Delete the complete contents of the output folder and compile again with all output enabled. The result
SecondCompileWithLog.png
shows that the implementation file is missing even so that it is listed in the *generatedfiles.txt.

Now reopen the model and add a new event type. Again delete the contents of the output folder. The result
ThirdCompileWithNewEvent.png
shows that for the newly created event type the implementation file is properly being generated, but for the first testeventtype it is still missing.


Environment
Win7 Pro SP1
UaModeler 1.3.4 "293"

User avatar
Support Team
Hero Member
Hero Member
Posts: 3068
Joined: 18 Mar 2011, 15:09

Re: UaModeler .cpp implementation file missing after compile

Post by Support Team »

Hello,

We could reproduce the described behavior. We will fix this for the next version.
There is a workaround for your problem. In TestEventType the is (at least) one Variable where the value is not null. Please delete this Variable and create it again without setting the value and generate the code again.

Best regards
Support Team

Post Reply