You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Meng Zhou (JIRA)" <ji...@apache.org> on 2018/03/21 19:38:00 UTC

[jira] [Commented] (PROTON-1802) Proton 0.21.0 does not compile on Windows with openssl enabled

    [ https://issues.apache.org/jira/browse/PROTON-1802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16408469#comment-16408469 ] 

Meng Zhou commented on PROTON-1802:
-----------------------------------

I can work around this by adding 

static void initialize(void);
BOOL CALLBACK InitHandleFunction(PINIT_ONCE, PVOID, PVOID *) {
 initialize();
 return TRUE;
}

 

and change line 34 from 

#define _WIN32_WINNT 0x0501

to 

#define _WIN32_WINNT 0x0600

> Proton 0.21.0 does not compile on Windows with openssl enabled
> --------------------------------------------------------------
>
>                 Key: PROTON-1802
>                 URL: https://issues.apache.org/jira/browse/PROTON-1802
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>    Affects Versions: proton-c-0.21.0
>            Reporter: Meng Zhou
>            Priority: Major
>
> I am using
> OpenSSL 1.1.0-stable
> qpid-proton-0.21.0
> Visual Studio 2015
> When I set SSL_IMPL=openssl the compiler report 
> openssl.c
> \qpid-proton-0.21.0\proton-c\src\ssl\openssl.c(1540): error C2065: 'initialize': undeclared identifier
> \qpid-proton-0.21.0\proton-c\src\ssl\openssl.c(1540): error C3861: 'InitOnceExecuteOnce': identifier not found



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org