Unable to find static library sbridge100.lib

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
dbwi
Posts: 4
Joined: Fri 19 Sep 2014 19:39

Unable to find static library sbridge100.lib

Post by dbwi » Fri 19 Sep 2014 20:27

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?

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Unable to find static library sbridge100.lib

Post by ViktorV » Tue 23 Sep 2014 12:35

Please change the reference in the BDS2006.bdsproj file from sbridge100 to sbridge150.

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Unable to find static library sbridge100.lib

Post by ViktorV » Tue 23 Sep 2014 12:35

Please change the reference in the BDS2006.bdsproj file from sbridge100 to sbridge150.

dbwi
Posts: 4
Joined: Fri 19 Sep 2014 19:39

Re: Unable to find static library sbridge100.lib

Post by dbwi » Tue 23 Sep 2014 14:48

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. :oops:

Thanks again for any help!

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Unable to find static library sbridge100.lib

Post by ViktorV » Wed 01 Oct 2014 08:52

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.

dbwi
Posts: 4
Joined: Fri 19 Sep 2014 19:39

Re: Unable to find static library sbridge100.lib

Post by dbwi » Wed 01 Oct 2014 22:26

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);

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Unable to find static library sbridge100.lib

Post by ViktorV » Thu 02 Oct 2014 10:00

For successful compilation, add a string #include "WinSock.hpp" to ScSSHSocket.hpp, and replace PSockAddr with PSOCKADDR in the SSHClientDemo.срр and SSHClientDemo.h units.

Post Reply