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

泪湿孤枕 提交于 2019-12-01 03:03:24

Make sure you have the environmental variables 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 should all be set in the System Variables section, and should have been added by the installer. (Obviously, they should point to the installation location of your XE installation - mine is installed in D:\Embarcadero\RAD Studio\8.0, as you can see.)

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

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

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

to your library path .

David-Star
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 XE2 from IDE <<Tools->Options->Library->Library path>>

It's OK?

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

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

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

Make sure that:

Tools->Options->Environmental Options->Library

and

Project->Options->Directories/Conditionals

Don't include the same paths...

Paulo Andre Pea

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

and add $(BDSLIB)\win32\release

This worked in Delphi 10.2

Running as Administrator worked for me.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!