Solved ! Does the auto version id work in version 11
Posted: Wed Mar 18, 2026 9:21 pm
I was trying to use the Auto Version ID but it seems to cause an error in version 11. I expect its me doing something wrong.
You can add the component but as soon as you try to use one of items like get build number it causes a compile error.
Compile to C is ok but compile to Hex causes this error.
I'm using the free version maybe that the problem.
Thanks for any info Mark
C:\Flowcode Projects\FC11>"C:\Program Files (x86)\Flowcode\Compilers\picv2\bin\xc8.exe" --chip=16F18877 "TEST_OF_16F18877.c" --double=32 --float=32 --msgdisable=359,1273,1388
C:\Program Files (x86)\Flowcode\Compilers\picv2\pic\bin\picc --chip=16F18877 TEST_OF_16F18877.c --double=32 --float=32 --msgdisable=359,1273,1388
Microchip MPLAB XC8 C Compiler V2.10
Build date: Jul 30 2019
Part Support Version: 2.10
Copyright (C) 2019 Microchip Technology Inc.
TEST_OF_16F18877.c: FCD_09b81_AutoVersionID1__GetSourceFilename()
82: FCI_SCOPY(FCV_09b81_AutoVersionID1__MYFILENAME,FCVsz_09b81_AutoVersionID1__MYFILENAME, FCR_RETVAL,FCRsz_RETVAL);
^ (192) undefined identifier "FCVsz_09b81_AutoVersionID1__MYFILENAME"
(908) exit status = 1
(908) exit status = 1
Error returned from [xc8.exe]
C:\ProgramData\MatrixTSL\FlowcodeV11\FCD\PIC\batch\pic_xc8_comp.bat reported error code 0x1
Autoclose turned off
FINISHED
You can add the component but as soon as you try to use one of items like get build number it causes a compile error.
Compile to C is ok but compile to Hex causes this error.
I'm using the free version maybe that the problem.
Thanks for any info Mark
C:\Flowcode Projects\FC11>"C:\Program Files (x86)\Flowcode\Compilers\picv2\bin\xc8.exe" --chip=16F18877 "TEST_OF_16F18877.c" --double=32 --float=32 --msgdisable=359,1273,1388
C:\Program Files (x86)\Flowcode\Compilers\picv2\pic\bin\picc --chip=16F18877 TEST_OF_16F18877.c --double=32 --float=32 --msgdisable=359,1273,1388
Microchip MPLAB XC8 C Compiler V2.10
Build date: Jul 30 2019
Part Support Version: 2.10
Copyright (C) 2019 Microchip Technology Inc.
TEST_OF_16F18877.c: FCD_09b81_AutoVersionID1__GetSourceFilename()
82: FCI_SCOPY(FCV_09b81_AutoVersionID1__MYFILENAME,FCVsz_09b81_AutoVersionID1__MYFILENAME, FCR_RETVAL,FCRsz_RETVAL);
^ (192) undefined identifier "FCVsz_09b81_AutoVersionID1__MYFILENAME"
(908) exit status = 1
(908) exit status = 1
Error returned from [xc8.exe]
C:\ProgramData\MatrixTSL\FlowcodeV11\FCD\PIC\batch\pic_xc8_comp.bat reported error code 0x1
Autoclose turned off
FINISHED