Error:

Moderator: Benj

Post Reply
Ken Sparkes
Posts: 23
Joined: Tue Nov 30, 2010 6:42 pm
Has thanked: 1 time
Contact:

Error:

Post by Ken Sparkes »

Dear Sir
I have been using flow code 5 with out any problems I now unable to program the chips I get this error message please help
Error: Failed to open:libc.pic16.lib or C:\Program Files\Matrix Multimedia\Flowcode V5\Tools\BoostC\lib/libc.pic16.lib
the program file is there on the hard disc
Regards
Ken Sparkes

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Error:

Post by medelec35 »

Hi Ken,
What has got me confused is you have posted in the V6 section, yet you have stated its V5 and its failed to open a library that has a path set for Flowcode V5:
Ken Sparkes wrote:Failed to open:libc.pic16.lib or C:\Program Files\Matrix Multimedia\Flowcode V5\Tools\BoostC\lib/libc.pic16.lib
Also your a V4 registered user.
What exact version of Flowcode (select help about) are you running?
As it looks like you have posted in the wrong section.


Have you tried changing compile to default settings?
You can do that from within compiler options.

Martin
Martin

Ken Sparkes
Posts: 23
Joined: Tue Nov 30, 2010 6:42 pm
Has thanked: 1 time
Contact:

Re: Error:

Post by Ken Sparkes »

Good day Martin
I must have mad a mistake posting in v6 I have v4 and up graded to v5 I am registered in v5 and this is the one that has just gone wrong
I have reset the compiler to default
Regards
Ken

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Error:

Post by medelec35 »

Ken Sparkes wrote:I must have mad a mistake posting in v6
No problem, I have moved to Free version of Flowcode V5, since your not registered for V5 section,
Ken Sparkes wrote:I have reset the compiler to default
Did this solve your issue?
If not, perhaps you can post your FlowchartName.msg.txt file for further investigation.

Martin
Martin

Ken Sparkes
Posts: 23
Joined: Tue Nov 30, 2010 6:42 pm
Has thanked: 1 time
Contact:

Re: Error:

Post by Ken Sparkes »

Good day Martin
No no luck there here is the text

File name: C:\Users\Ken Sparkes\Documents\Scale Watcher\Sweep Gen1 12F615_v5 with no delay.c
Title:
Description:
Generated by: Flowcode v5.5.2.1
Date: Monday, November 18, 2013 07:05:37
Licence: Professional
Registered to: Mr Ken Sparkes
Licence key: 86TRQ6
http://www.matrixmultimedia.com
Launching the compiler...
C:\Program Files\Flowcode\v5\Tools\boostc\boostc_pic16_flowcode.exe -v -t PIC12F615 "Sweep Gen1 12F615_v5 with no delay.c"
BoostC Optimizing C Compiler Version 7.04 (for PIC16 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2011 Pavel Baranov
Copyright(C) 2004-2011 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


Sweep Gen1 12F615_v5 with no delay.c
Starting preprocessor: C:\PROGRA~1\Flowcode\v5\Tools\boostc\pp.exe "Sweep Gen1 12F615_v5 with no delay.c" -i C:\PROGRA~1\Flowcode\v5\Tools\boostc\include -d _PIC12F615 -la -c2 -o "Sweep Gen1 12F615_v5 with no delay.pp" -v -d _BOOSTC -d _PIC16 -d _CHAR_INDEX


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

Sweep Gen1 12F615_v5 with no delay.c success

success
Return code = 0
Launching the linker/assembler...
C:\Program Files\Flowcode\v5\Tools\boostc\boostlink_pic.exe -ld "C:\Program Files\Matrix Multimedia\Flowcode V5\Tools\BoostC\lib" libc.pic16.lib "Sweep Gen1 12F615_v5 with no delay.obj" -t PIC12F615 -d "C:\Users\Ken Sparkes\Documents\Scale Watcher" -p "Sweep Gen1 12F615_v5 with no delay"
BoostLink Optimizing Linker Version 7.03
http://www.sourceboost.com
Copyright(C) 2004-2011 Pavel Baranov
Copyright(C) 2004-2011 David Hobday


Error: Failed to open:libc.pic16.lib or C:\Program Files\Matrix Multimedia\Flowcode V5\Tools\BoostC\lib/libc.pic16.lib


failure
Return code = -2
Flowcode was unable to assemble the ASM file due to the following errors:

Here is the flow code file
https://dl.dropboxusercontent.com/u/615 ... 0delay.fcf

C:\Program Files\Flowcode\v5\Tools\boostc\boostc_pic18_flowcode.exe
-v -t PIC%p "%f.c"

Ken





FINISHED

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: Error:

Post by DavidA »

Hi Ken,

Can you go to Build >> Compiler Options then use the "Save" button to save a copy of your compiler settings and attach them to this thread please.

Ken Sparkes
Posts: 23
Joined: Tue Nov 30, 2010 6:42 pm
Has thanked: 1 time
Contact:

Re: Error:

Post by Ken Sparkes »

Have done
Thanks
Attachments
Ken Sparkes.FCS
(479 Bytes) Downloaded 287 times

Ken Sparkes
Posts: 23
Joined: Tue Nov 30, 2010 6:42 pm
Has thanked: 1 time
Contact:

Re: Error:

Post by Ken Sparkes »

1,Compiler Options,C:\Program Files\Flowcode\v5\Tools\boostc\boostc_pic18_flowcode.exe,-v -t PIC%%p "%%f.c",C:\Program Files\Flowcode\v5\Tools\boostc\boostlink_pic.exe,-ld "C:\Program Files\Matrix Multimedia\Flowcode V5\Tools\BoostC\lib" libc.pic18.lib "%%f.obj" -t PIC%%p -d "%%d" -p "%%f",C:\Program Files\Flowcode\v5\Tools\PPP\PPPv3.exe,-cs 2 -chip PIC%%p -nogui "%%f.hex",1,-cs 2 -chip PIC%%p -config,C:\Program Files\Flowcode\v5\Tools\PPP\PPPv3.exe,0,C:\Windows\notepad.exe,

Ken

Ken Sparkes
Posts: 23
Joined: Tue Nov 30, 2010 6:42 pm
Has thanked: 1 time
Contact:

Re: Error:

Post by Ken Sparkes »

Good day
Did you have any luck sorting out my problem with Flowcode 'Regards
Ken Sparkes

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: Error:

Post by Benj »

Hello Ken,

I just tried to compile your program here and it is working ok for me.

One option to resolve the problem would be to go into Control Panel -> Programs and then do a repair installation on Flowcode v5.

If this doesn't work then an uninstall and reinstall should work to fix the issue.

Ken Sparkes
Posts: 23
Joined: Tue Nov 30, 2010 6:42 pm
Has thanked: 1 time
Contact:

Re: Error:

Post by Ken Sparkes »

Thank the repair did not work where can I down load the program now as I do not have the original down load any more
Regards
Ken

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: Error:

Post by Benj »

Hi Ken,

If you go to the Matrix homepage then you can register for an account by clicking the register button at the top of the page.

http://www.matrixmultimedia.com/accounts/register.php

Then log in and go into the old licenses section and add your CD license key. You will then have a stored copy of Flowcode v5 that you can come back and download whenever you need it. I think the same applies for v4 and v3.

Ken Sparkes
Posts: 23
Joined: Tue Nov 30, 2010 6:42 pm
Has thanked: 1 time
Contact:

Re: Error:

Post by Ken Sparkes »

Thanks Benj that worked
Ken :lol:

Post Reply