Page 1 of 1

PIC Compiling issue

Posted: Fri Aug 21, 2020 7:40 pm
by gavo4
Hi All

Does anyone perhaps know why I can't compile any PIC projects?, I keep getting this error message below, any help would be greatly appreciated

Target folder: C:\Users\gavo\OneDrive\DOCUME~1\FLOWCO~1
Source name: C:\Users\gavo\OneDrive\Documents\Flowcode - Clicker 2\18F8722.fcfx
Title:
Description:
Device: PIC.18F.18F8722
Generated by: Flowcode v8.2.2.15
Date: Friday, August 21, 2020 20:22:22
Users: 1
Registered to: gavo
License key: R1W610
https://www.matrixtsl.com
Launching the compiler...
C:\Program Files (x86)\Flowcode\Common\Compilers\pic\batch\pic_xc8_comp.bat 18F8722 "C:\Users\gavo\OneDrive\DOCUME~1\FLOWCO~1\" "18F8722"

C:\Users\gavo\OneDrive\DOCUME~1\FLOWCO~1>"C:\Program Files (x86)\Microchip\xc8\v2.00\bin\xc8-cc.exe" -mcpu=18F8722 "18F8722.c" -w=359,1273,1388 -fshort-float -fshort-double -std=c90 -Os
The system cannot find the path specified.

Error returned from [xc8.exe]

C:\Program Files (x86)\Flowcode\Common\Compilers\pic\batch\pic_xc8_comp.bat reported error code 1

Autoclose turned off


FINISHED

Re: PIC Compiling issue

Posted: Fri Aug 21, 2020 9:12 pm
by medelec35
It look like from
gavo4 wrote:
Fri Aug 21, 2020 7:40 pm
C:\Users\gavo\OneDrive\DOCUME~1\FLOWCO~1>"C:\Program Files (x86)\Microchip\xc8\v2.00\bin\xc8-cc.exe" -mcpu=18F8722 "18F8722.c" -w=359,1273,1388 -fshort-float -fshort-double -std=c90 -Os
Looks like you have manually changed the path of the default compiler.
Can you double check on your PC the actual location of

Code: Select all

xc8-cc.exe
and adjust the compiler path within edited batch file accordingly.

Re: PIC Compiling issue

Posted: Sat Aug 22, 2020 9:51 am
by gavo4
Thanks for the reply, somehow I don't have xc8-cc.exe is completely missing, is there something I can install?

Re: PIC Compiling issue

Posted: Sat Aug 22, 2020 11:51 am
by kersing
Apart from Flowcode itself you need to install the compiler package(s) for the target controller(s). You seem to be missing the PIC 8 bit compiler.

If you login to the Matrix website you can choose to download Flowcode. Just below the Flowcode download there is a ‘line’ Download Toolchains. You need to download and install ‘8bit PIC Toolchain’.

Re: PIC Compiling issue

Posted: Sat Aug 22, 2020 8:23 pm
by gavo4
Thanks!

I will give it a go!