16F877A not compiling

Moderator: Benj

Post Reply
User avatar
E*2Engineer
Posts: 35
Joined: Wed Dec 25, 2013 6:54 pm
Has thanked: 12 times
Been thanked: 6 times
Contact:

16F877A not compiling

Post by E*2Engineer »

Using Ver 4.5 FC, on QL200 board, and QL200 software to send to PIC16f877A.
Old .hex programs loading to PIC fine. New programs not compiling to .hex through F.C.
Let me know what other info needed and I will supply. Results shown below.
Thank You.
E*2Engineer

File name: C:\Program Files\Matrix Multimedia\NEW LED BINARY COUNT.c
Generated by: Flowcode v4.5.18.74
Date: Wednesday, December 25, 2013 14:12:00
Licence: Professional
Registered to: CRAIG CHAMBERLAIN


http://www.matrixmultimedia.com


Launching the compiler...
C:\Program Files\Matrix Multimedia\Flowcode V4\boostc\boostc_pic16_flowcode.exe -v -t PIC16F877A "NEW LED BINARY COUNT.c"
BoostC Optimizing C Compiler Version 7.04 (for PIC16 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2011 Pavel Baranov
Copyright(C) 2004-2011 David Hobday

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


NEW LED BINARY COUNT.c
Starting preprocessor: C:\PROGRA~1\MATRIX~1\FLOWCO~1\boostc\pp.exe "NEW LED BINARY COUNT.c" -i C:\PROGRA~1\MATRIX~1\FLOWCO~1\boostc\include -d _PIC16F877A -la -c2 -o "NEW LED BINARY COUNT.pp" -v -d _BOOSTC -d _PIC16 -d _CHAR_INDEX


...

NEW LED BINARY COUNT.c success

success

Return code = 0

Launching the linker/assembler...
C:\Program Files\Matrix Multimedia\Flowcode V4\boostc\boostc_pic16_flowcode.exe -ld "C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\lib" libc.pic16.lib flowcode.pic16.lib rand.pic16.lib float.pic16.lib "NEW LED BINARY COUNT.obj" -t PIC16F877A -d "C:\Program Files\Matrix Multimedia" -p "NEW LED BINARY COUNT"
BoostC Optimizing C Compiler Version 7.04 (for PIC16 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2011 Pavel Baranov
Copyright(C) 2004-2011 David Hobday

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

warning: unrecognized command line agrument '-ld', skipped
warning: unrecognized command line agrument '-p', skipped

C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\lib
FATAL: Unable to open input file: C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\lib
Error: preprocessing error
libc.pic16.lib
FATAL: Unable to open input file: libc.pic16.lib
Error: preprocessing error
flowcode.pic16.lib
FATAL: Unable to open input file: flowcode.pic16.lib
Error: preprocessing error
rand.pic16.lib
FATAL: Unable to open input file: rand.pic16.lib
Error: preprocessing error
float.pic16.lib
FATAL: Unable to open input file: float.pic16.lib
Error: preprocessing error
NEW LED BINARY COUNT.obj
NEW LED BINARY COUNT.obj(1): error: failure
NEW LED BINARY COUNT
FATAL: Unable to open input file: NEW LED BINARY COUNT
Error: preprocessing error

failure

Return code = 1

Flowcode was unable to assemble the ASM file due to the following errors:


FINISHED

Kenrix2
Flowcode v5 User
Posts: 211
Joined: Tue Feb 19, 2013 9:51 pm
Has thanked: 72 times
Been thanked: 177 times
Contact:

Re: 16F877A not compiling

Post by Kenrix2 »

Seems like the settings of linker/assembler in compiler options are not correct. Have you tried "Restore Defaults"?

User avatar
E*2Engineer
Posts: 35
Joined: Wed Dec 25, 2013 6:54 pm
Has thanked: 12 times
Been thanked: 6 times
Contact:

Re: 16F877A not compiling

Post by E*2Engineer »

Kenrix2,
I had not tried that, But it worked!
Thank so much.
-Craig C

Post Reply