Version 4 Installation

Moderator: Benj

Post Reply
swanflow
Flowcode V4 User
Posts: 4
Joined: Sun Jun 05, 2011 4:19 pm
Location: Swanage,Dorset UK
Contact:

Version 4 Installation

Post by swanflow »

I have installed FC V4.3 Professional over V3 Student.
I compiled a FC routine to chip that worked OK with V3.
All reported OK except failure message comes up at the end:
'Error failed to open libc.pic18.lib or C:\Program Files\Source Boot\lib/libc.pic18.lib
Failure
Return Code=-2'
Solution please?

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: Version 4 Installation

Post by medelec35 »

This caused by wrong settings within your compiler options (under chip menu).
Looking at your post, your error is:'

Code: Select all

Error failed to open libc.pic18.lib or C:\Program Files\Source Boot\lib/libc.pic18.lib
The Boot should be Boost. But the whole directory set-up looks wrong.
Here are settings:

Code: Select all

Flowcode v4.

Compiler Location: C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\boostc.pic16.flowcode.exe
Compiler Params: -v -t PIC%p "%f.c"

Linker Location: C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\boostlink.pic.exe
Linker Params: -ld "C:\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"

You could try clicking on Restore Defaults and that should sort your problem out.

If you get a [INSTALLDIR] error then see:
http://www.matrixmultimedia.com/support ... f=22&t=612

If you still have a problem you could try reinstalling Flowcode.
Martin
Martin

swanflow
Flowcode V4 User
Posts: 4
Joined: Sun Jun 05, 2011 4:19 pm
Location: Swanage,Dorset UK
Contact:

Re: Version 4 Installation

Post by swanflow »

Hi Martin
I tried Restore Defaults.
But got the same error.
I will try re-installing FC.
Thanks

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

Re: Version 4 Installation

Post by Steve »

Did you try the "restore defaults" button in the "compiler options" window? This should reset the compiler toolchain.

Post Reply