On Monday, October 21, 2013 6:53:20 AM UTC-4, Nick de Smith wrote: > > Further to this - is there ANY guide ANYWHERE on how to get 5.6.2 Cryptopp > linked with /MD[d] ? > Config.h has the following. See http://www.cryptopp.com/docs/ref/config_8h_source.html.
#if defined(CRYPTOPP_WIN32_AVAILABLE) || defined(CRYPTOPP_UNIX_AVAILABLE) # define HIGHRES_TIMER_AVAILABLE #endif Can you ensure HIGHRES_TIMER_AVAILABLE is defined with your modifications? hrtimer.cpp includes some code blocks based on the macro CRYPTOPP_IMPORTS. See http://www.cryptopp.com/docs/ref/hrtimer_8cpp_source.html. #ifndef CRYPTOPP_IMPORTS double TimerBase::ConvertTo(TimerWord t, Unit unit) { static unsigned long unitsPerSecondTable[] = {1, 1000, 1000*1000, 1000*1000*1000}; return (double)CRYPTOPP_VC6_INT64 t * unitsPerSecondTable[unit] / CRYPTOPP_VC6_INT64 TicksPerSecond(); } … #endif // CRYPTOPP_IMPORTS I don't have a Windows machine handy, so I can't test the effects of defining and undefining it. Can you verify the code block is being used with your modifications? Jeff -- -- 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 Google Groups "Crypto++ Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
