I have changed location of compiler from
D:\Program Files (x86)\Flowcode\Common\Compilers\pic16\
to
D:\Program Files (x86)\Flowcode\Common\Compilers\pic16
and get a new error
basically Options have been disabled due to restricted license
Target folder: D:\Users\roy\Documents\Flowcode 10
Source name: D:\Users\roy\Documents\Flowcode 10\DSPIC33EV256GM002.fcfx
Title:
Description:
Device: PIC16.33E.33EV256GM002
Generated by: Flowcode v10.1.1.39
Date: Friday, July 26, 2024 15:39:57
Users: 1
Registered to: XXXXXXXXXXXXXXX
Licence key: XXXXXXXXX
NOT FOR COMMERCIAL USE
https://www.flowcode.co.uk
Using <PICkit4 IPE External Power> inbuilt settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PIC16\batchfiles\pic16_C30_comp.bat "D:\Program Files (x86)\Flowcode\Common\Compilers\pic16\" "DSPIC33EV256GM002" "D:\Users\roy\Documents\Flowcode 10\" "33EV256GM002"
D:\Users\roy\Documents\Flowcode 10>REM CRC: 54CD51B8F484283E91B3AD9DE6F4F50C418D34178E0D3D0BD2659E1DA9D69F58D3529BB9468CFC85641793EB31F94A5F16CBA8333F125C7188ED8742865A1BBCF23BFF3064C25A11BAFA61B701B8D046E2B847C06A341BA1A924146F47BB51131AFA1B63045FF8EFD8DA408700E5719BD2897C22C80F0B985EDF8CE67A1404D62B8878703E3665631EAF018A0B6018ACC8FF364DB19D83FB389861B26F27604A1F36255EB2E4245255911F067119BEF7D5F89C133B93261A29D848A5DAD12E38FF9E5CFBC45304482C3050DA273BE4EEDBE038345E976FF7F0C03E6C1723E33C3CC5736D0D2DAB0D0DA6C43ED30373AA133F965729382C18
D:\Users\roy\Documents\Flowcode 10>REM REVISION: 2.0
D:\Users\roy\Documents\Flowcode 10>REM GUID: 7821ABE5-9E21-4744-81B7-3FF600B75DB7
D:\Users\roy\Documents\Flowcode 10>REM DATE: 25\03\2024
D:\Users\roy\Documents\Flowcode 10>REM DIR: FCD\PIC16\batchfiles\pic16_C30_comp.bat
D:\Users\roy\Documents\Flowcode 10>xc16-gcc -c -mcpu="33EV256GM002" -omf=coff -funsigned-char -fno-short-double -Os -I"D:\Program Files (x86)\Flowcode\Common\Compilers\pic16\support\h" -I"D:\Program Files (x86)\Flowcode\Common\Compilers\pic16\" -I"D:\Program Files (x86)\Flowcode\Common\Compilers\pic16\batchfiles\" -std=gnu99 "DSPIC33EV256GM002".c -o "DSPIC33EV256GM002".o
Options have been disabled due to restricted license
Visit
http://www.microchip.com/ to purchase a new key.
DSPIC33EV256GM002.c: In function 'main':
DSPIC33EV256GM002.c

3: error: 'CLKVIDbits' undeclared (first use in this function)
DSPIC33EV256GM002.c

3: note: each undeclared identifier is reported only once for each function it appears in
DSPIC33EV256GM002.c

10: error: 'oscconbits' undeclared (first use in this function)
DSPIC33EV256GM002.c

25: error: expected ')' before '!' token
DSPIC33EV256GM002.c

2: warning: 'return' with a value, in function returning void
Error returned from [xc16-gcc.exe]