PROBLEM COMPILING WITH SOURCE BOOST V7
Posted: Tue Oct 26, 2010 9:28 pm
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.......
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.......