Page 1 of 1

Trial XE4 win64 compile error

Posted: Mon Jul 01, 2013 9:20 am
by E_Pluribus_Unum
Hi!

I could install and user RV without a problem for win32.
But when I compile for win64 i get the following error :

[dcc64 Fatal Error] RVPkgDXE4.dpk(98): F2048 Bad unit format: 'CRVData.dcu' - Expected version: 25.0, Windows Unicode(x64) Found version: 25.0, Windows Unicode(x86)

The file exists in the Library path.

What do I do wrong?
(I switched ro runtime only parckage, and removed the designide from required section)

Thank You!

Posted: Tue Jul 02, 2013 8:57 am
by Sergey Tkachenko
RVPkgDXE4.dpk (as well as all TRichView packages) is 32-bit designtime packages.
It must not and cannot be compiled in 64-bit, because Delphi IDE is a 32-bit application, so all designtime packages must be 32-bit.

However, after installing the packages, you can use our components both in 32-bit and 64-bit projects.
In trial version, you need to specify different directories in Delphi library path:
for 32-bit platform: 1-TRichView\Trial\XE4
for 64-bit platform: 1-TRichView\Trial\XE4\64

Posted: Tue Jul 02, 2013 11:17 am
by E_Pluribus_Unum
The root problem is that we've got our package which requires RVPkgDXE4.
It compiles win32 without aproblem, but on win64 I get the following error.

[dcc64 Fatal Error] RVPkgDXE4.dpk(1): E2225 Never-build package 'RVPkgDXE4' must be recompiled
[dcc64 Fatal Error] COMiX.dpk(66): E2202 Required package 'RVPkgDXE4' not found

So if I cannot and not needed to recompile how can I fix this error?

Posted: Wed Jul 03, 2013 11:47 am
by E_Pluribus_Unum
I found this on TMS

"CodeGear does NOT support the use of binary component distributions with trial version of Delphi or C++Builder or the free Turbo Explorer IDEs. As such, it is not possible to use TMS Component evaluation distributions with trial versions of Delphi or C++Builder or the free Turbo Explorer IDEs. You can use registered full source based versions of the TMS Components though with trial versions of Delphi or C++Builder (not with the free Turbo Explorer IDEs)."

It is possible that in this case also the same problem?
Both XE4 and RV are trial.

Posted: Wed Jul 03, 2013 6:14 pm
by Sergey Tkachenko
As I understand, you already installed RV trial on XE4 trial, so this is not a problem.

But you cannot create 64-bit package that requires RVPkgDXE4.dpk, because RVPkgDXE4 is 32-bit package (and it cannot be made 64-bit because it is a design-time package).

I suggest to create a new run-time 64-bit package (call it, for example, RVPkgDXE4_64.dproj), and add dcu-files from 1-TRichView\Trial\XE4\64\ into it.

Posted: Thu Jul 04, 2013 11:56 am
by E_Pluribus_Unum
The new runtime package trick worked. Thank You!

PS : The following files are missing from \64\ dir :
RVDsgn, RVReg, RVSEdit, RVDsgnSplash

Fortunately I do not need them. :)

Posted: Thu Jul 04, 2013 12:39 pm
by Sergey Tkachenko
These units are only for design-time support. They contain property editors and such.