mace-opensaml-users - Compiling under with msvc 7.0
Subject: OpenSAML user discussion
List archive
- From:
- To:
- Subject: Compiling under with msvc 7.0
- Date: Tue, 06 Jan 2004 00:04:54 +0000
Hi!
I just recently downloaded OpenSAML and was hoping to use the functionality
provided in my own project, however I've run into an issue with VC 7.0. I
was hoping maybe some folks on the mailing list could shed some light here.
The SAML library itself compiles fine, but any other project that includes
the saml.h header file will return the following errors (basically, when
SAML_EXPORTS is defined as __declspec(dllimport) )
opensaml\c\saml\saml.h(184) : error C2491: 'saml::Iterator<T>::__ctor' :
definition of dllimport function not allowed
opensaml\c\saml\saml.h(189) : error C2491: 'saml::Iterator<T>::__ctor' :
definition of dllimport function not allowed
opensaml\c\saml\saml.h(194) : error C2491: 'saml::Iterator<T>::hasNext' :
definition of dllimport function not allowed
opensaml\c\saml\saml.h(199) : error C2491: 'saml::Iterator<T>::next' :
definition of dllimport function not allowed
opensaml\c\saml\saml.h(204) : error C2491: 'saml::Iterator<T>::size' :
definition of dllimport function not allowed
opensaml\c\saml\saml.h(209) : error C2491: 'saml::Iterator<T>::reset' :
definition of dllimport function not allowed
opensaml\c\saml\saml.h(216) : error C2491: 'saml::ArrayIterator<T>::__ctor' :
definition of dllimport function not allowed
This even occurs with the included signtest program. Anyone have suggestions?
- Compiling under with msvc 7.0, roykim, 01/05/2004
- RE: Compiling under with msvc 7.0, Scott Cantor, 01/05/2004
- RE: Compiling under with msvc 7.0, Scott Cantor, 01/05/2004
- <Possible follow-up(s)>
- RE: Compiling under with msvc 7.0, roykim, 01/05/2004
- RE: Compiling under with msvc 7.0, Scott Cantor, 01/05/2004
- RE: Compiling under with msvc 7.0, Scott Cantor, 01/05/2004
Archive powered by MHonArc 2.6.16.