Page 1 of 1

Compile to hex error with no custom code

Posted: Sun Oct 18, 2009 5:24 pm
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.

Re: Compile to hex error with no custom code

Posted: Mon Oct 19, 2009 8:35 am
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.

Re: Compile to hex error with no custom code

Posted: Mon Oct 19, 2009 3:22 pm
by kdoney34711
That did it thanks. :lol: