On Monday, February 20, 2017 at 2:19:52 PM UTC-5, pdoh...@cipherloc.net 
wrote:
>
> I am back again with an issue on iOS that only seems to be affecting 
> devices and not the simulator.  I did not have access to a device until 
> this point so it went unnoticed.  I can build the library with no compiler 
> issues but when I try to run it on a device(this one is arm64 architecture) 
> I get an error of unreferenced symbols on two functions out of the bench 
> object file.  The functions are BenchmarkAll2(double,double) and 
> GlobalRNG().  We are running with version 5.6.5 of cryptopp on xcode 8 in 
> an objective c program.  Any ideas or possible a hint as to where we should 
> look would be much appreciated.
>

It sounds like you are including test files in your library build. The 
library should *not* include:

* validate.h
* bench.h

* test.cpp
* bench1.cpp, bench2.cpp
* validat0.cpp validat1.cpp validat2.cpp validat3.cpp
* datatest.cpp
* regtest.cpp
* fipsalgt.cpp
* dlltest.cpp
 
I've been meaning to investigate moving them into a Test namespace 
(CryptoPP::Test). We've got a major change coming up for the next release, 
so now would be a good time to do it.

If interested in more of the details, GlobalRNG() is declared in 
validate.h, and it is defined in test.cpp. It is used by the validation and 
test routines. The output artifact for validation and test is cryptest.exe.

Jeff

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com.
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 cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to