EldoS | Feel safer!

Software components for data protection, secure storage and transfer


Posted: 09/05/2014 04:22:42
by Pierre Malhaire (Basic support level)
Joined: 09/05/2014
Posts: 1

is there a version of cbfs compiled with mingw-w64, the given version in the archive uses mingw32,

Posted: 09/05/2014 05:31:35
by Eugene Mayevski (Team)

The licensed version of CBFS comes with the source code of user-mode APIs . This lets one compile the API for mingw-w64. We have several customers doing exactly this, so we know that the code can be compiled and used with minGW-w64.

There's no technical possibility for us to build such library due to technical limitations of minGW.

Sincerely yours
Eugene Mayevski
Posted: 06/23/2016 04:54:02
by Traum Lou (Standard support level)
Joined: 01/28/2014
Posts: 8

which version can mingw-w64 use? I try to compile it, but has some error:

g++ -c -I.. -I../../umode/cbfsapi -I../../kmode/inc -I../../kmode/icache -I../../../DriverLibraries/DrvSupLib/ -I../../umode/cbfsapi -I../../../DriverLibraries/StorLib/umode -I../../../DriverLibraries/UcbLib/umode -I../../../DriverLibraries/EventLog/umode -D_REENTRANT -D_THREAD_SAFE -D_UNICODE -DUNICODE -Wno-write-strings -fpermissive ../../../DriverLibraries/DrvSupLib/install.c
In file included from c:/Qt/qt-5.4.2-x64-mingw510r0-seh-rev0/mingw64/x86_64-w64-mingw32/include/oledlg.h:25:0,
from c:/Qt/qt-5.4.2-x64-mingw510r0-seh-rev0/mingw64/x86_64-w64-mingw32/include/setupapi.h:27,
from ../../../DriverLibraries/DrvSupLib/drvsupstd.h:48,
from ../../../DriverLibraries/DrvSupLib/install.c:9:
c:/Qt/qt-5.4.2-x64-mingw510r0-seh-rev0/mingw64/x86_64-w64-mingw32/include/commdlg.h:576:53: error: expected class-name before '{' token
DECLARE_INTERFACE_(IPrintDialogCallback,IUnknown) {
c:/Qt/qt-5.4.2-x64-mingw510r0-seh-rev0/mingw64/x86_64-w64-mingw32/include/commdlg.h:589:53: error: expected class-name before '{' token
DECLARE_INTERFACE_(IPrintDialogServices,IUnknown) {
c:/Qt/qt-5.4.2-x64-mingw510r0-seh-rev0/mingw64/x86_64-w64-mingw32/include/commdlg.h:622:5: error: 'LPUNKNOWN' does not name a type
LPUNKNOWN lpCallback;
c:/Qt/qt-5.4.2-x64-mingw510r0-seh-rev0/mingw64/x86_64-w64-mingw32/include/commdlg.h:646:5: error: 'LPUNKNOWN' does not name a type
LPUNKNOWN lpCallback;

my gcc version is 5.1.0 and the cbfs version is 5.1

the mingw-w64 version can be download from:

and choose:
Posted: 06/23/2016 10:06:42
by Eugene Mayevski (Team)

The error is deep in MinGW files, so we can hardly say anything productive about it. We provide the makefile for Win32 and I believe, that the same file should work for 64-bit version as well -- no settings in that file would be relevant to the problem that you have reported. We never built CBFS API with 64-bit MinGW.

So I think that you need to search or ask in MinGW discussion places - all in all, it's the error in their file.

Sincerely yours
Eugene Mayevski



Topic viewed 4954 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!