Сompilation error

16 views
Skip to first unread message

gilgameshfreedom

unread,
May 2, 2012, 6:13:47 AM5/2/12
to Crypto++ Users
Hello, everyone!

I'm installed cryptopp library 5.6.1-4 version on Arch Linux. If i try
add any header file in my code, for example, #include <cryptopp/sha.h>
and compile the program, i get the error.

[gilgamesh@gilgamesh mac1]$ g++ ./MAC.cpp -o ./Mac
In file included from /usr/include/cryptopp/secblock.h:7:0,
from /usr/include/cryptopp/iterhash.h:5,
from /usr/include/cryptopp/sha.h:4,
from ./MAC.cpp:16:
/usr/include/cryptopp/misc.h:111:32: error: macro "F" requires 3
arguments, but only 1 given
/usr/include/cryptopp/misc.h:111:30: error: expected primary-
expression at end of input

Does anyone know how to fix it?

With regards,
Korostelev Anatoliy

Reply all
Reply to author
Forward
0 new messages