Page 2 of 2

Posted: Tue Jan 28, 2014 12:58 am
by Malcolm
I finally got back to this. And the solution offered does work. :D

Dimitris, the 2 paths you need to add are:
* C:\Program Files\SiComponents\TsiLang\Units
* C:\Program Files\SiComponents\TsiLang\Units\Auxiliary

But uless you want them to apply to all your projects, put them under the Project Options > Delphi Compiler > Search path

Also add FMX to the Project Options > Delphi Compiler > Conditional defines in the same way.

Posted: Tue Jan 28, 2014 8:14 am
by Dimitris Nomikos
Image
Image

Here it is... did just exactly as you said, now i doesn't even find the units :/
I have no Auxiliary folder in my installation. I have Delphi XE5 and i'm trying to compile an android project.

If i change the paths to

C:\Program Files\SiComponents\TsiLang\Units\ERS XE5
C:\Program Files\SiComponents\TsiLang\Units\ERS XE5\Android

Clean Project and Build.

Then [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:2280: error: undefined reference to 'System::_InstCopy(System::DelphiObject<System::TObject> etc..

[DCC Fatal Error] F2588 Linker error code: 1 ($00000001)

Posted: Tue Jan 28, 2014 9:27 am
by Malcolm
Sorry, my Units folder looks very different from yours - does not have all those Delphi versions. I don't think I can help. :(

Posted: Tue Jan 28, 2014 9:42 am
by Dimitris Nomikos
I can't understand what i am doing wrong... i have the latest Trial Version and i am interested in buying this product but i can't continue if i can't make it work first. :(

Posted: Tue Jan 28, 2014 5:20 pm
by isiticov
Malcolm uses Full Source edition and as result he has all sources code and can re-build sources when IDE and compiler version changed without waiting a new update build from us.
Since you use trial version you have ONLY DCU and O (compiled) units which were compiled and published while there were no Update 2 released. We're working now under new build which will include compiled units for RAD Studio XE 5 Update 5. They have changed the compiler and as result compiled units don't work anymore.

P.S. Thanks Malcolm!

Posted: Tue Jan 28, 2014 5:39 pm
by Malcolm
No problem.
But now that I have re-built from the sources, can I remove those settings from now on .. or should I continue like this for my new builds and other projects until your next version is released?
I didn't try it yet. :lol:

Posted: Wed Jan 29, 2014 6:06 am
by isiticov
You can remove those settings BUT you need to take the compiled .O files from TsiLang and place them into folder from where they will be used in other projects (Android sub-folder from TsiLang installation?).

Posted: Wed Jan 29, 2014 6:20 am
by Malcolm
OK, I understand.

Posted: Wed Jan 29, 2014 7:09 am
by Dimitris Nomikos
I see... so i have to wait until there is a new version of the trial to go live in order to work for xe5 upd2.

Any idea when this would happen? Thanks a lot for the answers.

Posted: Thu Jan 30, 2014 9:24 am
by isiticov
We're preparing the new build now.

Posted: Thu Feb 06, 2014 5:53 am
by isiticov
Version 7.1.1 just published

Posted: Thu Feb 06, 2014 1:59 pm
by Dimitris Nomikos
Thank you for your fast reaction. I will try it as soon as i can.

Posted: Fri Feb 07, 2014 3:40 pm
by Malcolm
Hi

With V 7.1.1 I still need to add the paths to the Units and Auxiliary folders plus include the FMX define (not a problem now that I know).

It now works fine and I can switch between 13 languages including Simplified Chinese.

I did find that it seemed to lose its project settings although the project file is in my source folder and it contains the settings I expected. I am not yet sure this is actually a fault or maybe due to things I was doing, so ignore this unless I or other users come back with a separate topic. :)

An idle question... how does it translate error/info dialogs, or will that be a future feature?

Posted: Sat Feb 08, 2014 8:06 am
by isiticov
Malcolm wrote:An idle question... how does it translate error/info dialogs, or will that be a future feature?
Under non-Windows OS all dialogs and errors in FireMonkey displayed using OS's dialogs and we still can't find a way to "intercept" this in order to have buttons and dialog captions multilingual.

Posted: Sat Feb 08, 2014 1:07 pm
by Malcolm
OK, I guessed as much.
It is probable that users will already have chosen their OS language so the messages will not need further translation .. maybe. :lol: