[PyKDE] PyQt 3.7 - build error under borland bcc 5.5

Andrew Smart Andrew.Smart at smart-knowhow.de
Mon Jul 7 13:22:01 BST 2003


Hi folks,

if I try to build PyQt 3.7 under borland BCC 5.5 I get:

Error E2303 c:\Borland\Bcc55\include\objidl.h 560: Type name expected
Error E2139 c:\Borland\Bcc55\include\objidl.h 560: Declaration missing ;
Error E2293 c:\Borland\Bcc55\include\objidl.h 2295: ) expected
Error E2293 c:\Borland\Bcc55\include\objidl.h 2299: ) expected
Error E2293 c:\Borland\Bcc55\include\objidl.h 2306: ) expected
Error E2303 c:\Borland\Bcc55\include\objidl.h 2501: Type name expected
Error E2303 c:\Borland\Bcc55\include\objidl.h 2514: Type name expected
Error E2303 c:\Borland\Bcc55\include\objidl.h 2539: Type name expected
Error E2303 c:\Borland\Bcc55\include\objidl.h 3489: Type name expected
Error E2303 c:\Borland\Bcc55\include\objidl.h 3494: Type name expected
Error E2303 c:\Borland\Bcc55\include\objidl.h 3882: Type name expected
Error E2303 c:\Borland\Bcc55\include\objidl.h 3896: Type name expected
Error E2303 c:\Borland\Bcc55\include\objidl.h 4039: Type name expected
Error E2303 c:\Borland\Bcc55\include\objidl.h 4131: Type name expected
Error E2303 c:\Borland\Bcc55\include\objidl.h 4333: Type name expected
Error E2139 c:\Borland\Bcc55\include\objidl.h 4333: Declaration missing ;
Error E2303 c:\Borland\Bcc55\include\objidl.h 4848: Type name expected
Error E2139 c:\Borland\Bcc55\include\objidl.h 4848: Declaration missing ;
Error E2257 c:\Borland\Bcc55\include\objidl.h 4853: , expected
Error E2303 c:\Borland\Bcc55\include\objidl.h 4889: Type name expected
Error E2303 c:\Borland\Bcc55\include\objidl.h 4896: Type name expected
Error E2303 c:\Borland\Bcc55\include\objidl.h 5179: Type name expected
Error E2303 c:\Borland\Bcc55\include\objidl.h 5195: Type name expected
Error E2293 c:\Borland\Bcc55\include\objidl.h 5362: ) expected
Error E2293 c:\Borland\Bcc55\include\objidl.h 5366: ) expected

My build environment:

set qmakespec=win32-borland
set include=c:\borland\bcc55\include
set lib=c:\borland\bcc55\lib

What's wrong? I compared the corresponding structure 

typedef struct _COSERVERINFO
    {
    DWORD dwReserved1;
    LPWSTR pwszName;
    COAUTHINFO __RPC_FAR *pAuthInfo;
    DWORD dwReserved2;
    }	COSERVERINFO;

with the one of the Microsoft Developer Studio. It's the same text.

Since I'm not a compiler guru I don't know how to go further.

Regards,
Andrew




More information about the PyQt mailing list