Page 1 of 1
Unable to find static library sbridge100.lib
Posted: Fri 19 Sep 2014 20:27
by dbwi
I just downloaded and installed SecureBridge 6.3 for RAD Studio XE (I have C++ Builder XE on Win7) and I am trying to build the DEMO project in the CBuilder folder, which is named BDS2006.cbproj (an SSH Client demo app).
I immediately run into an error from XE that state it is "Unable to find static library: sbridge100.lib".
I have checked the project options and the project does have the proper Include and Library paths to those folders where SecureBridge was installed on my PC ...
C:\Program Files (x86)\Devart\SecureBridge for RAD Studio XE\Include
-and-
C:\Program Files (x86)\Devart\SecureBridge for RAD Studio XE\Lib
... but the error persists.
Also, I cannot find sbridge100.lib anywhere on my hard drive. But, I do see sbridge150.lib in the Lib folder.
What am I doing wrong?
Re: Unable to find static library sbridge100.lib
Posted: Tue 23 Sep 2014 12:35
by ViktorV
Please change the reference in the BDS2006.bdsproj file from sbridge100 to sbridge150.
Re: Unable to find static library sbridge100.lib
Posted: Tue 23 Sep 2014 12:35
by ViktorV
Please change the reference in the BDS2006.bdsproj file from sbridge100 to sbridge150.
Re: Unable to find static library sbridge100.lib
Posted: Tue 23 Sep 2014 14:48
by dbwi
Ok, thanks for that, it cleared that error, however I then ran into these ...
[BCC32 Error] SSHClientDemo.h(113): E2303 Type name expected ... for this ...
void WriteLog(String Event, PSockAddr SockAddr);
... and ...
[BCC32 Error] SSHClientDemo.cpp(365): E2303 Type name expected ... for ...
void TDemoForm::WriteLog(String Event, PSockAddr SockAddr)
... so I changed those lines to this ...
void WriteLog(String Event, PSOCKADDR SockAddr);
... and ...
void TDemoForm::WriteLog(String Event, PSOCKADDR SockAddr)
... but now I get the following error ...
[ILINK32 Error] Error: Unresolved external '__fastcall Scsshsocket::TIPEndPoint::TIPEndPoint(sockaddr *)' referenced from C:\USERS\DBWI\DOCUMENTS\SECUREBRIDGE FOR RAD STUDIO XE\DEMOS\CBUILDER\SSHCLIENTDEMO.OBJ
... am I missing an Include and/or a Library from my project ??
Sorry if I missing something obvious here , I am not an experienced programmer.
Thanks again for any help!
Re: Unable to find static library sbridge100.lib
Posted: Wed 01 Oct 2014 08:52
by ViktorV
The new SecureBridge version 6.4.6 with fixed error is available for download now.
Please install it and try to build the CBuilder\BDS2006.cbproj project.
Re: Unable to find static library sbridge100.lib
Posted: Wed 01 Oct 2014 22:26
by dbwi
FYI, I downloaded and installed sbridge15.exe for version 6.4.6 ...
I once again ran into this -> "Unable to find static library: sbridge100.lib"
... I did modify my BDS2003.bdsproj file and that resolved that error, but now I also see ...
[BCC32 Error] ScSSHSocket.hpp(76): E2090 Qualifier 'Winsock' is not a class or namespace name
[BCC32 Error] ScSSHSocket.hpp(76): E2040 Declaration terminated incorrectly
... for this in ScSSHSocket.hpp ... in class PASCALIMPLEMENTATION IPAddress
public:
__fastcall IPAddress(Winsock::PSockAddrIn SockAddr);
... and in class PASCALIMPLEMENTATION TIPEndPoint
public:
__fastcall TIPEndPoint(Winsock::PSockAddrIn SockAddr);
Re: Unable to find static library sbridge100.lib
Posted: Thu 02 Oct 2014 10:00
by ViktorV
For successful compilation, add a string #include "WinSock.hpp" to ScSSHSocket.hpp, and replace PSockAddr with PSOCKADDR in the SSHClientDemo.срр and SSHClientDemo.h units.