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?
Version 4 Installation
Moderator: Benj
-
- 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
This caused by wrong settings within your compiler options (under chip menu).
Looking at your post, your error is:'
The Boot should be Boost. But the whole directory set-up looks wrong.
Here are settings:
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
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
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
-
- Flowcode V4 User
- Posts: 4
- Joined: Sun Jun 05, 2011 4:19 pm
- Location: Swanage,Dorset UK
- Contact:
Re: Version 4 Installation
Hi Martin
I tried Restore Defaults.
But got the same error.
I will try re-installing FC.
Thanks
I tried Restore Defaults.
But got the same error.
I will try re-installing FC.
Thanks
- Steve
- Matrix Staff
- Posts: 3424
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
- Contact:
Re: Version 4 Installation
Did you try the "restore defaults" button in the "compiler options" window? This should reset the compiler toolchain.