EldoS | Feel safer!

Software components for data protection, secure storage and transfer

[C++] Error in sbcore.h Header File

Posted: 07/09/2013 02:36:39
by Moon Set (Basic support level)
Joined: 07/09/2013
Posts: 3

Hi, I have just build and link to my project the static secureBlackBox librrary as descriped on the "First Step" of the web site documentaion, However I got a run time error once I include any header file in my project. It says that:
"error: expected ')' before '*' token"
in the sbcore.h file.

and It points this error to these line:
typedef int32_t (SB_CALLBACK * TSBCallbackStreamReadFunc)(void * Buffer, int32_t Count, void * Data);
typedef int32_t (SB_CALLBACK * TSBCallbackStreamWriteFunc)(void * Buffer, int32_t Count, void * Data);
typedef int64_t (SB_CALLBACK * TSBCallbackStreamSeekFunc)(int64_t Offset, uint16_t Origin, void * Data);

If any one can help me to solve this problem.
Posted: 07/09/2013 02:44:34
by Vsevolod Ievgiienko (Team)

Thank you for contacting us.

Please try to include "sball.h" header instead of "sbcore.h".
Posted: 07/09/2013 02:53:18
by Moon Set (Basic support level)
Joined: 07/09/2013
Posts: 3

In fact I didn't include "sbcore.h" file, I have now just included only "sball.h" file but it gave the same error pointed to "sbcore.h" file and not only one orrer but more than 23000 error! I think if the errors related to "sbcore.h" file are solved the others will disapear.
Posted: 07/09/2013 02:56:10
by Vsevolod Ievgiienko (Team)

What SecureBlackbox version (10 or 11) and IDE do you use?
Posted: 07/09/2013 03:01:21
by Moon Set (Basic support level)
Joined: 07/09/2013
Posts: 3

The latest one. And I am using Qt Environment for qt and c++ development in ubuntu. It uses gcc compiler
Posted: 07/09/2013 03:45:17
by Mykola Olshevsky (Basic support level)
Joined: 07/07/2005
Posts: 442

Hi. Please check gcc compiler switches regarding C++ language mode. Most likely headers are processed in C language mode or somthing like this.



Topic viewed 991 times

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


Back to top

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

Got it!