Page 1 of 1
No .hex file - compile error \ No "C" code !!!
Posted: Fri Oct 19, 2012 7:17 pm
by ojsvargas
Message Compiler:
.......
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
This happens for any file. (flowchart).
The Flowcode chip does not write any more.
Please help-me .
I used Google trasnlator because dont understand english. I´m sorry.
Re: No .hex file - compile error \ No "C" code !!!
Posted: Sat Oct 20, 2012 12:34 am
by Enamul
Can you please post your program?
Re: No .hex file - compile error \ No "C" code !!!
Posted: Sat Oct 20, 2012 1:23 am
by ojsvargas
The problem that this line parameters linker.
I do not understand how this line must be completed. What values and how is the syntax for these commands. I changed the path to the folder correcting the location of the executable and Flowcode now compile programs, but was in line parameters that made hundreds of attempts. No matter flowcharts because the error message was given on all programs, from the simplest to the examples provided by the Matrix.
Re: No .hex file - compile error \ No "C" code !!!
Posted: Sat Oct 20, 2012 1:24 am
by ojsvargas
Nesta imagem... attachment
Re: No .hex file - compile error \ No "C" code !!!
Posted: Sat Oct 20, 2012 9:11 am
by medelec35
Problem could be caused by your compiler settings. Probably directory locations
rand.pic16.lib should be there, so that's not causing issue
Are you sure you have correct directory?
You could use browse option within compiler settings to check compiler location is correct.
What about selecting option list drop down box and select <default> at the top of compiler options window?
With Flowcode V5 directory for compile is:
\Flowcode\v5\Tools\boostc
I have a \v5 directory after \Flowcode
whereas you do not.
If Flowcode settings are defaulting to wrong directory, you could try manually adding correct directory locations.
Are you using Free, home or professional version of flowcode 5?
Since this is not E-block related, I will move post to a more suitable section.
Martin
Re: No .hex file - compile error \ No "C" code !!!
Posted: Sat Oct 20, 2012 3:41 pm
by ojsvargas
Thanks for the help.
Yes, I'm using version 5 Professional.
My setup is not in default directories, but did change the path correctly. The problem was in the guide "parameters" because it has several commands that I know not serving, (%-i-t #). Re-installed everything again, and now he's back to generate the files. Hex, but with a dozen messages from the compiler. Attached ...
Re: No .hex file - compile error \ No "C" code !!!
Posted: Sat Oct 20, 2012 3:42 pm
by Enamul
This is normal as long as returns o at the end