TurboPack / Orpheus

Orpheus is an award-winning UI toolkit for Embarcadero Delphi & C++Builder
Other
98 stars 36 forks source link

Can't compile in C++Builder Alexandria #31

Open SCCOBN opened 2 years ago

SCCOBN commented 2 years ago

So what I'm doing... From C++Builder IDE

  1. Open OrpheusCD build and install it... Works. I can see design time components installed.
  2. Open OrpheusCR build 32-bit. Works. 2.a. Build 64-bit. Fails!

Error I'm getting is -- [ilink64 Error] Error: Could not write to C:\LIB\ORPHEUS\PACKAGES\ALEXANDRIA\CPP\WIN64\RELEASE\OVCRTF_RICHOLE.O (error code 5)

romankassebaum commented 2 years ago

I'm not a C++ specialist. I have no idea why this happens.

SCCOBN commented 2 years ago

I have no idea why this happens.

Well.... Okey. Let's figure it out with your help them.

Tell me please. OrpheusCD is compiled and installed before OrpheusCR is build? Correct? OrpheusCR should be build for both 32 and 64 bits? Correct?

romankassebaum commented 2 years ago

It is vice versa. The OrpheusCR is the runtime package, whereas OrpheusCD is a designtime package. The designtime package uses the runtime package. Since the Delphi IDE is a 32 bit application the designtime package is always a 32 bit package.

In the Delphi world the 64 bit runtime package is only used for so called packaged applications. More than 99% of the applications are not packaged applications so that is is unlikely that someone needs a 64 bit runtime package in Delphi.

SCCOBN commented 2 years ago

You have problems with your package. It does not install, neither from GetIt nor from gethub. It does not compile in C++Builder 64-bits and thus can only be used as 32-bit...

I as a consumer can only skip your product and say no to it. If you can't figure out this basic thing, that means your entire code is buggy.

ovcRTF_RichOle.pas you using 32-bit code for active-x that's why it won't build in 64-bits.

So your product is not fit to use. I'm going to skip it.

romankassebaum commented 2 years ago

This is not my lib. It has been developed many years ago by a company called TurboPower which published the source code after they closed.

I just checked and I can easily compile and install it inside the C++Builder. Please consider that you only have to compile the 32 bit version for installing inside the IDE.

And certainly you can skip whatever you want. This library should be used for legacy code. Projects that have originally been written many years ago so that they can be compiled with current versions of RAD Studio.