Android problem
Android problem
Hi
I just tried to add TsiLang to my small, working Android project (FMX).
But when I try to build or compile I get errors about missing .dcu and .o files.
I see that my design packages include TsiLang Component Suite (VCL Edition) and there are no runtime packages for TsiLang.
Does this mean that I have missed something from my installation (7.1) or is TsiLang not available for FMX projects?
Malcolm
I just tried to add TsiLang to my small, working Android project (FMX).
But when I try to build or compile I get errors about missing .dcu and .o files.
I see that my design packages include TsiLang Component Suite (VCL Edition) and there are no runtime packages for TsiLang.
Does this mean that I have missed something from my installation (7.1) or is TsiLang not available for FMX projects?
Malcolm
That did not help. Very strange.
I uninstalled including Reg entries. That removed all but my .dic file
I ran the 7_1 setup as Administrator
I selected only the RAD Studio XE5 IDE plus the SIL Editor, Dictionary, Help and Wizards.
After the install the Units\ERS XE5\ folders for Android, iOS and OSX32 contain only the 4 .DCU files
No sign of any Android .o files.
![Crying or Very sad :cry:](./images/smilies/icon_cry.gif)
I uninstalled including Reg entries. That removed all but my .dic file
I ran the 7_1 setup as Administrator
I selected only the RAD Studio XE5 IDE plus the SIL Editor, Dictionary, Help and Wizards.
After the install the Units\ERS XE5\ folders for Android, iOS and OSX32 contain only the 4 .DCU files
No sign of any Android .o files.
Sorry for this. You was right. The Full Source install script didn't include the .o files. We've fixed the script. You can download the .o files from http://www.sicomponents.com/tmp/Android.zip
Best regards,
Igor Siticov.
Igor Siticov.
Hi
I confirm that the install script now includes the .o files, thanks.
However, I now get build errors such as shown below. Note the references to "F:\Auxiliary/....... I am not sure where this path comes from.
[DCC Error] E2597 C:\Users\Public\Documents\RAD Studio\12.0\PlatformSDKs\android-ndk-r8e\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: C:\Program Files\SiComponents\TsiLang\Units\ERS XE5\Android\siConsts.o: in function System::Generics::Collections::TEnumerable__1<System::DelphiObject<System::Classes::TComponent> >::ToArray():F:\Auxilary/siConsts.pas
error: undefined reference to 'System::_InstCopy(System::DelphiObject<System::TObject>&, System::DelphiObject<System::TObject>)'
..followed by a lot of similar errors..
Is that me? Or where does the "F:\Auxiliary come from?
Malcolm
I confirm that the install script now includes the .o files, thanks.
However, I now get build errors such as shown below. Note the references to "F:\Auxiliary/....... I am not sure where this path comes from.
[DCC Error] E2597 C:\Users\Public\Documents\RAD Studio\12.0\PlatformSDKs\android-ndk-r8e\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: C:\Program Files\SiComponents\TsiLang\Units\ERS XE5\Android\siConsts.o: in function System::Generics::Collections::TEnumerable__1<System::DelphiObject<System::Classes::TComponent> >::ToArray():F:\Auxilary/siConsts.pas
..followed by a lot of similar errors..
Is that me? Or where does the "F:\Auxiliary come from?
Malcolm
I'm not sure how Android compiler produces .o files but I can see F:\Auxilary reference in siConsts.o file. Actually "F:\Auxilary" is a path on our build station so may be the compiler uses some paths in .o file. But this is quite strange.
BUT as you have Full Source Edition you can easily re-build your project using TsiLang sources and produce compiled project on your side. Just be sure to define FMX in your Android project that uses TsiLang and add path to sources to project's options.
Please let me know if this helped.
BUT as you have Full Source Edition you can easily re-build your project using TsiLang sources and produce compiled project on your side. Just be sure to define FMX in your Android project that uses TsiLang and add path to sources to project's options.
Please let me know if this helped.
Best regards,
Igor Siticov.
Igor Siticov.
Hi Igor
I suspected that it might be some path from your system.
Re-compiling is outside my comfort zone, so I will abandon the translation for now.
My project is in alpha now, so I can leave the translation until later. Hopefully these glitches will have been resolved by then in some update.
Malcolm
I suspected that it might be some path from your system.
Re-compiling is outside my comfort zone, so I will abandon the translation for now.
My project is in alpha now, so I can leave the translation until later. Hopefully these glitches will have been resolved by then in some update.
Malcolm
Hi,
i have the same problem ([DCC Error] E2597 C:\Users\Public\Documents\RAD Studio\12.0\PlatformSDKs\android-ndk-r8e\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: C:\Program Files\SiComponents\TsiLang\Units\ERS XE5\Android\siConsts.o: in function System::Generics::Collections::TEnumerable__1<System::DelphiObject<System::Classes::TComponent> >::ToArray():F:\Auxilary/siConsts.pas
error: undefined reference to 'System::_InstCopy(System::DelphiObject<System::TObject>&, System::DelphiObject<System::TObject>)' ) with the Full Source component version.
How can i fix it?
i have the same problem ([DCC Error] E2597 C:\Users\Public\Documents\RAD Studio\12.0\PlatformSDKs\android-ndk-r8e\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: C:\Program Files\SiComponents\TsiLang\Units\ERS XE5\Android\siConsts.o: in function System::Generics::Collections::TEnumerable__1<System::DelphiObject<System::Classes::TComponent> >::ToArray():F:\Auxilary/siConsts.pas
How can i fix it?
-
- Posts: 6
- Joined: Fri Jan 24, 2014 1:51 pm
-
- Posts: 6
- Joined: Fri Jan 24, 2014 1:51 pm
In Tool, Options, Library, Android Platform, Library Path: i added C:\Program Files\SiComponents\TsiLang\Units\ERS XE5\Android
and on the Main Unit of the project i have siComp on my uses section. I still get the linker error.
Which folder do you mean as 'Auxiliary sub-folder'? Is this the only thing i am missing?
and on the Main Unit of the project i have siComp on my uses section. I still get the linker error.
Which folder do you mean as 'Auxiliary sub-folder'? Is this the only thing i am missing?