[ACCEPTED]-Delphi XE - F1027 Unit not found: 'System.pas' or binary equivalents (.dcu) upon Activation of trial version-delphi-units

Accepted answer
Score: 42

add this : $(BDSLIB)\win32\release;

to your 1 library path .

Score: 14

Make sure you have the environmental variables 23 set properly (Tools->Options->Environmental Variables from the IDE's main menu):

BDS=D:\Embarcadero\RAD Studio\8.0
BDSCOMMONDIR=C:\Users\Public\Documents\RAD Studio\8.0
PLATFORM=Win32

These 22 should all be set in the System Variables section, and should 21 have been added by the installer. (Obviously, they 20 should point to the installation location 19 of your XE installation - mine is installed 18 in D:\Embarcadero\RAD Studio\8.0, as you can see.)

EDIT: I see in your 17 comment you installed in C:\Program Files - bad idea if 16 you're running Windows Vista or Win7 or 15 higher. You should try installing in a different 14 location. You can also try running the IDE 13 as Administrator (right-click shortcut in 12 Start->All Programs->Embarcadero->RAD 11 Studio XE->Delphi XE, choose "Run 10 as Administrator" from context menu). Does 9 this change anything?

Also, you can open 8 a free support case at Embarcadero for installation-related 7 issues. I'd first try reinstalling in another 6 location (running the install as Administrator, putting 5 it in another folder, and installing for 4 all users); if that doesn't work, open a 3 support case. You can also post to the Embarcadero Delphi Installation forums - you'll 2 need to have already created a user account 1 there first to log in.

Score: 3
C:\Embarcadero\RAD Studio\9.0\lib\win32\release

and

C:\Embarcadero\RAD Studio\9.0\lib\win32\debug

Both of these path have been to add in Delphi 1 XE2 from IDE <<Tools->Options->Library->Library path>>

It's OK?

Score: 2

Goto Tools->Options->Library->Library path

and 1 add $(BDSLIB)\win32\release

This worked in Delphi 10.2

Score: 1

When compiling using the command line compiler, so 11 not from within the IDE, you can also get 10 this error when the name of the build configuration 9 is not "debug" and not "release".

It seems 8 that, when using the command line compiler, it 7 tries to find its dcus in a path under BDSLIB 6 that it constructs using the configuration 5 name. I had this happening when using a 4 configuration named ReleaseHA. Note: it 3 was not a sub configuration under "release", but 2 an extra configuration besides "debug" and 1 "release".

Score: 1

Sometimes this error message occurs when 2 we have duplicate libraries included.

Make 1 sure that:

Tools->Options->Environmental Options->Library

and

Project->Options->Directories/Conditionals

Don't include the same paths...

Score: 0

Running as Administrator worked for me.

0

More Related questions