PROBLEM COMPILING WITH SOURCE BOOST V7

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
miguelmauricior
Flowcode V4 User
Posts: 42
Joined: Tue May 05, 2009 12:13 pm
Location: COLOMBIA
Contact:

PROBLEM COMPILING WITH SOURCE BOOST V7

Post by miguelmauricior »

Hi I have updated from Source boost V6.95 to V7 and the original paht for the compiler in the Flow code commands was:

C:\Program Files\SourceBoost\Lib" libc.pic16.lib rand.pic16.lib float.pic16.lib "%f.obj" -t PIC%p -d "%d" -p "%f"

This generated this massage:
___________________________________________________________________________________________
Launching the compiler...
C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\boostc.pic16.flowcode.exe -v -t PIC12F629 "LIGHTONALARM.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


LIGHTONALARM.c
Starting preprocessor: C:\PROGRA~1\MATRIX~1\FLOWCO~1\BoostC\pp.exe "C:\Program Files\Matrix Multimedia\FlowCode projects\LIGHTONALARM.c" -i C:\PROGRA~1\MATRIX~1\FLOWCO~1\BoostC\include -d _PIC12F629 -la -c2 -o "C:\Program Files\Matrix Multimedia\FlowCode projects\LIGHTONALARM.pp" -v -d _BOOSTC -d _PIC16

....................

LIGHTONALARM.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 "LIGHTONALARM.obj" -t PIC12F629 -d "C:\Program Files\Matrix Multimedia\FlowCode projects" -p "LIGHTONALARM"
BoostLink Optimizing Linker Version 6.95
http://www.sourceboost.com
Copyright(C) 2004-2009 Pavel Baranov
Copyright(C) 2004-2009 David Hobday


Warning unreferenced functions removed:
FCI_FLOAT_TO_STRING in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_NUMBER_TO_HEX in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_STRING_TO_INT in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
FCI_STRING_TO_FLOAT in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
Wdt_msDelay in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
Wdt_Delay_S in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
Wdt_Delay_Ms in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h
isinf in: C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h

Building CASM file
Memory Usage Report
===================
RAM available:64 bytes, used:45 bytes (70.4%), free:19 bytes (29.6%),
Heap size:19 bytes, Heap max single alloc:18 bytes
ROM available:1024 words, used:339 words (33.2%), free:685 words (66.8%)



success

Return code = 0

Launching the programmer...
C:\Program Files\Matrix Multimedia\Flowcode V4\tools\PICkit2\pk2cmd.exe -PPIC12F629 -FLIGHTONALARM.hex -M -A5 -T -R -BC:\Program Files\Matrix Multimedia\Flowcode V4\tools\PICkit2\
No PICkit 2 found.


Return code = 10

Flowcode no pudo transferir el diagrama de flujo al microcontrolador. Verifique que las opciones del programa ensamblador y las conecciones físicas sean correctas.

FINISHED
________________________________________________________________________________________
Then I updated the compiler options by this path(C:\Program Files\SourceBoost\boostc++_pic16.exe) I got this:
________________________________________________________________________________________
Launching the compiler...
C:\Program Files\SourceBoost\boostc++_pic16.exe -v -t PIC12F629 "LIGHTONALARM.c"
BoostC++ Optimizing C++ Compiler Version 7.00 (for PIC16 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2010 Pavel Baranov
Copyright(C) 2004-2010 David Hobday

Licensed to MMRZ under Single user Full License for 1 node(s)
Limitations: PIC12,PIC16 max code size:Unlimited, max RAM banks:Unlimited, Non commercial use only


LIGHTONALARM.c
Starting preprocessor: C:\PROGRA~1\SOURCE~1\pp.exe "C:\Program Files\Matrix Multimedia\FlowCode projects\LIGHTONALARM.c" -i C:\PROGRA~1\SOURCE~1\include -d _PIC12F629 -la -c2 -o "C:\Program Files\Matrix Multimedia\FlowCode projects\LIGHTONALARM.pp" -v -d _BOOSTC -d _BOOSTCPP -d _PIC16 -d _CHAR_INDEX


.................................

LIGHTONALARM.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 "LIGHTONALARM.obj" -t PIC12F629 -d "C:\Program Files\Matrix Multimedia\FlowCode projects" -p "LIGHTONALARM"
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 Incompatible version! (file uses V112, linker requires V109 to V111)
Error: Failed to process:LIGHTONALARM.obj


failure

Return code = -2

Flowcode no pudo ensamblar el archivo ASM debido a los siguientes errores:


FINISHED
______________________________________________________________________________________________________________________________________
Can you tell me what is missing? How is the correct way to update the linker? and what other thinks must be updated?

THANKS.......
MMRZ

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times

Re: PROBLEM COMPILING WITH SOURCE BOOST V7

Post by saschech@gmx.de »

Hello

I think all users have these message and all must wait for a update

Regards Wolfgang

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: PROBLEM COMPILING WITH SOURCE BOOST V7

Post by Benj »

Hello,

Yes Wolfgang is correct here. We have special linkers made for Flowcode which are not compatible with the default BoostC installation. Therefore the version of Sourceboost is directly tied to the release version of Flowcode.

User avatar
Steve
Matrix Staff
Posts: 3433
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Re: PROBLEM COMPILING WITH SOURCE BOOST V7

Post by Steve »

Can you continue to use Flowcode with the original path and parameters for the BoostC compiler and linker? Or does the installation of the latest BoostC cause problems with the version used by Flowcode?

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times

Re: PROBLEM COMPILING WITH SOURCE BOOST V7

Post by saschech@gmx.de »

Hello Steve

I can use Flowcode with the original path and parameters.

Regards Wolfgang

Post Reply