Compile to hex error with no custom code

For MIAC users to discuss projects, applications, and any other issues related to the MIAC unit.

Moderators: Benj, Mods

Post Reply
kdoney34711
Posts: 25
Joined: Tue Sep 29, 2009 1:07 pm
Has thanked: 1 time
Contact:

Compile to hex error with no custom code

Post by kdoney34711 »

I keep getting the following error whenever I attempt to compile to hex a project which has no custom code:


File name: C:\Users\kdoney\Desktop\electronics\pic\miac\miac_lathe.c
Generated by: Flowcode v4.1.1.55
Date: Sunday, October 18, 2009 13:49:55
Licence: Professional
Registered to: Kevin Doney


http://www.matrixmultimedia.com


Launching the compiler...
C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\boostc.pic18.flowcode.exe -v -t PIC18F4455 "miac_lathe.c"
BoostC Optimizing C Compiler Version 6.95 (for PIC18 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2009 Pavel Baranov
Copyright(C) 2004-2009 David Hobday

Licensed to FlowCode User under Single user Pro License for 1 node(s)
Limitations: PIC18 max code size:Unlimited, max RAM banks:Unlimited


miac_lathe.c
Starting preprocessor: C:\PROGRA~1\MATRIX~1\FLOWCO~2\BoostC\pp.exe C:\Users\kdoney\Desktop\electronics\pic\miac\miac_lathe.c -i C:\PROGRA~1\MATRIX~1\FLOWCO~2\BoostC\include -d _PIC18F4455 -la -c2 -o C:\Users\kdoney\Desktop\electronics\pic\miac\miac_lathe.pp -v -d _BOOSTC -d _PIC18

C:\PROGRA~1\MATRIX~1\FLOWCO~2\BoostC\include\PIC18F4455.h(9): Illegal directive
C:\PROGRA~1\MATRIX~1\FLOWCO~2\BoostC\include\boostc.h(12): Illegal directive

2 errors detected
Error: preprocessing error

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




It compiles to c just fine. I can see no error in the code. If I create a new project with miac selected and do nothing other than try to compile to hex I get the same errors.
Attachments
PIC18F4455.h
(60.59 KiB) Downloaded 385 times
boostc.h
Error on line 12?
(4.68 KiB) Downloaded 430 times
miac_lathe.fcf
main file V4 latest version
(15.78 KiB) Downloaded 392 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Compile to hex error with no custom code

Post by Benj »

Hello

I have just tried to compile the program here and it is working fine. It is strange that the compiler thinks the problem is inside the BoostC resource header files. It may be worth trying to uninstall and reinstall to see if this fixes the problem your having.

kdoney34711
Posts: 25
Joined: Tue Sep 29, 2009 1:07 pm
Has thanked: 1 time
Contact:

Re: Compile to hex error with no custom code

Post by kdoney34711 »

That did it thanks. :lol:

Post Reply