Compiler settings?: usb_serial_config.h": No such file or directory

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

Moderator: Benj

Post Reply
streammaster
Posts: 78
Joined: Mon Jul 31, 2017 11:14 am
Has thanked: 7 times
Been thanked: 13 times
Contact:

Compiler settings?: usb_serial_config.h": No such file or directory

Post by streammaster »

Hi guys,
i installed FC8 and loaded my last FC7 project to see if would compile.
Firstly installing the 'tool chain' still not configure the compiler options (defaults settings are not working), what created actual confusion: it is a mystery where actual files are installed. Also i couldn't find installation configuration instruction, you may do this for other people; so i did using my intuition.
After search I discovered that the tool chain files are installed in the new directory called "Flowcode" but not on C root but in Program files(x86).
Anyhow when i manually pointed to compiler exe it actually started to compile, but created an following error:

Title:
Description:
Device: PIC.18F.18F47J53
Generated by: Flowcode v8.0.0.6
Date: Tuesday, June 05, 2018 10:27:55
Users: 1
Registered to: streammaster
License key: xxxxxx
http://www.matrixtsl.com
Launching the compiler...
C:\Program Files (x86)\Flowcode\Common\Compilers\pic\bin\xc8.exe --chip=18F47J53 "SM2_18.61 change 240s GPS.c" --MSGDISABLE=359,1273,1388
Microchip MPLAB XC8 C Compiler (PRO Mode) V1.45
Build date: Nov 15 2017
Part Support Version: 1.45
Copyright (C) 2017 Microchip Technology Inc.
License type: Node Configuration

USB_CONFIG: 1026: (141) can't open include file "../../../CAL/PIC/USB/usb_serial_config.h": No such file or directory
(908) exit status = 1
(908) exit status = 1

C:\Program Files (x86)\Flowcode\Common\Compilers\pic\bin\xc8.exe reported error code 1


It looks that there is perhaps issue with actual include files link. How and where i can fix this?

Any idea?

Regards,

Igor

streammaster
Posts: 78
Joined: Mon Jul 31, 2017 11:14 am
Has thanked: 7 times
Been thanked: 13 times
Contact:

Re: Compiler settings?: usb_serial_config.h": No such file or directory - Solved

Post by streammaster »

It sounds i have a dialogue with my self here :-)

I noticed that there was an update in FC8 (Help -> Check for Updates) and there where a few updates relevant to my project (USB CAL, i2c CAL).
After installing updates and restarting the FC8 compilation finished successfully.

So the problem solved.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Compiler settings?: usb_serial_config.h": No such file or directory

Post by Benj »

Hello,

Many thanks for letting us know, glad the problem has now been resolved.

Post Reply