这个问题使我发疯。我正在尝试编译并从 QuickReports 6
安装 QR Designer
。我只对一个包裹有一个问题。当我在IDE中纠正包装时;安装IDE给我:
无法加载软件包C:\ xe10_3 \ qrdesign \ win32 \ debug \ dclqrd_dxe10_3.bpl。
找不到指定的模块。
但是确切的文件在那里。
我还尝试通过组件下的菜单安装它>安装软件包
,然后从那里选择BPL,同一问题。
我尝试在此处使用 Process Monitor
在此处找到问题:
delphi无法加载软件包,找不到指定的模块
我无法解决问题,但是我从过程监视器中选择的是某个过程在这里寻找包装:
Computer \ Hkey_current_user \ software \ embarcadero \ bds \ 21.0 \ package cache \ dclqrd_dxe10_3.bpl,
该密钥不存在。我尝试手动创建钥匙,但这没有做任何事情。
有什么想法吗?
更新
这是包装列表:
如您所见, dclqrd_dxe10_3
取决于其他两个。我已经构建和安装了。我删除了它的参考文献,并立即重新添加了它们,以确保参考是正确的。我想这就像雷米说的那样,找不到的指定模块
可能不是指 dclqrd_dxe10_3
,尽管我不知道它可以参考其他模块。
This issue is driving me crazy. I'm trying to compile and install The QR Designer
from QuickReports 6
. I have an issue just with the one package. When I right the package in the IDE > Install the IDE gives me:
Can't load package C:\xe10_3\QRDesign\Win32\Debug\dclqrd_DXE10_3.bpl.
The specified module could not be found.
But the exact file is there.
I've also tried installing it via the menu under Components > Install Packages
and then choosing the BPL from there, with the same issue.
I've tried to use Process Monitor
as on this post here to find the issue:
Delphi Can't load package the specified module cannot be found
I couldn't fix the issue, but what I did pick up from Process Monitor was that some process was looking for the package here:
Computer\HKEY_CURRENT_USER\Software\Embarcadero\BDS\21.0\Package Cache\dclqrd_DXE10_3.bpl
That key didn't exists. I tried manually creating the key, but that didn't do a thing.
Any ideas?
UPDATE
Here is the list of packages:

As you can see, dclqrd_DXE10_3
is dependant on two others. Which I already built and installed. I removed its references and re-added them again now, to make sure the references are sound. I guess its like Remy said, the Specified module not found
is probably not referring to dclqrd_DXE10_3
although I don't know what other module it could be referring to.
发布评论
评论(2)
要安装 package 在IDE中成功,请按照IDE成功:打开步骤:
Windows 32位
平台的软件包。IDE本身是一个32位应用程序,因此应该匹配。
输出目录
中生成的。它默认为
$(bdscommondir)\ bpl& DCP
文件夹,但可以针对设置中的每个软件包单独更改。PBL软件包就像DLL文件一样。为了加载它们,它需要所有依赖的BPL。
工具\ options \ options \ dellphi \ library \ library
库路径
forWindows 32-bit
Platform$(bdscommondir)\ bpl& DCP
目录pas
文件中添加路径 intools \ options \ options \ dellaging \ delphi \ library \ library
浏览路径
库路径
%path%path%
环境变量。请注意,一些库提供包装安装工具,可以自动为您完成所有提到的事情。
此外,还有一键单击的通用软件包安装工具,用于快速工作环境设置。
To install a package successfully in IDE, follow the steps:
Windows 32-bit
platform.IDE itself is a 32-bit applicaton, so it should match.
Output directory
.It defaults to
$(BDSCOMMONDIR)\Bpl & Dcp
folders, but can be changed individually for each Package in Settings.PBL packages are like DLL files. In order to load them, it requires all dependent BPLs.
Tools\Options\Language\Delphi\Library
Library Path
forWindows 32-bit
platform$(BDSCOMMONDIR)\Bpl & Dcp
directoriespas
files inTools\Options\Language\Delphi\Library
Browsing path
orLibrary path
%path%
environement variable.Note, some libraries offers package installer tools, that automagically do all mentioned things for you.
Also, there are universal package installer tools for quick working environement setup in one click.
我不知道为什么这解决了我的问题,但是确实如此。
BPL和DCP的输出目录设置为
$(Platform)\ $(config)
不同软件包的项目文件存在于同一文件夹中,因此上面的配置应该是调试文件夹或发行文件夹。为什么只有此软件包被扔掉,我仍然不知道,但是由于将上述软件包更改为固定路径,因此我现在可以安装
dclqrd_dxe10_3.bpl
。谢谢大家的帮助。
I don't know why this fixed my issue, but it did.
The output directories for the bpl and dcp was set to be
$(Platform)\$(Config)
The project files for the different packages exists in the same folder so the above config was supposed to be the debug folder or the release folder. Why only this package was thrown off I still don't know, but since changing the above packages to have a fixed path suddenly I could now install
dclqrd_DXE10_3.bpl
.Thank you all for helping.