Flow Code is Unable to Compile these

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
User avatar
greentech
Flowcode V4 User
Posts: 158
Joined: Mon Jan 31, 2011 2:11 pm
Has thanked: 10 times
Been thanked: 2 times
Contact:

Flow Code is Unable to Compile these

Post 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

User avatar
greentech
Flowcode V4 User
Posts: 158
Joined: Mon Jan 31, 2011 2:11 pm
Has thanked: 10 times
Been thanked: 2 times
Contact:

Re: FLOW CODE IS UNABLE TO COMPILE THESE

Post by greentech »

PIC16LF1823 ALSO NOT WORKING

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

SAME GOES FOR ALL OTHERS.

User avatar
DavidA
Matrix Staff
Posts: 1076
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Has thanked: 58 times
Been thanked: 258 times
Contact:

Re: Flow Code is Unable to Compile these

Post 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

Post Reply