Page 1 of 1

Installation under Windows 8

Posted: Tue Feb 19, 2013 9:44 am
by PioPio
I am trying to install TrichView in a different machine with Windows 8.

I have the following error message while I am trying to compile RVPkgDXE2.dproj.

Compiling RVPkgDXE2.dproj (Release, Win32)
[Error Error] Invalid PLATFORM variable "MCD". PLATFORM must be one of the following: "Win32", "Win64", or "OSX32". If PLATFORM is defined by your system's environment, it must be overridden in the RAD Studio IDE or passed explicitly on the command line to MSBuild; e.g., /p:Platform=Win32.


How can I solve it ?


Many thanks

PioPio

Re: Installation under Windows 8

Posted: Tue Feb 19, 2013 9:58 pm
by PioPio
PioPio wrote:I am trying to install TrichView in a different machine with Windows 8.

I have the following error message while I am trying to compile RVPkgDXE2.dproj.

Compiling RVPkgDXE2.dproj (Release, Win32)
[Error Error] Invalid PLATFORM variable "MCD". PLATFORM must be one of the following: "Win32", "Win64", or "OSX32". If PLATFORM is defined by your system's environment, it must be overridden in the RAD Studio IDE or passed explicitly on the command line to MSBuild; e.g., /p:Platform=Win32.


How can I solve it ?


Many thanks

PioPio
Hello,
I solved my issue with the help of this link: http://delphihaven.wordpress.com/2011/0 ... otebooks/
and managed to install RVPkgDXE2.dproj and RVDBPkgDXE2.dproj

I have another problem now: I tried to compile the example DB Demo\1 DBRichViewEdit\DBDemo1.dproj but I have the following error message
[DCC Fatal Error] Unit1.pas(29): F2048 Bad unit format: 'C:\aaa\1-TRichView\Trial\XE2\64\RVScroll.dcu' - Expected version: 23.0, Windows Unicode(x86) Found version: 23.0, Windows Unicode(x64)
I suppose I have a wrong version of RVScroll.dcu. How can I solve this ?

Many thanks
Piopio

Posted: Wed Feb 20, 2013 12:29 pm
by Sergey Tkachenko
*\1-TRichView\Trial\XE2\64\RVScroll.dcu contains trial compiled units for 64-bit projects.

*\1-TRichView\Trial\XE2\RVScroll.dcu contains compiled units for 32-bit projects. These units must be used for demo projects, because all of them are 32-bit projects.

Different directories must be specified in XE2 options for 32-bit and 64-bit platforms (combo-box in the option dialog).

--

For registered versions, all dcu files are placed in same directory as the source code. So, after switching from 64-bit to 32-bit project (or back), you need to completely rebuild the project first, to recreate dcu files.