Page 1 of 1

Installation Failed

Posted: Thu Jul 27, 2023 6:48 am
by 18696322
Acquired TeeGrid. I downloaded two versions of the installer: 1.12 Binary and 1.11 Source. None of them could be installed. The text of the log is as follows:

"===============================================
TeeGrid
Compilation started: 26.07.2023 13:10:46

Win32 v28 (Delphi 11 and C++Builder 11 Update 3)
TeeGrid
Embarcadero Delphi for Win32 compiler version 35.0
Copyright (c) 1983,2022 Embarcadero Technologies, Inc.
17766 lines, 0.08 seconds, 158768 bytes code, 332 bytes data.
--------------------------------------------------------------------------------
VCLTeeGrid
Embarcadero Delphi for Win32 compiler version 35.0
Copyright (c) 1983,2022 Embarcadero Technologies, Inc.
9608 lines, 0.20 seconds, 124980 bytes code, 384 bytes data.
--------------------------------------------------------------------------------
DclVCLTeeGrid
Embarcadero Delphi for Win32 compiler version 35.0
Copyright (c) 1983,2022 Embarcadero Technologies, Inc.
782 lines, 0.14 seconds, 19464 bytes code, 216 bytes data.
--------------------------------------------------------------------------------
FMXTeeGrid
Embarcadero Delphi for Win32 compiler version 35.0
Copyright (c) 1983,2022 Embarcadero Technologies, Inc.
4529 lines, 0.17 seconds, 59372 bytes code, 284 bytes data.
--------------------------------------------------------------------------------
DclFMXTeeGrid
Embarcadero Delphi for Win32 compiler version 35.0
Copyright (c) 1983,2022 Embarcadero Technologies, Inc.
633 lines, 0.23 seconds, 17756 bytes code, 220 bytes data.
--------------------------------------------------------------------------------
TeeGrid Installation
VERSION: 2021
Installing...
Win32 v28 (Delphi 11 and C++Builder 11 Update 3) OK. Time: 1s
================================================================================
Win64 v28 (Delphi 11 and C++Builder 11 Update 3)
TeeGrid
Embarcadero Delphi for Win64 compiler version 35.0
Copyright (c) 1983,2022 Embarcadero Technologies, Inc.
17766 lines, 0.16 seconds, 241676 bytes code, 19304 bytes data.
--------------------------------------------------------------------------------
VCLTeeGrid
Embarcadero Delphi for Win64 compiler version 35.0
Copyright (c) 1983,2022 Embarcadero Technologies, Inc.
9608 lines, 0.27 seconds, 190924 bytes code, 12108 bytes data.
--------------------------------------------------------------------------------
FMXTeeGrid
Embarcadero Delphi for Win64 compiler version 35.0
Copyright (c) 1983,2022 Embarcadero Technologies, Inc.
4529 lines, 0.22 seconds, 101004 bytes code, 6064 bytes data.
--------------------------------------------------------------------------------
TeeGrid Installation
VERSION: 2021
Installing...
Win64 v28 (Delphi 11 and C++Builder 11 Update 3) OK. Time: 1s
================================================================================
Mac OSX64 v28 (Delphi 11 and C++Builder 11 Update 3)
TeeGrid

Cannot recompile Delphi package: TeeGrid.dpk
Embarcadero Delphi for Mac OS X 64 bit compiler version 35.0
Copyright (c) 1983,2022 Embarcadero Technologies, Inc.
Linker command line: "C:\Program Files (x86)\Embarcadero\Studio\22.0\bin\ld.exe" -arch x86_64 -o C:\Work\Components\TG\Sources\..\Compiled\Delphi28.osx64\System\bplTeeGrid28.dylib -e __ZN7Teegrid14initializationEv -dead_strip -dead_strip_dylibs -mark_dead_strippable_dylib -exported_symbols_list C:\Work\Components\TG\Sources\..\Compiled\Delphi28.osx64\System\TeeGrid.exp -dylib -export_dynamic -S -x -macosx_version_min 10.9 -F \System\Library\Frameworks -F \System\Library\PrivateFrameworks -L "C:\Program Files (x86)\Embarcadero\Studio\22.0\Lib\osx64\Release" -L "C:\Program Files (x86)\Embarcadero\Studio\22.0\Redist\osx64" -L C:\Work\Components\TG\Sources\Temp -rpath $ORIGIN -install_name @rpath/bplTeeGrid28.dylib -filelist C:\Work\Components\TG\Sources\..\Compiled\Delphi28.osx64\System\TeeGrid.lnk
Error: E2597 ld: warning: directory not found for option '-L/usr/lib'
ld: warning: directory not found for option '-F\System\Library\Frameworks'
ld: warning: directory not found for option '-F\System\Library\PrivateFrameworks'
ld: warning: directory not found for option '-F/System/Library/Frameworks/'
ld: file not found: /usr/lib/libiconv.dylib
Fatal: F2588 Linker error code: 1 ($00000001)
EXCEPTION:
Compilation aborted.
--------------------------------------------
"

Re: Installation Failed

Posted: Thu Jul 27, 2023 7:06 am
by yeray
Hello,

That error, which occurs when trying to compile for Mac OSX 64, indicates that no SDK has been found for that platform. Please note that the Mac OSX compiler requires the SDK. Therefore, you need to connect to a macOS device and download the SDK from it as explained here.

Re: Installation Failed

Posted: Thu Jul 27, 2023 7:18 am
by 18696322
What if I don't have a MACOS device? And I'm not going to develop applications for it? What if I only need Linux and Windows? I in this case cannot use this grid at all? By the way, I tried to manually set only those platforms that I need during installation. The installer allows it, but the result does not change

Re: Installation Failed

Posted: Thu Jul 27, 2023 8:27 am
by yeray
Hello,

The TeeGridRecompile.exe utility shipped with the sources version allows you to only select windows platforms and build for them.

TeeGridRecompile_2023-07-27_10-26-16.png
TeeGridRecompile_2023-07-27_10-26-16.png (45.84 KiB) Viewed 30352 times

The binary version shouldn't be trying to recompile anything so you shouldn't be getting that error with it.

Re: Installation Failed

Posted: Thu Jul 27, 2023 9:04 am
by 18696322
Version 1.12 binary. Only Windows32, Windows64 and Linux64 selected. By the way, I do not have Lazarus in the list of selectable environments and platforms, although I have two versions installed - 32-x and 64-bit

===============================================
TeeGrid
Compilation started: 27.07.2023 12:01:22

Win32 v28 (Delphi 11 and C++Builder 11 Update 3)
TeeGrid
Embarcadero Delphi for Win32 compiler version 35.0
Copyright (c) 1983,2022 Embarcadero Technologies, Inc.
C:\Work\Components\TG\Sources\Tee.Grid.Rows.pas(832) Hint: H2164 Variable 'cIdx' is declared but never used in 'PaintColumn'
C:\Work\Components\TG\Sources\Tee.Grid.Rows.pas(833) Hint: H2164 Variable 'col' is declared but never used in 'PaintColumn'
C:\Work\Components\TG\Sources\Tee.Grid.Rows.pas(836) Hint: H2164 Variable 'tmpFormat' is declared but never used in 'PaintColumn'
C:\Work\Components\TG\Sources\Tee.Grid.Rows.pas(1193) Hint: H2164 Variable 'i' is declared but never used in 'TRows.Paint'
18129 lines, 0.09 seconds, 162956 bytes code, 332 bytes data.
--------------------------------------------------------------------------------
VCLTeeGrid
Embarcadero Delphi for Win32 compiler version 35.0
Copyright (c) 1983,2022 Embarcadero Technologies, Inc.
9633 lines, 0.23 seconds, 125064 bytes code, 384 bytes data.
--------------------------------------------------------------------------------
DclVCLTeeGrid
Embarcadero Delphi for Win32 compiler version 35.0
Copyright (c) 1983,2022 Embarcadero Technologies, Inc.
782 lines, 0.19 seconds, 19464 bytes code, 216 bytes data.
--------------------------------------------------------------------------------
FMXTeeGrid
Embarcadero Delphi for Win32 compiler version 35.0
Copyright (c) 1983,2022 Embarcadero Technologies, Inc.
4548 lines, 0.25 seconds, 59468 bytes code, 284 bytes data.
--------------------------------------------------------------------------------
DclFMXTeeGrid
Embarcadero Delphi for Win32 compiler version 35.0
Copyright (c) 1983,2022 Embarcadero Technologies, Inc.
633 lines, 0.25 seconds, 17756 bytes code, 220 bytes data.
--------------------------------------------------------------------------------
TeeGrid Installation
VERSION: 2022
Installing...
Win32 v28 (Delphi 11 and C++Builder 11 Update 3) OK. Time: 2s
================================================================================
Win64 v28 (Delphi 11 and C++Builder 11 Update 3)
TeeGrid
Embarcadero Delphi for Win64 compiler version 35.0
Copyright (c) 1983,2022 Embarcadero Technologies, Inc.
C:\Work\Components\TG\Sources\Tee.Grid.Rows.pas(832) Hint: H2164 Variable 'cIdx' is declared but never used in 'PaintColumn'
C:\Work\Components\TG\Sources\Tee.Grid.Rows.pas(833) Hint: H2164 Variable 'col' is declared but never used in 'PaintColumn'
C:\Work\Components\TG\Sources\Tee.Grid.Rows.pas(836) Hint: H2164 Variable 'tmpFormat' is declared but never used in 'PaintColumn'
C:\Work\Components\TG\Sources\Tee.Grid.Rows.pas(1193) Hint: H2164 Variable 'i' is declared but never used in 'TRows.Paint'
18129 lines, 0.16 seconds, 248540 bytes code, 19768 bytes data.
--------------------------------------------------------------------------------
VCLTeeGrid
Embarcadero Delphi for Win64 compiler version 35.0
Copyright (c) 1983,2022 Embarcadero Technologies, Inc.
9633 lines, 0.30 seconds, 191084 bytes code, 12124 bytes data.
--------------------------------------------------------------------------------
FMXTeeGrid
Embarcadero Delphi for Win64 compiler version 35.0
Copyright (c) 1983,2022 Embarcadero Technologies, Inc.
4548 lines, 0.31 seconds, 101180 bytes code, 6080 bytes data.
--------------------------------------------------------------------------------
TeeGrid Installation
VERSION: 2022
Installing...
Win64 v28 (Delphi 11 and C++Builder 11 Update 3) OK. Time: 1s
================================================================================
Linux 64 v28 (Delphi 11 and C++Builder 11 Update 3)
TeeGrid

Cannot recompile Delphi package: TeeGrid.dpk
Embarcadero Delphi for Linux 64 bit compiler version 35.0
Copyright (c) 1983,2022 Embarcadero Technologies, Inc.
C:\Work\Components\TG\Sources\Tee.Grid.Rows.pas(832) Hint: H2164 Variable 'cIdx' is declared but never used in 'PaintColumn'
C:\Work\Components\TG\Sources\Tee.Grid.Rows.pas(833) Hint: H2164 Variable 'col' is declared but never used in 'PaintColumn'
C:\Work\Components\TG\Sources\Tee.Grid.Rows.pas(836) Hint: H2164 Variable 'tmpFormat' is declared but never used in 'PaintColumn'
C:\Work\Components\TG\Sources\Tee.Grid.Rows.pas(1193) Hint: H2164 Variable 'i' is declared but never used in 'TRows.Paint'
Linker command line: "C:\Program Files (x86)\Embarcadero\Studio\22.0\bin\ld-linux.exe" -o C:\\Work\\Components\\TG\\Sources\\..\\Compiled\\Delphi28.linux64\\System\\bplTeeGrid28.so -e _ZN7Teegrid14initializationEv --gc-sections --version-script C:\\Work\\Components\\TG\\Sources\\..\\Compiled\\Delphi28.linux64\\System\\TeeGrid.vsr -shared --no-undefined --export-dynamic -z noexecstack -z relro --build-id --eh-frame-hdr -m elf_x86_64 --dynamic-linker /lib64/ld-linux-x86-64.so.2 -s --sysroot "C:\\Users\\Sergey A. Guralnik\\Documents\\Embarcadero\\Studio\\SDKs\\ubuntu22.04.sdk" -L "C:\\Program Files (x86)\\Embarcadero\\Studio\\22.0\\Lib\\linux64\\Release" -L "C:\\Program Files (x86)\\Embarcadero\\Studio\\22.0\\Redist\\linux64" -L C:\\Work\\Components\\TG\\Sources\\Temp -L "C:\\Users\\Sergey A. Guralnik\\Documents\\Embarcadero\\Studio\\SDKs\\ubuntu22.04.sdk\\usr\\lib\\gcc\\x86_64-linux-gnu\\9" -L "C:\\Users\\Sergey A. Guralnik\\Documents\\Embarcadero\\Studio\\SDKs\\ubuntu22.04.sdk\\usr\\lib\\x86_64-linux-gnu" -L "C:\\Users\\Sergey A. Guralnik\\Documents\\Embarcadero\\Studio\\SDKs\\ubuntu22.04.sdk\\lib\\x86_64-linux-gnu" @C:\\Work\\Components\\TG\\Sources\\..\\Compiled\\Delphi28.linux64\\System\\TeeGrid.lnk -lgcc_s -lrtlhelper_PIC -lc -ldl -lpthread -l:bplrtl280.so -l:bpldbrtl280.so -rpath $ORIGIN
Error: E2597 C:\Program Files (x86)\Embarcadero\Studio\22.0\bin\ld-linux.exe: error: cannot find -lgcc_s
C:\Program Files (x86)\Embarcadero\Studio\22.0\Lib\linux64\Release\SysInit.o:SysInit:function Sysinit::__dbk_fcall_wrapper(): error: undefined reference to '_Unwind_Resume'
C:\Work\Components\TG\Compiled\Delphi28.linux64\Lib\Tee.Format.o:Tee.Format:function Tee::Format::TPersistentChange::TPersistentChange(void (* __closure)(System::TObject*)): error: undefined reference to '_Unwind_Resume'
C:\Work\Components\TG\Compiled\Delphi28.linux64\Lib\Tee.Format.o:Tee.Format:function Tee::Format::TVisiblePersistentChange::TVisiblePersistentChange(void (* __closure)(System::TObject*)): error: undefined reference to '_Unwind_Resume'
C:\Work\Components\TG\Compiled\Delphi28.linux64\Lib\Tee.Format.o:Tee.Format:function Tee::Format::TGradient::TGradient(void (* __closure)(System::TObject*)): error: undefined reference to '_Unwind_Resume'
Fatal: F2588 Linker error code: 1 ($00000001)
EXCEPTION:
Compilation aborted.
--------------------------------------------

Re: Installation Failed

Posted: Thu Jul 27, 2023 9:19 am
by yeray
Hello,
S_Gur wrote:
Thu Jul 27, 2023 9:04 am
Linux 64 v28 (Delphi 11 and C++Builder 11 Update 3)
TeeGrid

Cannot recompile Delphi package: TeeGrid.dpk
Embarcadero Delphi for Linux 64 bit compiler version 35.0
This time the error is when building for linux.

Please, select Win32 and Win64 only in TeeGridRecompile, not Linux.
When it finishes, open the IDE and add the "Sources\FMX" to the "Library path" for the "Linux 64-bit" platform, in a similar way as below:

Image

Re: Installation Failed

Posted: Thu Jul 27, 2023 9:40 am
by 18696322
Thanks, it worked. True, I did not understand what the problem with Linux is - there are all the necessary libraries for it. And the problem with Lazarus remains open - TeeGridRecompile.exe does not see it

Re: Installation Failed

Posted: Mon Jul 31, 2023 8:35 am
by yeray
Hello,
S_Gur wrote:
Thu Jul 27, 2023 9:40 am
I did not understand what the problem with Linux is - there are all the necessary libraries for it
Same for us here. We haven't found a way to make the compilation command (which works in the IDE) to work in TeeGridRecompile.
S_Gur wrote:
Thu Jul 27, 2023 9:04 am
By the way, I do not have Lazarus in the list of selectable environments and platforms, although I have two versions installed - 32-x and 64-bit
S_Gur wrote:
Thu Jul 27, 2023 9:40 am
And the problem with Lazarus remains open - TeeGridRecompile.exe does not see it
To detect Lazarus, TeeGridRecompile searches for the following key in the registry:

Code: Select all

HKEY_CLASSES_ROOT\Lazarus.AssocFile.pp\Shell\Open\Command
Can you please check if you have that key?