RTC Forums
November 24, 2024, 07:27:25 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Login
Register
RTC Forums
>
Subscription
>
Support
>
failed to run the fmxFishFact demo
Pages: [
1
]
« previous
next »
Print
Author
Topic: failed to run the fmxFishFact demo (Read 4572 times)
zxplzzc
RTC Expired
Posts: 8
failed to run the fmxFishFact demo
«
on:
October 03, 2014, 04:30:38 AM »
On win7(X64) and XE7,I failed to run the fmxFishFact demo for 64-bit windows,while succeeded for 32-bit windows:
[dcc64 Fatal Error] fmxFishFactCli.pas(21): F2048 Bad unit format: 'D:\Delphi\RealThinClientSDK\Lib\rtcFMX.GUI.dcu' - Expected version: 28.0, Windows Unicode(x64) Found version: 28.0, Windows Unicode(x86)
Logged
D.Tkalcec (RTC)
Administrator
Posts: 1881
Re: failed to run the fmxFishFact demo
«
Reply #1 on:
October 03, 2014, 10:28:34 AM »
When working with more than one Delphi IDE, or working with different target platforms, you should
Build
the Project at least once after switching the IDE or changing the target platform. If you
Build
,
Compile
or
Run
the Project for one target platform (in your case: Win32) and then try to
Run
or
Compile
for any other target platform (in your case: Win64) without using
Build
after switching the target platform, the Delphi compiler will skip compilation of units for which "up-to-date" DCU files were found, even if those DCU files are for a different target platform, or have been generated by a different compiler. This will result in the error message like the one you've just seen, when a unit which is being recompiled needs a unit which has not been compiled for that platform.
In short, use
Build
instead of Run or Compile to make sure that all PAS files are recompiled for the platform you are targeting.
PS. The commercial RTC SDK version does not ship with any DCU files. All the files are included with full source code. If you see an error message about a mismatched DCU file from any RTC folder, simply Build the Project to force the compiler to recompile the source code and generate up-to-date DCU files.
Best Regards,
Danijel Tkalcec
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Dashboard
-----------------------------
=> General
=> 3rd-Party
=> Quick Start
-----------------------------
Subscription
-----------------------------
=> Support
Loading...