rill hehai zhang

Best Regards/
Health, Safety, & Environment
Rill Hehai Zhang (张河海)
--------------------
Sibelco Shanghai Minerals Co., Ltd
矽比科(上海)矿业有限公司
----------------------------------
E-mail: [email protected]
Tel: +86 21 5784 4333 - 122( Office)
Cell phone: +86 1370 1982 750 
Fax: +86 21 5784 3847
-----------------------------------
No.28, guinan Rd, LiTaHui Sonjiang District,Shanghai
上海市松江区李塔汇贵南路28号(201617)
------------------------------------



"[email protected]" <[email protected]> 
Sent by: [email protected]
2011-07-28 14:18

To
"etotheipi" <[email protected]>, "cryptopp-users" 
<[email protected]>
cc

Subject
Re:Cannot compile in MSVS 2010






Did you added "using namespace ....;"?

----- Reply message -----
发件人: "etotheipi" <[email protected]>
日期: 周四, 7 月 28 日, 2011 年 10:27
主题: Cannot compile in MSVS 2010
收件人: <[email protected]>


I have been working with C++ and MSVS for years, and I have spent three 
hours
trying everything to get SHA256 working in my project, and it's driving me
nuts!  I have imported cryptolib.vcxproj into MSVS as a separate project,
and then in my source code I have: 

...
#include "sha.h"
...
static void getHash(uint8_t* msg, uint8_t* hashOut)
{
   resize(hashOut, 32);
   SHA256().CalculateDigest(hashOut, msg, HEADER_SIZE); 
}
...


I keep getting the "SHA256: identifier not found".  I have tried
because it can't find sha.h (so I know it wants it), I have tried all 
kinds
of settings, dependencies, library extra directories, forward 
declarations,
etc.  I have even tried removing the project entirely and putting all the
Crypto++ source and headers directly into my own project.  I *still* get 
the
same error.  I must be doing something very stupid... please tell me 
someone
has seen this before and has a 1-line answer for me!


-- 
View this message in context: 
http://old.nabble.com/Cannot-compile-in-MSVS-2010-tp32153370p32153370.html
Sent from the Crypto++ Users mailing list archive at Nabble.com.

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



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

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

Reply via email to