Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 17 total
Thread Problem compiling with runtime library
Mon, May 27 2013 5:35 AMPermanent Link

Van de moortel Koen

I am using the trial version of EDB, which works fine, but when I try to run my exe on another pc, it says that it needs a file RTL120.BPL.
I did compile with the runtime library (see attachment) so I'd expect it to run without this file.  And btw, I can't find this file anywhere on my own pc either?!
What am I doing wrong?



Attachments: edbruntimepackageproblem2.png
Mon, May 27 2013 6:40 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Van


RTLxxx.bpl is a Delphi runtime library. I think 120 is D2009. So its nothing to do with ElevateDB. Do a search on the web for RTL120.bpl and there should be an answer there.

Roy Lambert [Team Elevate]
Wed, May 29 2013 7:03 AMPermanent Link

Van de moortel Koen

Thanks, but all I can find about this file is very obscure.  It seems to be a Windows file, but I can't download it from Microsoft.  I found it somewhere and put it in the same directory as the exe, but it still refuses.
The weird thing is: my test program worked fine on both pc's until I installed the latest version of ElevateDB and recompiled.  Now it works only on the pc on which it was compiled, but not on the other (with Windows XP)...
Wed, May 29 2013 9:21 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Van

>Thanks, but all I can find about this file is very obscure. It seems to be a Windows file, but I can't download it from Microsoft. I found it somewhere and put it in the same directory as the exe, but it still refuses.

Its a Windows file only in the sense that its on Windows its actually the Delphi RTL = RUN TIME LIBRARY.

Mine (RTL100.bpl) lives in the Windows/System32 directory. I'm not sure what the licence has to say about distributing the file though.

Roy Lambert [Team Elevate]
Wed, May 29 2013 10:47 AMPermanent Link

Raul

Team Elevate Team Elevate

Can't see your full runtime packages list but make sure you have an
entry "rtl" in there (default list i think starts with "rtl;vcl; ..."

Raul

On 5/27/2013 5:35 AM, Van de moortel Koen wrote:
> I am using the trial version of EDB, which works fine, but when I try to run my exe on another pc, it says that it needs a file RTL120.BPL.
> I did compile with the runtime library (see attachment) so I'd expect it to run without this file.  And btw, I can't find this file anywhere on my own pc either?!
> What am I doing wrong?
>
Thu, May 30 2013 12:55 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Van,

<< I am using the trial version of EDB, which works fine, but when I try to
run my exe on another pc, it says that it needs a file RTL120.BPL. >>

If you're still having an issue with this, this stackoverflow post should
help:

http://stackoverflow.com/questions/1562601/determining-delphi-runtime-packages-to-include

If you have any other questions, please let me know.

Tim Young
Elevate Software
www.elevatesoft.com
Tue, Jun 4 2013 9:13 AMPermanent Link

Van de moortel Koen

Hi Tim, Raul, Roy,

Thanks, but I still don't understand it.  When I put a whole bunch of BPL files in the same directory as the exe, it does work on a different pc.  Apparently the runtime libraries ar not linked with the exe, although I specified to do so in the program options.  I don't understand why Delphi refuses to link the packages, and why this problem occured after installing the latest EDB version.

Best regards,

Koen



Attachments: packages.png
Tue, Jun 4 2013 10:10 AMPermanent Link

Van de moortel Koen

I just discovered that the option "Build with runtime packages" does the opposite of what it says; it builds the exe WITHOUT the runtime packages linked. Very confusing!
When I uncheck this option, I get a compiler error "edbcomps.dcu not found".  When I add this file in the search path, I get the compiler error "edbtype.dcu not found", and I can't find this file, nor edbtype.pas...
Tue, Jun 4 2013 12:14 PMPermanent Link

Raul

Team Elevate Team Elevate

On 6/4/2013 10:10 AM, Van de moortel Koen wrote:
> I just discovered that the option "Build with runtime packages" does the opposite of what it says; it builds the exe WITHOUT the runtime packages linked. Very confusing!

It's actually correct - if checked the packages are loaded dynamically
runtime (and not built into the EXE). Unchecking it means "build exe
with static packages" so every app you compile has its own package included.

> When I uncheck this option, I get a compiler error "edbcomps.dcu not found".  When I add this file in the search path, I get the compiler error "edbtype.dcu not found", and I can't find this file, nor edbtype.pas...

Since you are using a trial you must use runtime packages. See :
http://www.elevatesoft.com/supportfaq?action=view&category=edb&question=edb_vcl_trial_versions

Full purchased version does not have this limitation.

Raul
Tue, Jun 4 2013 12:59 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Koen,

<< I just discovered that the option "Build with runtime packages" does the
opposite of what it says; it builds the exe WITHOUT the runtime packages
linked. Very confusing! >>

No, the dialog is correct - when it is checked, it means that you will be
using runtime packages instead of having the code directly linked into the
resulting .exe.

<< When I uncheck this option, I get a compiler error "edbcomps.dcu not
found".  When I add this file in the search path, I get the compiler error
"edbtype.dcu not found", and I can't find this file, nor edbtype.pas... >>

As Raul indicated, you can't do this with the trial:

http://www.elevatesoft.com/supportfaq?action=view&category=edb&question=edb_vcl_trial_versions

If you have any other questions, please let me know.

Tim Young
Elevate Software
www.elevatesoft.com
Page 1 of 2Next Page »
Jump to Page:  1 2
Image