Error while compiling onewire component code
Posted: Wed Mar 05, 2008 7:59 pm
Hello,
I was very hapy with the onewire betacomponent you provided.
I copied the Custom_Code_OneWire.c into the flowcode\component directory and renamed it to Custom_Code.c
Unfortunatly I am not able to compile the code due to following error:
Launching the compiler...
C:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\boostc.pic16.flowcode.exe -v -t PIC16F877A "One Wire Example.c"
BoostC Optimizing C Compiler Version 6.70 (for PIC16 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2007 Pavel Baranov
Copyright(C) 2004-2007 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
One Wire Example.c
Starting preprocessor: "C:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\pp.exe" "C:\Documents and Settings\Eric\Desktop\One Wire Example.c" -i "C:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\include" -d _PIC16F877A -la -c2 -o "One Wire Example.pp" -v -d _BOOSTC -d _PIC16
C:\Documents and Settings\Eric\Desktop\One Wire Example.c(303): error: missing semicolon
C:\Documents and Settings\Eric\Desktop\One Wire Example.c(303): error: missing right paren
C:\Documents and Settings\Eric\Desktop\One Wire Example.c(299): error: failure
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
Do I made a mistake or is something wrong with the provided code?
Thanks for your help.
I was very hapy with the onewire betacomponent you provided.
I copied the Custom_Code_OneWire.c into the flowcode\component directory and renamed it to Custom_Code.c
Unfortunatly I am not able to compile the code due to following error:
Launching the compiler...
C:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\boostc.pic16.flowcode.exe -v -t PIC16F877A "One Wire Example.c"
BoostC Optimizing C Compiler Version 6.70 (for PIC16 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2007 Pavel Baranov
Copyright(C) 2004-2007 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
One Wire Example.c
Starting preprocessor: "C:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\pp.exe" "C:\Documents and Settings\Eric\Desktop\One Wire Example.c" -i "C:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\include" -d _PIC16F877A -la -c2 -o "One Wire Example.pp" -v -d _BOOSTC -d _PIC16
C:\Documents and Settings\Eric\Desktop\One Wire Example.c(303): error: missing semicolon
C:\Documents and Settings\Eric\Desktop\One Wire Example.c(303): error: missing right paren
C:\Documents and Settings\Eric\Desktop\One Wire Example.c(299): error: failure
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
Do I made a mistake or is something wrong with the provided code?
Thanks for your help.