No .hex file - compile error \ No "C" code !!!

For E-blocks user to discuss using E-blocks and programming for them.

Moderators: Benj, Mods

Post Reply
ojsvargas
Flowcode v5 User
Posts: 12
Joined: Mon Aug 27, 2012 12:24 am

No .hex file - compile error \ No "C" code !!!

Post 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.

User avatar
Enamul
Posts: 1772
Joined: Mon Mar 05, 2012 11:34 pm
Location: Nottingham, UK
Has thanked: 271 times
Been thanked: 814 times

Re: No .hex file - compile error \ No "C" code !!!

Post by Enamul »

Can you please post your program?
Enamul
University of Nottingham
enamul4mm@gmail.com

ojsvargas
Flowcode v5 User
Posts: 12
Joined: Mon Aug 27, 2012 12:24 am

Re: No .hex file - compile error \ No "C" code !!!

Post 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.
Attachments
LedContagem.fcf
(15.5 KiB) Downloaded 411 times

ojsvargas
Flowcode v5 User
Posts: 12
Joined: Mon Aug 27, 2012 12:24 am

Re: No .hex file - compile error \ No "C" code !!!

Post by ojsvargas »

Nesta imagem... attachment
Attachments
Parametros_linker.jpg
Parametros_linker.jpg (57.6 KiB) Viewed 7126 times

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: No .hex file - compile error \ No "C" code !!!

Post 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
Martin

ojsvargas
Flowcode v5 User
Posts: 12
Joined: Mon Aug 27, 2012 12:24 am

Re: No .hex file - compile error \ No "C" code !!!

Post 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 ...
Attachments
Msg_Compilador.jpg
Msg_Compilador.jpg (127.33 KiB) Viewed 7115 times

User avatar
Enamul
Posts: 1772
Joined: Mon Mar 05, 2012 11:34 pm
Location: Nottingham, UK
Has thanked: 271 times
Been thanked: 814 times

Re: No .hex file - compile error \ No "C" code !!!

Post by Enamul »

This is normal as long as returns o at the end
Enamul
University of Nottingham
enamul4mm@gmail.com

Post Reply