I have just updated from 11.0 to 11.3 and from TeeChartVCLFMX-2021.33 to TeeChartVCLFMX-2025.45 and hit this error when trying to compile some FMX applications for Android.
Initially was not founding any header. The installer missed to setup the path for the includes for Android platform. It did it right for the other platforms (win32, win64 and iOS.
Once I fixed the header path issue. I got this error.
[bccaarm Error] FMXTee.Animate.hpp(291): unknown type name ‘_TMultiTimer__1’
I’ve just tried it and it worked fine for me after adding both the Include and the Library paths.
For a TeeChart Pro v2025.45 binary installation in the default path, these are paths that should be added in RAD 11.3 for the android platform:
Include Path:
C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX 2025.45\Delphi28\Delphi28.android\Include
Library Path:
C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX 2025.45\Delphi28\Delphi28.android\Lib
C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX 2025.45\Delphi28\Delphi28.android\Lib\Obj
Please confirm if that solves the problem for you.
We’ll revise the installer.
Sorry by my late replay…I didn’t have the mail notifications on.
The problem is not solved. To reproduce you just need to include the file FMXTee.Animate.hpp on brand new Android application.
This error will come out.
[bccaarm Error] FMXTee.Animate.hpp(291): unknown type name ‘_TMultiTimer__1’
I have attached the empty file I used to produce the error. I am using RAD Studio 11.3 with lastest version of TChart and include and library path are as per you are suggesting.
I can confirm that if I do remove that line it does compile and link.
Is it not a dangerous thing to change the declaration of a class that it is binary distributed? If I do understand things well we are changing the type description. accessing an instance of type TMultiTimer.
Because I am not purposely creating an instance of that class and acceding to it I think that I will be ok..
The .hpp header files are automatically generated by the compiler from the .pas sources.
We’ll check why that declaration is only present in the .hpp header generated for win32, win64 and win64x.
An alternative to removing the line where _TMultiTimer__1 is used would be to add the declaration above.
The best option is always to know what the problem is and to have generated hpp that are compliable.
I am up and running with your suggestions. so thankyou, but it will really good to have a proper patch so when all is understood and out of installer .hpp are proper.
I would really appreciate if you could communicate any further findings and/or updates.
Open the unit TeeAnimate.pas from the sources folder.
Search for the TMultiTimer class declaration (around line 252)
Declare a new TTimerEventPtrArray class (above TMultiTimer) as array of PTimerEvent
Modify the IList type inside TMultiTimer to be of that new type TTimerEventPtrArray
Rebuild with TeeRecompile
PTimerEvent=^TTimerEvent;
TTimerEventPtrArray=array of PTimerEvent; // <- add this line
TTimerEnabled=function(const Sender:TTimerEvent):Boolean of object;
// Global pseudo-Timer class.
// Contains a list of "events" that should be processed at desired millisecond
// intervals.
// Animations will add their own "event" when playing, and remove it when stopped.
TMultiTimer=class
private
IAnyNil : Boolean;
IThreadTimer : TTimerThread;
IList : TTimerEventPtrArray; // <- use the new class here
Thanks a lot for this and for doing it in such a short period of time. I really appreciate the support.
For when I need to reinstall Embarcadero a installer with the fix is more convenient than to have to apply the fix. Are you going to provide a installation that includes the fix at some point?