compiling problem

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
nuwan5213
Posts: 82
Joined: Thu Jul 29, 2010 10:03 am
Location: sri lanka
Has thanked: 24 times
Been thanked: 4 times

compiling problem

Post 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
Attachments
test.fcf
(14 KiB) Downloaded 238 times
Electronics for better world.

medelec35
Matrix Staff
Posts: 9521
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times

Re: compiling problem

Post 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
Last edited by medelec35 on Thu Sep 15, 2011 8:43 am, edited 1 time in total.
Martin

nuwan5213
Posts: 82
Joined: Thu Jul 29, 2010 10:03 am
Location: sri lanka
Has thanked: 24 times
Been thanked: 4 times

Re: compiling problem

Post by nuwan5213 »

Hi.
martin thanks.
i corrected my flowchart.
regards,
nuwan.
Electronics for better world.

Post Reply