Page 1 of 1

Flow Code is Unable to Compile these

Posted: Thu Jul 07, 2011 11:10 pm
by greentech
SIMPLE OUTPUT PORT A =0 ICON IS PLACED IN A WHILE LOOP

WHEN I COMPILE IT GIVES AN ERROR

Launching the compiler...
C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\boostc.pic16.flowcode.exe -v -t PIC18LF14K50 "Flowcode1.c"
BoostC Optimizing C Compiler Version 6.95 (for PIC16 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: PIC12,PIC16 max code size:Unlimited, max RAM banks:Unlimited


Flowcode1.c
Starting preprocessor: C:\PROGRA~1\MATRIX~1\FLOWCO~1\BoostC\pp.exe "C:\Users\COMMON SENSE\Documents\FLOWCODE PROJECTS\test\Flowcode1.c" -i C:\PROGRA~1\MATRIX~1\FLOWCO~1\BoostC\include -d _PIC18LF14K50 -la -c2 -o "C:\Users\COMMON SENSE\Documents\FLOWCODE PROJECTS\test\Flowcode1.pp" -v -d _BOOSTC -d _PIC16


.......

Flowcode1.c success

success

Return code = 0

Launching the linker/assembler...
C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\boostlink.pic.exe -ld "C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\lib" libc.pic16.lib flowcode.pic16.lib rand.pic16.lib float.pic16.lib "Flowcode1.obj" -t PIC18LF14K50 -d "C:\Users\COMMON SENSE\Documents\FLOWCODE PROJECTS\test" -p "Flowcode1"
BoostLink Optimizing Linker Version 6.95
http://www.sourceboost.com
Copyright(C) 2004-2009 Pavel Baranov
Copyright(C) 2004-2009 David Hobday


Error: .obj or .lib file wrong target type
Error: Failed to process:libc.pic16.lib
Error: .obj or .lib file wrong target type
Error: Failed to process:flowcode.pic16.lib
Error: .obj or .lib file wrong target type
Error: Failed to process:rand.pic16.lib
Error: .obj or .lib file wrong target type
Error: Failed to process:float.pic16.lib
Error: .obj or .lib file wrong target type
Error: Failed to process:Flowcode1.obj


failure

Return code = -2

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


FINISHED

Re: FLOW CODE IS UNABLE TO COMPILE THESE

Posted: Thu Jul 07, 2011 11:17 pm
by greentech
PIC16LF1823 ALSO NOT WORKING

ERROR SAYS. COULT NOT FIND CONFIG START OR END ADDRESS IN PIC 16LF1823

SAME GOES FOR ALL OTHERS.

Re: Flow Code is Unable to Compile these

Posted: Fri Jul 08, 2011 10:06 am
by DavidA
Hi greentech,

Unfortunately this chip doesnt seem to be working properly with the current boostc compiler, we have a patch coming out very soon which should hopefully fix this as default.

In the meanwhile if you are having problems you can use the hitech compiler which should work for you.
Here is a post detailing how to set up the Hitech compiler: http://www.matrixmultimedia.com/mmforum ... =26&t=6812

Additionally would it be possible for you to post on the V4 forums for us, i will move this topic there, if you dont have access to these forums you can follow the instructions located here: http://www.matrixmultimedia.com/support ... f=29&t=602