PIC Compiling issue

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
gavo4
Posts: 92
Joined: Sat Aug 25, 2018 7:58 pm
Been thanked: 8 times
Contact:

PIC Compiling issue

Post 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

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: PIC Compiling issue

Post 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.
Martin

gavo4
Posts: 92
Joined: Sat Aug 25, 2018 7:58 pm
Been thanked: 8 times
Contact:

Re: PIC Compiling issue

Post by gavo4 »

Thanks for the reply, somehow I don't have xc8-cc.exe is completely missing, is there something I can install?

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Re: PIC Compiling issue

Post 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’.
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

gavo4
Posts: 92
Joined: Sat Aug 25, 2018 7:58 pm
Been thanked: 8 times
Contact:

Re: PIC Compiling issue

Post by gavo4 »

Thanks!

I will give it a go!

Post Reply