Jump to content
Registration disabled at the moment Read more... ×
direktor05

bpl module can't be found

Recommended Posts

Hello,

 

I have similar problem as here: 

 

Delphi package was create in Delphi XE2, now I'm trying to install it with Delphi 12. Build and Compile goes without problems, only Installing is the problem. It says Can't load package, specified module can't be found. I created new project, added same files, still the same error. What is wrong?

Share this post


Link to post
12 minutes ago, direktor05 said:

It says Can't load package, specified module can't be found.

Are you trying to install a Design-time package that relies on a XE2-compiled runtime package? That won't work, of course.

 

What are are the required the packages of this Delphi project? Can you share the DPK of the package you're compiling/installing?

Share this post


Link to post

Here: The packages below I think they are using Delphi 12, since I don't have XE2 installed. I think it's nothing unusual. I think some path might be missing somewhere.

 

image.png.be030a4b91ffe1954d37a4f7755c6721.png

Share this post


Link to post

This module depends on another package that has the same problem and is called in uses. That package also displays same error. And the only requires file is rtl.dcp

Share this post


Link to post

And this module is PCRE  Delphi VCL wrapper around the open source PCRE library, which implements Perl-Compatible Regular Expressions.

Share this post


Link to post
On 7/18/2025 at 2:25 PM, direktor05 said:

. It says Can't load package, specified module can't be found.

I was re-reading your original post and I've encountered this before with a perfectly fine package that has all source. If this is the first time you've compiled/installed a custom package in this instance of Delphi, first check the Package Output Directory (in Tools > Options > Language > Delphi > Library), then make sure that path is listed in your Library Path (same options page):

image.thumb.png.e88e70a4ef59ea505967e76a1c56ef0e.png

Share this post


Link to post

Path missing to pcre dll was missing. Now I get Access Violation at rtl290.dpc error image.thumb.png.c28fda144debe139dd57d1f453daab85.png

Share this post


Link to post
1 hour ago, direktor05 said:

Now I get Access Violation at rtl290.dpc

Well, that's a different problem. I assume you've restarted Delphi? 

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×