compile error

View: New views
2 Messages — Rating Filter:   Alert me  

compile error

by ek3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


hi,

i am using crypto++, but there are errors on compile time within the
includes.

i think any problems with the project settings. i am using vc++ 2003
and debug mode with no changes i think.

there are no changes make, only clean includes from the 5.6.0 package.

i have no idea, what is the problem. may any missing include?



### build log ###

c:\stuff\gaming\libraries\cryptopp\strciphr.h(83) : error C2143:
syntax error : missing ',' before 'constant'
c:\stuff\gaming\libraries\cryptopp\strciphr.h(85) : error C2504:
'BASE' : base class undefined
        c:\stuff\gaming\libraries\cryptopp\strciphr.h(96) : see
reference to class template instantiation
'CryptoPP::AdditiveCipherConcretePolicy<WT,__formal>' being compiled
c:\stuff\gaming\libraries\cryptopp\strciphr.h(176) : error C2143:
syntax error : missing ',' before 'constant'
c:\stuff\gaming\libraries\cryptopp\strciphr.h(178) : error C2504:
'BASE' : base class undefined
        c:\stuff\gaming\libraries\cryptopp\strciphr.h(231) : see
reference to class template instantiation
'CryptoPP::CFB_CipherConcretePolicy<WT,__formal>' being compiled



### used source ###

  #pragma comment(lib, "cryptlib.lib")
  #pragma comment(lib, "cryptopp.lib")

  #include <cryptlib.h>
  using CryptoPP::Exception;

  #include <aes.h>
  using CryptoPP::AES;

  #include <ccm.h>
  using CryptoPP::ECB_Mode;



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users" Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscribe@....
More information about Crypto++ and this group is available at http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---


Re: compile error

by Jeffrey Walton-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


>  i have no idea, what is the problem. may any missing include?
Are the Crypto++ headers and library on path?

On 6/13/09, ek3 <marcel.schneider.de@...> wrote:

>
>  hi,
>
>  i am using crypto++, but there are errors on compile time within the
>  includes.
>
>  i think any problems with the project settings. i am using vc++ 2003
>  and debug mode with no changes i think.
>
>  there are no changes make, only clean includes from the 5.6.0 package.
>
>  i have no idea, what is the problem. may any missing include?
>
> [SNIP]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users" Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscribe@....
More information about Crypto++ and this group is available at http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---