EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Just downloaded SFTP client, problem building samples

Also by EldoS: Solid File System
A virtual file system that offers a feature-rich storage for application documents and data with built-in compression and encryption.
#15260
Posted: 12/09/2010 09:13:45
by Avital Spivak (Priority Standard support level)
Joined: 12/09/2010
Posts: 3

I have downloaded and installed the SBB SFTP client package, ActiveX.

When trying to compile the SimpleSftpDemo I get the following error:

...\VC\SBB8\SFTPBlackbox\Client\SimpleSFTPClient\SimpleSftpDemoDlg.h(12) : fatal error C1083: Cannot open include file: 'SBB/SFTPBBoxCli8.h': No such file or directory

And indeed there is not such directory.

I found the file 'SFTPBBoxCli8.h' under the wrappers folder, created a folder 'SBB' and copied it there.

Now I get the following errors: (I'm pasting only the first few lines, the rest is the same with various identifiers.)

SimpleSFTPClient\sbb\SFTPBBoxCli8.h(4053) : error C2061: syntax error : identifier 'IElSubsystemSSHTunnelX'
SimpleSFTPClient\sbb\SFTPBBoxCli8.h(4056) : error C2061: syntax error : identifier 'IElSubsystemSSHTunnelX'
SimpleSFTPClient\sbb\SFTPBBoxCli8.h(4222) : error C2061: syntax error : identifier 'IElStringListX'
SimpleSFTPClient\sbb\SFTPBBoxCli8.h(4226) : error C2061: syntax error : identifier 'IElStringListX'
SimpleSFTPClient\sbb\SFTPBBoxCli8.h(4282) : error C2061: syntax error : identifier 'IElStringListX'
SimpleSFTPClient\sbb\SFTPBBoxCli8.h(4288) : error C2061: syntax error : identifier 'IElStringListX'
SimpleSFTPClient\sbb\SFTPBBoxCli8.h(5491) : error C2061: syntax error : identifier 'IElSubsystemSSHTunnelX'
SimpleSFTPClient\sbb\SFTPBBoxCli8.h(5503) : error C2061: syntax error : identifier 'IElSubsystemSSHTunnelX'
SimpleSFTPClient\sbb\SFTPBBoxCli8.h(6020) : error C2061: syntax error : identifier 'IElStringListX'

________________________________________

My environment:
Windows XP pro
MS Visual C++ .NET 2003

My need: To add SFTP ability to my C++ code.

I have search the site for similar problems, but haven't found any.


Thanks for your help,
Avital
#15261
Posted: 12/09/2010 09:39:38
by Ken Ivanov (EldoS Corp.)

Thank you for contacting us.

You did everything right (the header files should have been manually copied to the folder of the sample).

Please add the below #include statements at the top of SFTPBBoxCli8.h file to overcome the problem:

#include "BaseBBox8.h"
#include "SSHBBoxCli8.h"
#15262
Posted: 12/09/2010 09:49:05
by Avital Spivak (Priority Standard support level)
Joined: 12/09/2010
Posts: 3

Added the includes, definitely better now. The current errors are:

SimpleSftpDemoDlg.cpp
WINVER not defined. Defaulting to 0x0501 (Windows XP and Windows .NET Server)
d:\dcc\SecureBlackbox\Samples\VC\SBB8\SFTPBlackbox\Client\SimpleSFTPClient\sbb\BaseBBox8.h(11843) : error C2504: 'IElKeyMaterialX' : base class undefined
d:\dcc\SecureBlackbox\Samples\VC\SBB8\SFTPBlackbox\Client\SimpleSFTPClient\SimpleSftpDemoDlg.cpp(946) : warning C4345: behavior change: an object of POD type constructed with an initializer of the form () will be default-initialized
d:\dcc\SecureBlackbox\Samples\VC\SBB8\SFTPBlackbox\Client\SimpleSFTPClient\SimpleSftpDemoDlg.cpp(979) : warning C4800: 'VARIANT_BOOL' : forcing value to bool 'true' or 'false' (performance warning)
SimpleSftpDemo.cpp
WINVER not defined. Defaulting to 0x0501 (Windows XP and Windows .NET Server)
d:\dcc\SecureBlackbox\Samples\VC\SBB8\SFTPBlackbox\Client\SimpleSFTPClient\sbb\BaseBBox8.h(11843) : error C2504: 'IElKeyMaterialX' : base class undefined
DlgProxy.cpp
WINVER not defined. Defaulting to 0x0501 (Windows XP and Windows .NET Server)
d:\dcc\SecureBlackbox\Samples\VC\SBB8\SFTPBlackbox\Client\SimpleSFTPClient\sbb\BaseBBox8.h(11843) : error C2504: 'IElKeyMaterialX' : base class undefined
Generating Code...

Build log was saved at "file://d:\dcc\SecureBlackbox\Samples\Vc\Sbb8\SFTPBlackbox\Client\SimpleSFTPClient\Debug\BuildLog.htm"
SimpleSftpDemo - 3 error(s), 2 warning(s)

____________________________

Thanks,
Avital
#15263
Posted: 12/09/2010 09:51:54
by Ken Ivanov (EldoS Corp.)

The above issues are caused by known compiler bug. Please follow the steps explained in the FAQ article to resolve the problem.
#15264
Posted: 12/09/2010 09:57:40
by Avital Spivak (Priority Standard support level)
Joined: 12/09/2010
Posts: 3

Excellent. Done. Thanks.
Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.

Reply

Statistics

Topic viewed 1608 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!