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
Solved ! Does the auto version id work in version 11
-
Amtor
- Posts: 60
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 17, 2020 4:35 pm
- Has thanked: 21 times
- Been thanked: 16 times
Solved ! Does the auto version id work in version 11
Last edited by Amtor on Thu Mar 19, 2026 9:01 pm, edited 1 time in total.
-
Steve-Matrix
- Matrix Staff
- Posts: 1809
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 260 times
- Been thanked: 416 times
Re: Does the auto version id work in version 11
I've just checked this and it seems to be compiling ok for me. Make sure you up-to-date with Library Updates (in the Help menu) and try again.
If it's still a problem, please post the following files of a project that does not work and we will investigate further:
If it's still a problem, please post the following files of a project that does not work and we will investigate further:
- .fcfx - the project file
- .c - generated C code
- .msg.txt - errors generated during compile
- .fcxlog.txt - additional debugging info
Re: Does the auto version id work in version 11
With FC9 this compiles to Hex fine but with FC10 or FC11 I get the error.
I'm sure I'm doing something stupid
Thanks
Mark
I'm sure I'm doing something stupid
Thanks
Mark
- Attachments
-
- FC11 Test AutoID F1617788.c
- (5.22 KiB) Downloaded 39 times
-
- FC11 Test AutoID F1617788.msg.txt
- (2.54 KiB) Downloaded 27 times
-
- FC11 Test AutoID F1617788.fcxlog.txt
- (2.2 KiB) Downloaded 24 times
Re: Does the auto version id work in version 11
The other file
- Attachments
-
- FC11 Test AutoID F1617788.fcfx
- (8.26 KiB) Downloaded 37 times
-
Steve-Matrix
- Matrix Staff
- Posts: 1809
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 260 times
- Been thanked: 416 times
Re: Does the auto version id work in version 11
Thanks.
It looks like you are using a v10 component instead of the v11 component. This is in the C code:
I don't know why your copy of Flowcode v11 is pointing at the Flowcode v10 section in %PROGRAMDATA%. Perhaps you have set it to in the "Locations" tab of "Global Options". If so, remove that location from "Look for components in..." and and then restart Flowcode and try again.
It looks like you are using a v10 component instead of the v11 component. This is in the C code:
Code: Select all
/*========================================================================*\
Use :AutoVersionID1
:GUID: 1911d96c-78dd-414a-b23c-6691fb19f63f
:Location: C:\ProgramData\MatrixTSL\FlowcodeV10\Components\AutoVersionID.fcpx
:Version: 7.0 (0x100228)*
:Timestamp: 05\12\2025
:Variable declarations
:Macro implementations
\*========================================================================*/
Re: Does the auto version id work in version 11
Thanks very much.
Yes you are dead right. I don't know how that line got in there. I must have had a mental breakdown.
The only thing I remember having there on older versions was a line pointing to user components.
The men in white coats will be coming for me the way I'm going
Thanks for your help
Mark
Yes you are dead right. I don't know how that line got in there. I must have had a mental breakdown.
The only thing I remember having there on older versions was a line pointing to user components.
The men in white coats will be coming for me the way I'm going
Thanks for your help
Mark