Page 1 of 1

Formula Flowcode Buggy compile errors in ver4

Posted: Wed May 05, 2010 10:39 am
by juliansilver
Dear MM.

Please could you help me out on this littler error. I am trying to demonstrate the Formula Flowcode buggy to one of my freinds using Flowcode 4.3.7.63. I can write the routine and simulate it, but when I compile I get to following errors:

File name: C:\Documents and Settings\user1\Desktop\flowcode\jbuggy sound meter.c
Generated by: Flowcode v4.3.7.63
Date: Wednesday, May 05, 2010 11:53:17
Licence: Professional
Registered to: Julian Silver


http://www.matrixmultimedia.com


Launching the compiler...
C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\boostc.pic18.flowcode.exe -v -t PIC18F4455 "jbuggy sound meter.c"
BoostC Optimizing C Compiler Version 6.95 (for PIC18 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: PIC18 max code size:Unlimited, max RAM banks:Unlimited


jbuggy sound meter.c
Starting preprocessor: C:\PROGRA~1\MATRIX~1\FLOWCO~3\BoostC\pp.exe "C:\Documents and Settings\user1\Desktop\flowcode\jbuggy sound meter.c" -i C:\PROGRA~1\MATRIX~1\FLOWCO~3\BoostC\include -d _PIC18F4455 -la -c2 -o "C:\Documents and Settings\user1\Desktop\flowcode\jbuggy sound meter.pp" -v -d _BOOSTC -d _PIC18


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

jbuggy sound meter.c success

success

Return code = 0

Launching the linker/assembler...
C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\boostlink.pic.exe -rb 0x800 -ld "C:\Program Files\SourceBoost\lib" libc.pic18.lib "jbuggy sound meter.obj" -t PIC18F4455 -d "C:\Documents and Settings\user1\Desktop\flowcode" -p "jbuggy sound meter"
BoostLink Optimizing Linker Version 6.95
http://www.sourceboost.com
Copyright(C) 2004-2009 Pavel Baranov
Copyright(C) 2004-2009 David Hobday


Error: Unresolved external function:'float32_to_int32(float)'
Error: Unresolved external function:'float32_to_int32(float)'
Error: Unresolved external function:'float32_to_int32(float)'
Error: Unresolved external function:'float32_to_int32(float)'
Error: Unresolved external function:'float32_from_int32(signed long)'
Error: Unresolved external function:'float32_from_int32(signed long)'
Error: Unresolved external function:'float32_from_int32(signed long)'
Error: Unresolved external function:'float32_from_int32(signed long)'
Error: Unresolved external function:'float32_from_int32(signed long)'
Error: Unresolved external function:'float32_from_int32(signed long)'
Error: Unresolved external function:'float32_le(float,float)'
Error: Unresolved external function:'float32_le(float,float)'
Error: Unresolved external function:'float32_le(float,float)'

This goes on for several pages.

Can you help me out?

Regds...J

Re: Formula Flowcode Buggy compile errors in ver4

Posted: Wed May 05, 2010 1:02 pm
by Benj
Hello,

Please can you post your Flowcode program and the C file that is generated onto the forum and I will look into this problem for you.

Re: Formula Flowcode Buggy compile errors in ver4

Posted: Wed May 12, 2010 8:15 pm
by juliansilver
Here are the attachments you requested.

Ta alot. Regds...jules

Re: Formula Flowcode Buggy compile errors in ver4

Posted: Thu May 13, 2010 7:51 am
by Steve
I think your linker parameters are not quite correct. Here's what mine are:

Code: Select all

-ld "D:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\lib" libc.pic16.lib flowcode.pic16.lib rand.pic16.lib float.pic16.lib "%f.obj" -t PIC%p -d "%d" -p "%f"
Looking at your compilation messages, your one is set to this:

Code: Select all

-ld "C:\Program Files\SourceBoost\lib" libc.pic18.lib "%f.obj" -t PIC%p -d "%d" -p "%f"
I think you need to change yours to this:

Code: Select all

-ld "C:\Program Files\SourceBoost\lib" libc.pic18.lib flowcode.pic16.lib rand.pic16.lib float.pic16.lib "%f.obj" -t PIC%p -d "%d" -p "%f"
Note that the 16 and 18 in the lib filenames is not a problem - Flowcode automatically alters these depending on the target device.

It also seems that you are using a different version of the BoostC compiler - i.e. not the one that comes with Flowcode. This might cause you some problems. If it does, you could try removing the "flowcode.pic16.lib" library from the above parameters.

Re: Formula Flowcode Buggy compile errors in ver4

Posted: Sun May 16, 2010 11:43 am
by juliansilver
Dear Steve.

That seemed to work.

I'm not sure how those settings got there. As far as the BootC being different I am a bit stumped. It all seems to work now though.

Thanks again. Regds...jules