[19:33:25 - 83%] Error building project "TMS FNC AppTools 1.0.6.1" in IDE delphi13 in Platform winarm64ec: One or more errors occurred
[19:33:25] - TMS FNC AppTools 1.0.6.1
[19:33:25] - Delphi 13
[19:33:25] - win32intel -> OK.
[19:33:25] - win64intel -> OK.
[19:33:25] - macos64intel -> OK.
[19:33:25] - macos64arm -> OK.
[19:33:25] - win64xintel -> OK.
[19:33:25] - winarm64ec -> FAILED.
"C:\Users\dcoun\AppData\Local\TMS Setup\Temp\p\tms.fnc.apptools_d13_winarm64ec_Debug\FMXTMSFNCAppToolsPkg.dproj" (Build _Α_Β+¬+¬_Β+¦_Δ+-_Ν_Γ) (1) ->
(_PasCoreCompile _Α_Β+¬+¬_Β+¦_Δ+-_Ν_Γ) ->
C:\Users\dcoun\AppData\Local\TMS Setup\Products\tms.fnc.apptools\FMX.TMSFNCAppUpdate.pas(652): error E2010: Incompatible types: 'PWideChar' and 'string' [C:\Users\dcoun\AppData\Local\TMS Setup\Temp\p\tms.fnc.apptools_d13_winarm64ec_Debug\FMXTMSFNCAppToolsPkg.dproj]
C:\Users\dcoun\AppData\Local\TMS Setup\Products\tms.fnc.apptools\FMX.TMSFNCAppUpdate.pas(662): error E2010: Incompatible types: 'PWideChar' and 'string' [C:\Users\dcoun\AppData\Local\TMS Setup\Temp\p\tms.fnc.apptools_d13_winarm64ec_Debug\FMXTMSFNCAppToolsPkg.dproj]
C:\Users\dcoun\AppData\Local\TMS Setup\Products\tms.fnc.apptools\FMX.TMSFNCAppUpdate.pas(1116): error E2010: Incompatible types: 'PWideChar' and 'string' [C:\Users\dcoun\AppData\Local\TMS Setup\Temp\p\tms.fnc.apptools_d13_winarm64ec_Debug\FMXTMSFNCAppToolsPkg.dproj]
C:\Users\dcoun\AppData\Local\TMS Setup\Products\tms.fnc.apptools\FMX.TMSFNCAppUpdate.pas(1159): error E2250: There is no overloaded version of 'MessageDialog' that can be called with these arguments [C:\Users\dcoun\AppData\Local\TMS Setup\Temp\p\tms.fnc.apptools_d13_winarm64ec_Debug\FMXTMSFNCAppToolsPkg.dproj]
C:\Users\dcoun\AppData\Local\TMS Setup\Products\tms.fnc.apptools\FMX.TMSFNCAppUpdate.pas(1854): error E2250: There is no overloaded version of 'MessageDialog' that can be called with these arguments [C:\Users\dcoun\AppData\Local\TMS Setup\Temp\p\tms.fnc.apptools_d13_winarm64ec_Debug\FMXTMSFNCAppToolsPkg.dproj]
FMXTMSFNCAppToolsPkg.dpk(43): error F2063: Could not compile used unit 'FMX.TMSFNCAppUpdate.pas' [C:\Users\dcoun\AppData\Local\TMS Setup\Temp\p\tms.fnc.apptools_d13_winarm64ec_Debug\FMXTMSFNCAppToolsPkg.dproj]
Hi,
Thre is another user reporting the second issue, it looks like that when you install VCL UIPack and FNC core together they both try to register TAdvSVGBitmap. But we haven't been able to figure out why this happens to some customers (we can't reproduce it in our machines, and code at first glance looks fine). We are still investigating it. In the meantime, it would be nice to know if when you install only fnc but not vcl.uipack you still have the error. Or if you install vcl.uipack only, and not fnc. If what we believe is right, you should only see this error if you install both.
About the first issue, it looks like an error in FNC App Tools. I get the same if I try to install here. We should be releasing a new version of FNC App Tools with this fixed soon.
Hi, can you check if you have enabled SVGIconImageList (GETit), and if uninstalling it resolves the issue? We had received a similar report and disabling it fixed the issue. However, it’s still unclear why it happens, it’s unclear if we can do something about it. We’ll further investigate this here.
One workaround so you can keep working until we figure out why this is happening can be:
Install both VCL and FNC UI Pack
Edit the file `C:\Users\dcoun\AppData\Local\TMS Setup\Products\tms.vcl.uipack\AdvTypes.pas and comment out the initialization and finalization sections:
initialization
begin
if not Assigned(GetClass(TTMSFNCSVGBitmap.ClassName)) then
begin
RegisterClass(TTMSFNCSVGBitmap);
TPicture.RegisterFileFormat('SVG', 'Scalable Vector Graphics', TTMSFNCSVGBitmap);
end;
end;
finalization
begin
TPicture.UnregisterGraphicClass(TTMSFNCSVGBitmap);
UnRegisterClass(TTMSFNCSVGBitmap);
end;
cd /D C:\Users\dcoun\AppData\Local\TMS Setup
tms build
I am not 100% sure this will fix it (since the error you are getting is a little different than the other one we have been investigating), but it might be worth a try. Please let us know if this fixes it, as it can be another hint for us to discover what is wrong
we have applied a workaround for the SVG registration issue, and TMS FNC App Tools should also compile when the next version is of both products are released.