Page 1 of 1

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

Posted: Tue Jun 05, 2018 1:52 am
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

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

Posted: Tue Jun 05, 2018 3:14 am
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.

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

Posted: Tue Jun 05, 2018 10:07 am
by Benj
Hello,

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