Formula Flowcode Buggy compile errors in ver4

For Formula Flowcode Micromouse users to discuss projects, flowcharts, and any other issues related to the Formula Flowcode Micromouse.

Moderator: Benj

Post Reply
juliansilver
Flowcode v5 User
Posts: 13
Joined: Mon Apr 26, 2010 8:08 pm
Contact:

Formula Flowcode Buggy compile errors in ver4

Post 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

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: Formula Flowcode Buggy compile errors in ver4

Post 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.

juliansilver
Flowcode v5 User
Posts: 13
Joined: Mon Apr 26, 2010 8:08 pm
Contact:

Re: Formula Flowcode Buggy compile errors in ver4

Post by juliansilver »

Here are the attachments you requested.

Ta alot. Regds...jules
Attachments
jbuggy sound meter.c
(17.53 KiB) Downloaded 556 times
jbuggy sound meter.fcf
(8 KiB) Downloaded 541 times

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

Re: Formula Flowcode Buggy compile errors in ver4

Post 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.

juliansilver
Flowcode v5 User
Posts: 13
Joined: Mon Apr 26, 2010 8:08 pm
Contact:

Re: Formula Flowcode Buggy compile errors in ver4

Post 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

Post Reply