Can't generate state machine code (C++)

Hi - I’m trying out VP-UML and have a very simple project with a class that has a statemachinne diagram. When I go to generate the code, it gives the following error:

/home/medvedm/workspace/Test/src/Acme.sm:4: error - Expecting “%{ source %}”, %start, or %class.

I’m using Ubuntu Linux, trying to generate C++. Anyone see this before?

M

Hi medvedm,

Thank you for your post. Could you attach your project file for us to have a try? If you mind posting in forum you may post a ticket at:
http://www.visual-paradigm.com/support/technicalsupport.jsp

Look forward to hearing from you.

Best regards,
Jick

Here is a very simple project that I made that yields the same error when I try to generate C++ state machines in Ubuntu Linux.

M
Test.vpp

Hello Medvedm,

Thanks for replying and I’ve forwarded your problem to our engineers to follow-up, and will get back to you once there are any feedback. Feel free to contact me if you need any help.

Best regards,
Rain

Hello Medvedm

I would like to let you know the generate C++ code for state diagram problem has been fixed and please run the VP Suite Update to update the software to latest patch (sp2_20100609f or later). Details about update to latest patch can be found at

Feel free to contact me if you require any further information.

Best regards,
Rain