Delphi XE - F1027单元没有找到:“系统”。pa或二进制等价物(.dcu)激活试用版本。

时间:2021-04-11 10:52:54

I just purchased the full version of Delphi XE Architect after using the trial version for 30 days. I can't build anything, every time I go to build a project I get the error.

在试用了30天之后,我才购买了Delphi XE Architect的完整版。我不能做任何事情,每次我去做一个项目,我就会犯错误。

[DCC Fatal Error] MegaMainPrj.dpr(1): F1027 Unit not found: 'System.pas' or binary equivalents (.dcu)

A quick google said that the library paths were a problem and I compared what was given (in a previous * question) with what I had in the registry, and it was identical.

一个快速的谷歌说,库路径是一个问题,我将所给出的(在以前的*问题中)与我在注册表中所拥有的内容进行了比较,结果是相同的。

What could be causing this?

是什么导致了这种情况?

EDIT: Immediatly after I get this error message the entire IDE crashes.

编辑:在我得到这个错误消息后,整个IDE崩溃。

5 个解决方案

#1


11  

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

确保环境变量设置正确(工具->选项-来自IDE的主菜单的>环境变量):

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.)

这些都应该在系统变量部分中设置,并且应该由安装程序添加。(显然,它们应该指向你的XE安装的安装位置——我的安装在D:\Embarcadero\RAD Studio\8.0,如你所见。)

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?

编辑:我在你的评论中看到你安装了c:)的程序文件——如果你运行的是windowsvista或Win7或更高版本,那就不好了。您应该尝试在不同的位置安装。您还可以尝试运行IDE作为管理员(在启动时右键单击快捷方式->所有程序->RAD ->RAD Studio XE->Delphi XE,从上下文菜单中选择“作为管理员运行”)。这改变什么吗?

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.

此外,您还可以为安装相关的问题在Embarcadero打开一个免费的支持案例。我首先尝试在另一个位置重新安装(作为管理员运行安装,将其放入另一个文件夹,并为所有用户安装);如果这不起作用,打开一个支持案例。您还可以发布到Embarcadero Delphi安装论坛——您需要首先在那里创建一个用户帐户来登录。

#2


32  

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

添加这个:$(BDSLIB)\ win32 \释放;

to your library path .

到你的图书馆路径。

#3


2  

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>>

这两种方法都是从IDE < <工具-> 选项->库->库-> >中添加Delphi XE2。

It's OK?

这是好吗?

#4


1  

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...

不要包含相同的路径…

#5


0  

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".

当使用命令行编译器编译时,不从IDE中进行编译时,当构建配置的名称不是“debug”而不是“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".

看起来,当使用命令行编译器时,它试图在BDSLIB下的路径中找到它的dcus,它使用配置名构造它。我在使用名为ReleaseHA的配置时发生了这种情况。注意:它不是“release”下的子配置,而是除了“debug”和“release”之外的额外配置。

#1


11  

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

确保环境变量设置正确(工具->选项-来自IDE的主菜单的>环境变量):

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.)

这些都应该在系统变量部分中设置,并且应该由安装程序添加。(显然,它们应该指向你的XE安装的安装位置——我的安装在D:\Embarcadero\RAD Studio\8.0,如你所见。)

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?

编辑:我在你的评论中看到你安装了c:)的程序文件——如果你运行的是windowsvista或Win7或更高版本,那就不好了。您应该尝试在不同的位置安装。您还可以尝试运行IDE作为管理员(在启动时右键单击快捷方式->所有程序->RAD ->RAD Studio XE->Delphi XE,从上下文菜单中选择“作为管理员运行”)。这改变什么吗?

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.

此外,您还可以为安装相关的问题在Embarcadero打开一个免费的支持案例。我首先尝试在另一个位置重新安装(作为管理员运行安装,将其放入另一个文件夹,并为所有用户安装);如果这不起作用,打开一个支持案例。您还可以发布到Embarcadero Delphi安装论坛——您需要首先在那里创建一个用户帐户来登录。

#2


32  

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

添加这个:$(BDSLIB)\ win32 \释放;

to your library path .

到你的图书馆路径。

#3


2  

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>>

这两种方法都是从IDE < <工具-> 选项->库->库-> >中添加Delphi XE2。

It's OK?

这是好吗?

#4


1  

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...

不要包含相同的路径…

#5


0  

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".

当使用命令行编译器编译时,不从IDE中进行编译时,当构建配置的名称不是“debug”而不是“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".

看起来,当使用命令行编译器时,它试图在BDSLIB下的路径中找到它的dcus,它使用配置名构造它。我在使用名为ReleaseHA的配置时发生了这种情况。注意:它不是“release”下的子配置,而是除了“debug”和“release”之外的额外配置。