Hi, I've just reinstalled the TMS VCL UI Pack 13.5.4.2 using TMS Smart Setup and now the TWebCopy component doesn't build. E.g just drop the component onto the main form of a new project, and it gives the following error:
[ilink32 Error] Fatal: Unable to open file 'LIBSSH2.LIB'
It builds fine when the same version of the UI Pack is installed with the standalone installer.
This is using the classic compiler in C++ Builder 12.3.
Can this be a case-sensitivity issue?
Isn't the file libssh2.lib installed on your system?
Yes it is but the path is not put into the IDE correctly.
When installing with Smart Setup, libssh2.dll is found in:
C:\Users\Robin\AppData\Local\TMS Setup\Products\tms.vcl.uipack
but in the IDE the only folder given is:
C:\Users\Robin\AppData\Local\TMS Setup\Products\tms.vcl.uipack\packages\d12\Win32\Release
When installing from the standalone installer then two paths are set in the IDE, the first of which is where the DLL resides:
$(TMSREG)\TMS VCL UI Pack
$(TMSREG)\TMS VCL UI Pack\Builder12\Win32\Release
For now, copy the .lib files to this Release subfolder.
We'll investigate to adapt this at smart setup installer level.
They just create a link, they can link any file, to any place.
also understand Bruno doesn't have a different
libssh2.lib
file for each different C++ Builder version. It's just a single one.
.
Yes, you would link that single file to all folders. No big problem there.
if my understandings are correct, all it takes is to move (or copy)
libssh2.lib
to a separatedlib
folder and ask Smart Setup to add such folder to Delphi library path:
I think that's ok too. It does add an extra library path, but as long as it doesn't add the root to the library path, it is fine. The problem is that if we move that file, it might break the old installers. So maybe copy it, or even do a file links
from \libssh2.lib
to lib
, then add \lib
to extra library paths.