Page 1 of 1

compiling problem

Posted: Thu Sep 15, 2011 6:18 am
by nuwan5213
hi,
im getting this message when compiling flowchart to hex.


test.c(1843): error: missing semicolon
test.c(1843): error: missing right paren
test.c(1571): error: failure

failure

Return code = 1

Flowcode was unable to compile the flowchart's C code due to the following errors:


If your flowchart contains C code, please review this carefully. If your flowchart contains no C-code or you have thoroughly reviewed the code, contact Technical Support.

FINISHED

my flow chart is heare.

please help.
nuwan

Re: compiling problem

Posted: Thu Sep 15, 2011 7:42 am
by medelec35
Hi nuwan,
I have highlighted the box causing the error.
String error.png
(17.69 KiB) Downloaded 1325 times
You have placed a string in a calculation box with no number within the brackets. So that will though up an error.
A couple of tips
1) In stead of just having the default title for components, e.g Calculation. Place a unique number after.
so you could have Calculation 1, Calculation 2 for the next etc.

2) Take a look at this if you get any more errors, it may help you to track them down.
http://www.matrixmultimedia.com/mmforum ... =26&t=6936
Scroll down to

Code: Select all

C) General use of Flowcode.
That will explain about tracking cause missing semicolon errors.
If all components have a unique reference, then when given the offending line number, you can look at corresponding line number in your C code, and trace problem as you will see the a unique reference within the area causing problem.

What did you believe the highlighted box would do?

Martin

Re: compiling problem

Posted: Thu Sep 15, 2011 8:18 am
by nuwan5213
Hi.
martin thanks.
i corrected my flowchart.
regards,
nuwan.