Install Hydra 6.5.0.1295 - Delphi 11.1

I am getting an error while installing Hydra into Delphi 11.1 Here is the build log:

=======================================================================

RemObjects Train — log file for C:\Program Files (x86)\RemObjects Software\Build\c_HY.train

Error Summary:

script(C:\Program Files (x86)\RemObjects Software\Build\c_HY.train) (took 6s)

function buildHydraDelphiEdition(28) (took 6s)

function buildHydraDelphiProject(28, Core, linux64) (took 3s)

delphi.build(C:\Program Files (x86)\RemObjects Software\Hydra for Delphi/Source/Hydra_Core_D28.dpk, {“delphi”:“28”,“platform”:“linux64”,“destinationFolder”:“C:\Program Files (x86)\RemObjects Software\Hydra for Delphi/Dcu/D28/linux64”,“unitSearchPath”:“$(BDSLIB)/$(Platform)/Release;$(BDSLIB)/$(Platform)/Debug;$(BDS)/Bin;C:\Program Files (x86)\RemObjects Software\Hydra for Delphi/Dcu/D28/linux64;$(Everwood)/Bin;C:\Program Files (x86)\RemObjects Software\RemObjects SDK for Delphi/Dcu/D28/linux64;C:\Program Files (x86)\RemObjects Software\Hydra for Delphi/Source”,“dcuDestinationFolder”:“C:\Program Files (x86)\RemObjects Software\Hydra for Delphi/Dcu/D28/linux64”,“includeSearchPath”:“C:\Program Files (x86)\RemObjects Software\RemObjects SDK for Delphi/Source;C:\Program Files (x86)\RemObjects Software\Hydra for Delphi/Source”,“conditionalDefines”:[“DESIGNTIME”],“updateVersionInfo”:{“version”:“6.5.0.1295”,“fileVersion”:“6.5.0.1295”,“productName”:“RemObjects Hydra for Delphi”,“company”:“RemObjects Software, LLC”,“legalCopyright”:“Copyright RemObjects Software, 2002-2022. All rights reserved”}}) (took 3s)

Hydra.Core.ComModule.pas(7) Fatal: F2613 Unit ‘System.Win.ComObj’ not found.

Delphi failed

[:arrow_up_down:]
script(C:\Program Files (x86)\RemObjects Software\Build\c_HY.train) (took 6s)

[:arrow_up_down:]
include(c_EW.train) (took 0s)
[:arrow_up_down:]
function buildHydraDelphiEdition(28) (took 6s)

folder.create($(Hydra)/Dcu/D28) (took 0s)

folder.create($(Hydra)/Dcu/D28/win32) (took 0s)
[:arrow_up_down:]
function buildHydraDelphiProject(28, Core, win32) (took 0s)
[:arrow_up_down:]
function buildHydraDelphiProject(28, VCL, win32) (took 0s)

function (28) (took 0s)
[:arrow_up_down:]
function buildHydraDelphiProject(28, FMX, win32) (took 0s)

function (28) (took 0s)

folder.create($(Hydra)/Dcu/D28/win64) (took 0s)
[:arrow_up_down:]
function buildHydraDelphiProject(28, Core, win64) (took 0s)
[:arrow_up_down:]
function buildHydraDelphiProject(28, VCL, win64) (took 0s)

function (28) (took 0s)
[:arrow_up_down:]
function buildHydraDelphiProject(28, FMX, win64) (took 0s)

function (28) (took 0s)

folder.create($(Hydra)/Dcu/D28/linux64) (took 0s)
[:arrow_up_down:]
function buildHydraDelphiProject(28, Core, linux64) (took 3s)

function (28) (took 0s)

function (28) (took 0s)

folder.create(C:\Program Files (x86)\RemObjects Software\Hydra for Delphi/Dcu/D28/linux64) (took 0s)

function defaultDelphiSearchDir(28, linux64, False) (took 0s)

function getCopyrightString(2002) (took 0s)
[:arrow_up_down:]
delphi.build(C:\Program Files (x86)\RemObjects Software\Hydra for Delphi/Source/Hydra_Core_D28.dpk, {“delphi”:“28”,“platform”:“linux64”,“destinationFolder”:“C:\Program Files (x86)\RemObjects Software\Hydra for Delphi/Dcu/D28/linux64”,“unitSearchPath”:“$(BDSLIB)/$(Platform)/Release;$(BDSLIB)/$(Platform)/Debug;$(BDS)/Bin;C:\Program Files (x86)\RemObjects Software\Hydra for Delphi/Dcu/D28/linux64;$(Everwood)/Bin;C:\Program Files (x86)\RemObjects Software\RemObjects SDK for Delphi/Dcu/D28/linux64;C:\Program Files (x86)\RemObjects Software\Hydra for Delphi/Source”,“dcuDestinationFolder”:“C:\Program Files (x86)\RemObjects Software\Hydra for Delphi/Dcu/D28/linux64”,“includeSearchPath”:“C:\Program Files (x86)\RemObjects Software\RemObjects SDK for Delphi/Source;C:\Program Files (x86)\RemObjects Software\Hydra for Delphi/Source”,“conditionalDefines”:[“DESIGNTIME”],“updateVersionInfo”:{“version”:“6.5.0.1295”,“fileVersion”:“6.5.0.1295”,“productName”:“RemObjects Hydra for Delphi”,“company”:“RemObjects Software, LLC”,“legalCopyright”:“Copyright RemObjects Software, 2002-2022. All rights reserved”}}) (took 3s)

Building: C:\Program Files (x86)\RemObjects Software\Hydra for Delphi\Source\Hydra_Core_D28.dpk

Running: C:\Program Files (x86)\Embarcadero\Studio\22.0\Bin\dcclinux64.exe “C:\Program Files (x86)\RemObjects Software\Hydra for Delphi\Source\Hydra_Core_D28.dpk” -Q -B -D"DESIGNTIME" -NO"C:\Program Files (x86)\RemObjects Software\Hydra for Delphi\Dcu\D28\linux64" -N0"C:\Program Files (x86)\RemObjects Software\Hydra for Delphi\Dcu\D28\linux64" -LE"C:\Program Files (x86)\RemObjects Software\Hydra for Delphi\Dcu\D28\linux64" -LN"C:\Program Files (x86)\RemObjects Software\Hydra for Delphi\Dcu\D28\linux64" -E"C:\Program Files (x86)\RemObjects Software\Hydra for Delphi\Dcu\D28\linux64" -I"C:\Program Files (x86)\RemObjects Software\RemObjects SDK for Delphi\Source;C:\Program Files (x86)\RemObjects Software\Hydra for Delphi\Source" -U"C:\Program Files (x86)\Embarcadero\Studio\22.0\Lib\linux64\Release;C:\Program Files (x86)\Embarcadero\Studio\22.0\Lib\linux64\Debug;C:\Program Files (x86)\Embarcadero\Studio\22.0\Bin;C:\Program Files (x86)\RemObjects Software\Hydra for Delphi\Dcu\D28\linux64;C:\Program Files (x86)\RemObjects Software\Everwood\Bin;C:\Program Files (x86)\RemObjects Software\RemObjects SDK for Delphi\Dcu\D28\linux64;C:\Program Files (x86)\RemObjects Software\Hydra for Delphi\Source;C:\Program Files (x86)\RemObjects Software\Hydra for Delphi\Source"

Hydra.Core.ComModule.pas(7) Fatal: F2613 Unit ‘System.Win.ComObj’ not found.

Embarcadero Delphi for Linux 64 bit compiler version 35.0
Copyright (c) 1983,2022 Embarcadero Technologies, Inc.
Hydra.Core.ComModule.pas(7) Fatal: F2613 Unit ‘System.Win.ComObj’ not found.

Delphi failed

I removed the Linux 64-bit target during install and got the same error with the OSX 64-bit platform.

Win32/Win64 worked fine.

Did not try the OSX ARM 64-bit platform.

Curious. this is not a known issue, but I’m not surprised that System.Win.ComObj doesn’t exist for the non-Windows platforms; the question is why is it trying to link it in, if it doesn’t…

Are you ok for now with “just” the Windows packages, or do yo need Linux or macOS? Unfortunately, my colleague Eugene, who would be the best to address this, is off for a well-deserved vacation this week…

I would like the Linux and macOS stuff, but am fine with just Windows for now.

1 Like

Okay. hopefully, Eugene can sort this out, when he’s back next week. :crossed_fingers:t3:

Thanks

1 Like

Hi,

pls update Hydra.Core.ComModule.pas as

...
interface
{$IFDEF MSWINDOWS} //<-- added
..
{$ENDIF}           //<-- added
implementation
{$IFDEF MSWINDOWS} //<-- added
...
{$ENDIF}           //<-- added
end.

it will solve compiling under linux platform.

1 Like

Hi Evgeny,

Just checking, so you want me to ifdef all of the code in that file, correct?

This should also fix compiling for macOS, correct?

Thanks.

Hi,

yep. this code is designed only for windows platform

1 Like