[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openssl-users
Subject:    Problems compiling with VC++ 5 (errors in objidl.h)
From:       Stuart Adamson <stuart.adamson () evolution-plc ! com>
Date:       2000-05-31 15:50:57
[Download RAW message or body]

Hi,

My dev system is  Windows NT (SP 6a) and  Microsoft Visual C++ V5.0.
Using openssl-0.9.5a.tar.gz

I'm having problems intergrating SSL into an app that I've written.
Without even calling any SSL functions, just including the headers

#include <openssl/rsa.h>
#include <openssl/crypto.h>
#include <openssl/x509.h>
#include <openssl/pem.h>
#include <openssl/ssl.h>
#include <openssl/err.h>

I get the following errors when attempting to compile (SSLNetwork.cpp is the
file with the #include statements in)


SSLNetwork.cpp
C:\Program Files\DevStudio\VC\INCLUDE\objidl.h(622) : error C2059: syntax
error : '('
C:\Program Files\DevStudio\VC\INCLUDE\objidl.h(622) : error C2062: type
'void' unexpected
C:\Program Files\DevStudio\VC\INCLUDE\objidl.h(622) : error C2501:
'CRYPTO_realloc' : missing decl-specifiers
C:\Program Files\DevStudio\VC\INCLUDE\objidl.h(622) : error C2059: syntax
error : '*'
C:\Program Files\DevStudio\VC\INCLUDE\objidl.h(622) : error C2143: syntax
error : missing ';' before '*'
C:\Program Files\DevStudio\VC\INCLUDE\objidl.h(622) : error C2501: 'pv' :
missing decl-specifiers
C:\Program Files\DevStudio\VC\INCLUDE\objidl.h(622) : error C2062: type
'int' unexpected
SSLNetwork.cpp(76) : fatal error C1004: unexpected end of file found



Any thoughts?



Stuart
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majordomo@openssl.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic