Page 1 of 1

error

Posted: Mon Sep 26, 2011 1:21 am
by brandonb
a friend has an error .....Error: Failed to open:libc.pic16.lib or C:\Program Files\SourceBoost\lib/libc.pic16.lib





failure



Return code = -2



Flowcode was unable to assemble the ASM file due to the following errors: what does this mean? he cant download my files to chip

Re: error

Posted: Mon Sep 26, 2011 5:22 am
by fotios
Hi Brand
If i remember well, "Return code = -2" means that the program memory of the target device is insufficient to contain the program code. With other words, you have to select a PIC with bigger program memory.
Fotis

Re: error

Posted: Mon Sep 26, 2011 5:47 am
by brandonb
hopefully tommorrow he'll have v4 access to give more info... it does this on windows 7 64 bit and basic old school xp... the program memory is not the issue since we were trying to get only a switch and led macro working first because that program did work last week... it seems like there is something missing in the program

Re: error

Posted: Mon Sep 26, 2011 8:47 am
by Steve
brandonb wrote:Error: Failed to open:libc.pic16.lib or C:\Program Files\SourceBoost\lib/libc.pic16.lib
See here:
http://www.matrixmultimedia.com/support ... f=22&t=683

Or here:
http://wwww.matrixmultimedia.com/mmforu ... 02&start=0

Or even here...
http://www.google.co.uk/search?q=Failed ... .pic16.lib

Re: error

Posted: Tue Sep 27, 2011 4:41 am
by brandonb
thanks steve for the fast response- reconfigureing the options to default was the third thing we tryed but for some reason it didnt work at that time, did work today and all is well! hey john chime in