error when compling

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
itdave
Posts: 1
http://meble-kuchenne.info.pl
Joined: Tue Nov 29, 2022 5:30 pm

error when compling

Post by itdave »

Target folder: C:\Users\m2271077\Desktop
Source name: C:\Users\m2271077\Desktop\Flowcode coffee.fcfx
Title:
Description:
Device: PIC.16F.16F18877
Generated by: Flowcode v9.2.0.33
Date: Tuesday, November 29, 2022 15:55:51
Users: 50
Registered to: seamusmiley (34140353)
Licence key: ZUFYHZ
NOT FOR COMMERCIAL USE
https://www.flowcode.co.uk
Using <PICkit2 PK2CMD External Power> inbuilt settings for compiler
Launching the compiler...


C:\Users\m2271077\Desktop>REM REVISION: 1.0

C:\Users\m2271077\Desktop>REM GUID: 50CB4B58-ED9C-4591-8D65-A87DE810E8CC

C:\Users\m2271077\Desktop>REM DATE: 29\03\2021

C:\Users\m2271077\Desktop>REM DIR: FCD\PIC\batch\pic_xc8_comp.bat

Microchip MPLAB XC8 C Compiler V2.10
Build date: Jul 30 2019
Part Support Version: 2.10
Copyright (C) 2019 Microchip Technology Inc.
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\PIC\PIC_CAL_HBRIDGE.c: FC_CAL_HBRIDGE_Enable_1()
331: MX_HBRIDGE_A_RPOR_1 = MX_HBRIDGE_A_RPOC_1;
^ (192) undefined identifier "MX_HBRIDGE_A_RPOR_1"
^ (192) undefined identifier "MX_HBRIDGE_A_RPOC_1"
332: MX_HBRIDGE_B_RPOR_1 = MX_HBRIDGE_B_RPOC_1;
^ (192) undefined identifier "MX_HBRIDGE_B_RPOR_1"
^ (192) undefined identifier "MX_HBRIDGE_B_RPOC_1"
335: MX_HBRIDGE_C_RPOR_1 = MX_HBRIDGE_C_RPOC_1;
^ (192) undefined identifier "MX_HBRIDGE_C_RPOR_1"
^ (192) undefined identifier "MX_HBRIDGE_C_RPOC_1"
336: MX_HBRIDGE_D_RPOR_1 = MX_HBRIDGE_D_RPOC_1;
^ (192) undefined identifier "MX_HBRIDGE_D_RPOR_1"
^ (192) undefined identifier "MX_HBRIDGE_D_RPOC_1"
343: {TRIS &= ~(1 << (0)); PORT &= ~(1 << (0));};
^ (192) undefined identifier "TRIS"
^ (192) undefined identifier "PORT"
346: {TRIS &= ~(1 << (0)); PORT &= ~(1 << (0));};
^ (192) undefined identifier "TRIS"
^ (192) undefined identifier "PORT"
347: {TRIS &= ~(1 << (0)); PORT &= ~(1 << (0));};
^ (192) undefined identifier "TRIS"
^ (192) undefined identifier "PORT"
(908) exit status = 1
(908) exit status = 1

Error returned from [xc8.exe]

C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\PIC\batch\pic_xc8_comp.bat reported error code 0x1

Autoclose turned off


FINISHED

LeighM
Valued Contributor
Posts: 489
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 83 times
Been thanked: 262 times

Re: error when compling

Post by LeighM »

Please check that you have set port pins for each output of the Hbridge component properties

kkabuu
Posts: 1
Joined: Mon Sep 26, 2022 4:39 pm

Re: error when compling

Post by kkabuu »

Hello, I have the same problem. I don't know what pins I still need to configure, I'll attach a pictureImage
Image
Attachments
Untitledd.png
Untitledd.png (212.72 KiB) Viewed 2708 times
Untitled.png
Untitled.png (263.45 KiB) Viewed 2708 times

medelec35
Matrix Staff
Posts: 2086
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 644 times
Been thanked: 702 times

Re: error when compling

Post by medelec35 »

Hello.
Unfortunately, Images like that don't help.
Make sure your components database is up to date.
Select Help, Library Updates... Change the Files in-use to full database.
After updating reload your project.
If you are still having issues then please post your project file (.fcfx), C file (.c), and the compiler output message file (.msg.txt)
Martin

Post Reply