Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delphi compiler Error: Compiler for personality "Delphi.Personality" and platform "Win32" missing or unavailable

After installing Delphi XE3 on HP Probook 4540S notebook (Win 7Prof 64 bit) I have problems while compiling, The project was an empty VCL project with no components on the form. At first I received "Invalid PLATFORM variable "BNB". PLATFORM must be one of the following: "Win32", "Win64", or "OSX32".

After have added environmental variable platform=win32 in Environment Options I received compiler error:

compiler for personality "Delphi.Personality" and platform "Win32" missing or unavailable.

What can be done? And why PLATFORM variable has been set to "BNB" during installation? There was nothing in embarcadero site and at Quality Central http://qc.embarcadero.com/wc/qcmain.aspx?d=108487 about this problem,

like image 990
Avrob Avatar asked Dec 30 '13 19:12

Avrob


1 Answers

There is a Windows environment variable named PLATFORM, likely created by your PC's manufacturer. Go into the Windows environment settings and remove that variable. Do not use the IDE environment settings to override the Windows environment variable with a different value. They are different variables for different purposes, but the Windows environment variable is interfering with the IDE environment in this situation.

like image 159
Remy Lebeau Avatar answered Sep 17 '22 18:09

Remy Lebeau